Configuring Vlan Mapping - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 30
Configuring 802.1Q Tunneling, VLAN Mapping, and Layer 2 Protocol Tunneling

Configuring VLAN Mapping

Default VLAN Mapping Configuration
By default, no VLAN mapping is configured.
VLAN Mapping Configuration Guidelines
Guidelines include the following:
Default VLAN Mapping Configuration, page 30-9
VLAN Mapping Configuration Guidelines, page 30-9
Configuring VLAN Mapping, page 30-10
Traditional QinQ uses 802.1Q tunnel ports; you configure one-to-one VLAN mapping and selective
QinQ on 802.1Q trunk ports.
To avoid mixing customer traffic, when you configure traditional Q-in-Q on a trunk port, you should
configure the service provider S-VLAN ID as an allowed VLAN on the trunk port.
When you configure VLAN mapping on an EtherChannel, the mapping applies to all ports in the
port channel.
You cannot configure encapsulation replicate on a SPAN destination port if the source port is
configured as a tunnel port or has a 1-to-2 mapping configured. Encapsulation replicate is supported
with 1-to-1 VLAN mapping.
When configuring IEEE 802.1Q tunneling on an edge switch, you must use IEEE 802.1Q trunk ports
for sending packets into the service-provider network. However, packets going through the core of
the service-provider network can be carried through IEEE 802.1Q trunks, ISL trunks, or
nontrunking links. When IEEE 802.1Q trunks are used in these core switches, the native VLANs of
the IEEE 802.1Q trunks must not match any native VLAN of the nontrunking (tunneling) port on
the same switch. it is because traffic on the native VLAN is not tagged on the IEEE 802.1Q sending
trunk port.
Ensure that the native VLAN for an IEEE 802.1Q trunk is the same on both ends of the trunk link.
If the native VLAN on one end of the trunk is different from the native VLAN on the other end,
spanning-tree loops might result.
Layer 2 protocol tunneling must be configured for CDP, VTP, LLDP, or your switch detects the SP
switches, which is not desirable:
interface GigabitEthernet1/23
switchport mode trunk
switchport vlan mapping 1 dot1q-tunnel 311
switchport vlan mapping 31 dot1q-tunnel 311
l2protocol-tunnel cdp
l2protocol-tunnel lldp
l2protocol-tunnel vtp
To process control traffic consistently, either enable Layer 2 protocol tunneling (recommended) or
insert a BPDU filter for spanning tree, as follows:
Current configuration : 153 bytes
!
interface FastEthernet9/1
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Configuring VLAN Mapping
30-9

Advertisement

Table of Contents
loading

Table of Contents