Prerequisites for VLAN Mapping
-
By default, no VLAN mapping is configured.
-
Ensure that you run the Network Advantage license. VLAN Mapping is supported only with the Network Advantage license level.
-
To process control traffic consistently, either enable Layer 2 protocol tunneling (recommended), as follows:
Applicable for C9500-12Q, C9500-16X, C9500-24Q, C9500-40X models of the Cisco Catalyst 9500 Series Switches. ! Device(config)# interface HundredGigE1/0/1 Device(config-if)# switchport mode access Device(config-if)# l2protocol-tunnel stp Device(config-if)# end Applicable for C9500-32C, C9500-32QC, C9500-48Y4C, and C9500-24Y4C models of the Cisco Catalyst 9500 Series Switches. Device(config)# interface HundredGigE1/0/1 Device(config-if)# switchport mode trunk Device(config-if)# switchport vlan mapping 20 300 Device(config-if)# l2protocol-tunnel stp Device(config-if)# end
or insert a BPDU filter for spanning tree, as follows:
! Device(config)# interface HundredGigE1/0/1 Device(config-if)# switchport mode trunk Device(config-if)# switchport vlan mapping 10 20 Device(config-if)# spanning-tree bpdufilter enable Device(config-if)# end