About 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

About VLAN Mapping

Command
Step 4
Switch(config-if)# switchport mode
dot1q-tunnel
Step 5
Switch(config-if)# exit
Step 6
Switch(config)# vlan dot1q tag
native
Step 7
Switch(config)# end
Step 8
Switch# show dot1q-tunnel
Step 9
Switch# show vlan dot1q tag native
Step 10
Switch# copy running-config
startup-config
Use the no vlan dot1q tag native global command and the no switchport mode dot1q-tunnel interface
configuration command to return the port to the default state of dynamic auto. Use the no vlan dot1q
tag native global configuration command to disable tagging of native VLAN packets.
This example shows how to configure an interface as a tunnel port, enable tagging of native VLAN
packets, and verify the configuration. In this configuration, the VLAN ID for the customer connected to
Gigabit Ethernet interface 2/7 is VLAN 22.
Switch(config)# interface gigabitethernet2/7
Switch(config-if)# switchport access vlan 22
% Access VLAN does not exist. Creating vlan 22
Switch(config-if)# switchport mode dot1q-tunnel
Switch(config-if)# exit
Switch(config)# vlan dot1q tag native
Switch(config)# end
Switch# show dot1q-tunnel interface gigabitethernet2/7
Port
-----
LAN Port(s)
-----
Gi2/7
Switch# show vlan dot1q tag native
dot1q native vlan tagging is enabled globally
About VLAN Mapping
WS-C4948-10GE does not support VLAN mapping. VLAN mapping is only supported on Supervisor
Note
Engine 6-E and later engines.
In a typical deployment of VLAN mapping, you want the service provider to provide a transparent
switching infrastructure that treats customers' switches at the remote location as a part of the local site.
This allows customers to use the same VLAN ID space and run Layer 2 control protocols seamlessly
across the provider network. In such scenarios, we recommend that service providers do not impose their
VLAN IDs on their customers.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
30-6
Chapter 30
Configuring 802.1Q Tunneling, VLAN Mapping, and Layer 2 Protocol Tunneling
Purpose
Sets the interface as an 802.1Q tunnel port.
Returns to global configuration mode.
(Optional) Sets the switch to enable tagging of native VLAN packets on
all 802.1Q trunk ports. When not set, and a customer VLAN ID is the
same as the native VLAN, the trunk port does not apply a metro tag, and
packets could be sent to the wrong destination.
Returns to privileged EXEC mode.
Displays the tunnel ports on the switch.
Displays 802.1Q native-VLAN tagging status.
(Optional) Saves your entries in the configuration file.

Advertisement

Table of Contents
loading

Table of Contents