Specifications

8-9
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Software Configuration Guide, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter 8 Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling
Configuring VLAN Mapping
Configuring VLAN Mapping
Default VLAN Mapping Configuration, page 8-9
VLAN Mapping Configuration Guidelines, page 8-9
Configuring VLAN Mapping, page 8-9
Default VLAN Mapping Configuration
By default, no VLAN mapping is configured.
VLAN Mapping Configuration Guidelines
The Cisco MWR 2941 uses 802.1Q tunnel ports for both traditional and selective QinQ. VLAN
mapping is only supported on 802.1Q tunnel ports.
To avoid mixing customer traffic, when you configure traditional QinQ on a trunk port, you should
configure the service provider S-VLAN ID as an allowed VLAN on the trunk port.
When you configure selective QinQ to tunnel the traffic of two different customers on different
S-VLANs, if the native VLAN (VLAN 1) is on one of the selective QinQ interfaces, untagged CDP
and STP VLAN 1 packets are leaked to the other customer switches. The workaround is to use the
vlan dot1q tag native configuration command to configure the native VLAN ID on an interface
tunneling S-VLANs. For example, if you configured QinQ by entering the switchport vlan
mapping 1 500 command, you should also enter the vlan dot1q tag native command.
Configuring VLAN Mapping
These procedures show how to configure each type of VLAN mapping on trunk ports. To verify your
configuration, enter the show running-config interface privileged EXEC command with the interface
type number keyword. See the “Monitoring and Maintaining Tunneling and Mapping Status” section on
page 8-16 for the syntax of these commands. For more information about all commands in this section,
see the Cisco MWR 2941 Mobile Wireless Edge Router IOS Command Reference, Release 15.0(1)MR.
Configuring Traditional QinQ on an 802.1Q Tunnel Port
Beginning in privileged EXEC mode, follow these steps to configure VLAN mapping for traditional
QinQ on a tunnel port or tunneling by default. Configuring tunneling by default bundles all packets on
the port into the configured S-VLAN.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Enter interface configuration mode for the interface connected to the
service-provider network.
Step 3
switchport mode dot1q-tunnel Configure the interface as a 802.1q tunnel port.
Step 4
switchport access vlan vlan-id Specify an outer VLAN ID to assign to all packets on the switch port.
Step 5
end Return to privileged EXEC mode.