• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Native VLAN mismatch discover ed ! Giúp em

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Native VLAN mismatch discover ed ! Giúp em

    E đã cấu hình SW2(config)#switchport trunk native vlan 168 nhưng vẫn bị báo lỗi

    Đây là show 2 port (2 SW nối nhau thông qua port này)

    SW1#show interfaces gigabitEthernet 0/24 switchport
    Name: Gi0/24
    Switchport: Enabled
    Administrative Mode: stati
    Operational Mode: static access
    Administrative Trunking Encapsulation: dot1q
    Operational Trunking Encapsulation: native
    Negotiation of Trunking: Off
    Access Mode VLAN: 168 (VLAN0168)
    Trunking Native Mode VLAN: 168 (VLAN0168)
    Administrative Native VLAN tagging: enabled
    Voice VLAN: none
    Administrative private-vlan host-association: none
    Administrative private-vlan mapping: none
    Administrative private-vlan trunk native VLAN: none
    Administrative private-vlan trunk Native VLAN tagging: enabled
    Administrative private-vlan trunk encapsulation: dot1q
    Administrative private-vlan trunk normal VLANs: none
    Administrative private-vlan trunk associations: none
    Administrative private-vlan trunk mappings: none
    Operational private-vlan: none
    Trunking VLANs Enabled: ALL
    Pruning VLANs Enabled: 2-1001
    Capture Mode Disabled
    Capture VLANs Allowed: ALL






    SW2#show interfaces gigabitEthernet 0/23 switchport
    Name: Gi0/23
    Switchport: Enabled
    Administrative Mode: dynamic auto
    Operational Mode: static access
    Administrative Trunking Encapsulation: dot1q
    Operational Trunking Encapsulation: native
    Negotiation of Trunking: On
    Access Mode VLAN: 1 (default)
    Trunking Native Mode VLAN: 1 (default)
    Administrative Native VLAN tagging: enabled
    Voice VLAN: none
    Administrative private-vlan host-association: none
    Administrative private-vlan mapping: none
    Administrative private-vlan trunk native VLAN: none
    Administrative private-vlan trunk Native VLAN tagging: enabled
    Administrative private-vlan trunk encapsulation: dot1q
    Administrative private-vlan trunk normal VLANs: none
    Administrative private-vlan trunk associations: none
    Administrative private-vlan trunk mappings: none
    Operational private-vlan: none
    Trunking VLANs Enabled: ALL
    Pruning VLANs Enabled: 2-1001
    Capture Mode Disabled
    Capture VLANs Allowed: ALL

  • #2
    Mình thấy đường link giữa SW1 và SW2 vẫn chưa là đường trunk mà (Operational mode: static access). Bạn gõ lệnh switchport mode trunk cho nó lên trunk đi.
    Last edited by Snajdan; 26-07-2013, 11:27 AM.

    Comment


    • #3
      Originally posted by Snajdan View Post
      Mình thấy đường link giữa SW1 và SW2 vẫn chưa là đường trunk mà (Operational mode: static access). Bạn gõ lệnh switchport mode trunk cho nó lên trunk đi.
      chỉ có 1 VLAN 168 đi qua thì cần gì trunk ah. E ko cấu hình trunk vẫn chạy mà. Mỗi tội có thông báo như trên

      Comment


      • #4
        Ko hiểu bạn cấu hình là đường access thì cần gì quan tâm đến native vlan nhỉ ? Nếu là đường access thì bạn nhớ cho port gi0/24 của SW1 và gi0/23 của SW2 thuộc cùng vlan. Mình thấy bạn đang cho SW1 access vlan 168 còn SW2 thì mặc định là đang access vlan 1 kìa. Cấu hình như vậy sẽ khiến traffic của vlan này bị leak sang vlan khác.

        Tóm lại là như thế này: Khi đường link giữa 2 switch là đường trunk, nhưng native vlan khác nhau => switch sẽ hiện thông báo native vlan mismatch, và khi show spanning-tree sẽ thấy port trunk bị broken. Switch làm vậy để tránh traffic của vlan này bị leak sang vlan khác. Khi đường link giữa 2 switch là access, nhưng lại access vlan khác nhau, thì traffic của vlan này cũng có thể bị leak sang vlan khác, nên switch cũng hiện thông báo native vlan mismatch. Bạn cho 2 port này access vlan giống nhau là được.
        Last edited by Snajdan; 26-07-2013, 03:43 PM.

        Comment


        • #5
          Originally posted by orpnv View Post
          chỉ có 1 VLAN 168 đi qua thì cần gì trunk ah. E ko cấu hình trunk vẫn chạy mà. Mỗi tội có thông báo như trên
          Đúng, bạn chỉ có nhu cầu cho cái vlan 168 của 2 switch thông với nhau, chỉ cần đường dây nối 1 access port của vlan 168 của sw1 vào 1 access port của vlan 168 của sw2. Do đó, không có lý do gì mà bạn phải đánh câu lệnh này: SW2(config)#switchport trunk native vlan 168 . Native vlan là khái niệm chỉ có trên đường trunk dùng chuẩn trunking IEEE 802.1q

          Comment

          Working...
          X