Switchport Vlan Mapping - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

switchport vlan mapping

switchport vlan mapping
Use the switchport vlan mapping interface configuration command to configure VLAN mapping on a trunk
port. You can configure one-to-one VLAN mapping, traditional IEEE 802.1Q tunneling (QinQ) mapping, or
selective QinQ mapping. Use the no form of the command to disable the configuration.
Syntax Description
vlan-id
translated-id
dot1q-tunnel
translated-id
all
Defaults
No VLAN mapping is configured.
Command Modes
Interface configuration
Command History
Release
12.2(54)SG
Usage Guidelines
Before configuring VLAN mapping on an interface, enter the switchport mode trunk interface
configuration command to configure the interface as a trunk port.
You can configure VLAN mapping on a physical interface or on a port channel of multiple interfaces
with the same configuration.
To configure one-to-one VLAN mapping, use the switchport vlan mapping vlan-id translated-id
command.
To avoid mixing customer traffic, when you configure traditional QinQ on a trunk port,you should use
Note
the switchport trunk allowed vlan vlan-id interface configuration command to configure the outer
VLAN ID (S-VLAN) as an allowed VLAN on the trunk port.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
2-1020
switchport vlan mapping vlan-id {translated-id | dot1q tunnel translated-id}
no switchport vlan mapping vlan-id {translated-id | dot1q tunnel translated-id}
no switchport vlan mapping all
Specifies the original (customer) VLAN or VLANs (C-VLANs), also
known as the VLAN on the wire, for one-to-one or selective QinQ
mapping. You can enter multiple VLAN IDs separated by a comma or a
series of VLAN IDs separated by a hyphen (for example 1,2,3-5). The
range is from 1 to 4094.
Specifies the translated VLAN-ID: the S-VLAN to be used in the service
provider network. The range is from 1 to 4094.
Adds a translated VLAN-ID to specify a VLAN tunnel (add an outer
S-VLAN tag). The range of the S-VLAN tag is 1 to 4094. Use these
keywords for traditional QinQ mapping.
In the no switchport vlan mapping command, specifies that all VLAN
mapping configurations on the interface are deleted.
Modification
This command was introduced on the Catalyst 4500 series switch.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
OL-25342 -01

Advertisement

Table of Contents
loading

Table of Contents