Understanding Native VLAN 1 in Mesh Ethernet Bridging

Slide Note
Embed
Share

Mesh Ethernet bridging utilizes native VLAN 1 for the initial configuration, ensuring the RAP connects to the native VLAN ID 1 on a switch. This setup affects the communication between the RAP and the Map devices, as well as their connection to the controller. Misconfigurations related to VLAN tagging and native VLAN can lead to unstable connectivity and spanning tree issues. Proper configuration is essential to maintain a stable network environment.


Uploaded on Sep 07, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. Mesh Ethernet Bridging: Why Native Vlan 1?

  2. The mesh config and deployment guides state: The RAP must always connect to the native VLAN ID 1 on a switch. The RAP's primary Ethernet interface is by default the native VLAN of 1. http://www.cisco.com/en/US/docs/wireless/technology/mesh/7.0/design/guide/MeshAP_70.html#wp1749968 http://www.cisco.com/en/US/docs/wireless/controller/7.0MR1/configuration/guide/cg_mesh.html#wp1858032 Why does it matter? Let s closely and methodically look at an initial config with ethernet bridging with a single Rap and Map, both with an attached switch.

  3. New configuration. Rap and Map joined to WLC. Map child of Rap. Heres all weve done so far: configured Rap s switchport as mode trunk, native vlan 31 configured Map s switchport as mode trunk. No native vlan config, therefore native vlan is 1. Disabled Vlan transparent on the controller Enabled ethernet bridging on the rap and the map We intend to next configure the map s ethernet port for vlan tagging (trunk or access), but we re already broken. The key point is that upon enabling ethernet bridging on a Mesh AP, the initial ethernet interface mode is Normal. This mode behaves as if vlan transparent were enabled, and the native vlan of the Rap s switch port *is* forwarded out of the Map s ethernet interface untagged. 802.11a 5Ghz radio RAP MAP 1242-A 1242-B interface Gig0/5 switchport trunk encap dot1q switchport mode trunk switchport trunk native vlan 31 Fas0 Fas0 interface GigabitEthernet0/6 switchport trunk encapsulation dot1q switchport mode trunk Gig 0/6 G0/5 %SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 1 on GigabitEthernet0/5 VLAN31. %SPANTREE-2-BLOCK_PVID_PEER: Blocking GigabitEthernet0/5 on VLAN0001. Inconsistent peer vlan. %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking GigabitEthernet0/5 on VLAN0031. Inconsistent local vlan. 3560-B 3560-A G0/25 3560-A#sho span int gig 0/5 Vlan Role Sts Cost Prio.Nbr Type ------------------- ---- --- --------- -------- ------------- VLAN0001 Desg BKN*19 128.5 P2p *PVID_Inc VLAN0031 Desg BKN*19 128.5 P2p *PVID_Inc Port1 4400-A

  4. Since switch 3560-As native vlan 31 BPDU's are being received on switch 3560-Bs port untagged (which 3560-B expects to be Vlan 1), and vise versa, both switches will perpetually churn spanning tree state for the relevant vlans. The Rap and Map will sporadically drop and rejoin the controller. The AP s will intermittently display in the WLC s gui and appear configurable. During this unstable state, you may be able to configure the map s ethernet interface as a trunk, but the config will unlikely be applied if the Rap and or Map are in the process of losing connectivity due to the spanning tree misconfig. Although it appears as though you may have successfully configured the Map s ethernet interface as a trunk, it will likely lose connectivity to the controller, and return in Normal mode, which will continue the unstable state. interface Gig 0/5 switchport trunk encap dot1q switchport mode trunk switchport trunk native vlan 31 802.11a 5Ghz radio RAP MAP 1242-A 1242-B interface GigabitEthernet0/6 switchport trunk encapsulation dot1q switchport mode trunk Fas0 Fas0 Gig 0/6 G0/5 3560-B 3560-A %SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 1 on GigabitEthernet0/5 VLAN31. %SPANTREE-2-BLOCK_PVID_PEER: Blocking GigabitEthernet0/5 on VLAN0001. Inconsistent peer vlan. %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking GigabitEthernet0/5 on VLAN0031. Inconsistent local vlan. G0/25 Port1 4400-A 3560-A#sho span int gig 0/5 Vlan Role Sts Cost Prio.Nbr Type ------------------- ---- --- --------- -------- ------------- VLAN0001 Desg BKN*19 128.5 P2p *PVID_Inc VLAN0031 Desg BKN*19 128.5 P2p *PVID_Inc interface GigabitEthernet0/25 switchport trunk encap dot1q switchport mode trunk

  5. This condition is caused by the switches protective mechanism that detects the spanning tree BPDU vlan identifier is mismatched:

  6. To simplify and clarify this concept, lets see what happens when we take mesh out of the picture with the same switched topology same result. 802.11a 5Ghz radio RAP MAP 1242-A 1.1.1.66 1242-B 1.1.1.64 Fas0 Fas0 interface GigabitEthernet0/6 switchport trunk encapsulation dot1q switchport mode trunk G0/5 Gig 0/6 interface Gig0/5 switchport trunk encap dot1q switchport mode trunk switchport trunk native vlan 31 3560-A 3560-B %LINK-3-UPDOWN: Interface GigabitEthernet0/6, changed state to up %SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 31 on GigabitEthernet0/6 VLAN1. %SPANTREE-2-BLOCK_PVID_PEER: Blocking GigabitEthernet0/6 on VLAN0031. Inconsistent peer vlan. %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking GigabitEthernet0/6 on VLAN0001. Inconsistent local vlan. 3560-B#show span int gig 0/6 Vlan Role Sts Cost Prio.Nbr Type ------------------- ---- --- --------- -------- ------------- VLAN0001 Desg BKN*4 128.6 P2p *TYPE_Inc VLAN0031 Desg BKN*19 128.5 P2p *PVID_Inc %LINK-3-UPDOWN: Interface GigabitEthernet0/5, changed state to down %LINK-3-UPDOWN: Interface GigabitEthernet0/5, changed state to up %SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 1 on GigabitEthernet0/5 VLAN31. %SPANTREE-2-BLOCK_PVID_PEER: Blocking GigabitEthernet0/5 on VLAN0001. Inconsistent peer vlan. %SPANTREE-2-BLOCK_PVID_LOCAL: Blocking GigabitEthernet0/5 on VLAN0031. Inconsistent local vlan. 3560-A#sho span int gig 0/5 Vlan Role Sts Cost Prio.Nbr Type ------------------- ---- --- --------- -------- ------------------ VLAN0001 Desg BKN*4 128.5 P2p *PVID_Inc VLAN0031 Desg BKN*4 128.5 P2p Edge *PVID_Inc

  7. So how do we make this work? It s all about the conditions in place to cause the problem. As shown in the previous slide (back to back switch example), if we introduce the scenario in which both switches can communicate with each other, but with different native vlans, we re broken. Ways to make this work 1) Configure BPDU filtering on both switch ports 3560-A(config-if)#spanning-tree bpdufilter enable This command prevents a switchport from sending or processing received BPDU s, effectively disabling spanning tree. This allows the Rap and Map to stay up as the initial Vlan mismatched BPDU s won t be present to cause the spanning tree protective mechanism to kick in ( Broken , Type Inconsistent ). Use with caution. As long as there s not a back door path back to the switched network (e.g., another Map connected to the same switch), this shouldn t cause any problems. Once the Map s correct trunk configuration has been implemented via the controller, BPDU filtering can be disabled. As long as the administrator is certain that another map or other back door path to the switched network will exist, BPDU filtering could be left enabled (still probably not a good idea).

  8. Ways to make this work (continued) 2) Don t connect the Map via Ethernet until WLC configs are complete We won t run into the native vlan mismatch issue if the Map s ethernet interface is configured for trunk or access mode before connecting its switch. One key point is that with vlan transparent disabled, the Rap s native vlan traffic won t be forwarded out of any Map ethernet ports that are in trunk or access mode. Even with vlan transparent disabled, Map ethernet mode Normal (default) will forward untagged packets to and from the Mesh management vlan (e.g. the Rap s native vlan).

  9. Ways to make this work (continued) 3) Initially configure the same native vlan on both switches This will prevent the initial vlan mismatch/invalid BPDU issue, but once vlan tagging is configured on the map, the native vlan won t be forwarded out if it s port. This will likely cause confusion, as we ll now have separated instances of the same vlan. Initially configuring the same vlan will allow getting ethernet bridging configured on the raps and maps, but should be changed once the map has been configured correctly. 802.11a 5Ghz radio RAP MAP 1242-A 31.31.31.2 1242-B 31.31.31.3 interface Gig0/5 switchport trunk encap dot1q switchport mode trunk switchport trunk native vlan 31 Fas0 Fas0 interface Gig0/6 switchport trunk encap dot1q switchport mode trunk switchport trunk native vlan 31 Vlan 31 won t be forwarded out of the Map s port in trunk mode Can Ping Gig 0/6 G0/5 3560-B Vlan31 31.31.31.12 Vlan31 31.31.31.12 3560-A

Related


More Related Content