Switchport Vlan Mapping - Cisco Catalyst 4500 Series Configuration Manual

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2

switchport vlan mapping

To configure VLAN mapping on a trunk port, including one-to-one VLAN mapping, traditional IEEE 802.1Q
tunneling (Q-in-Q) mapping, and selective Q-in-Q mapping, use the switchport vlan mapping interface
configuration command. To disable configuration, use the no form of the command.
Syntax Description
original-vlan-id
translated-id
dot1q-tunnel
outer vlan-id
default
drop
all
Command Default
No VLAN mapping is configured.
Command Modes
Interface configuration
Command History
Release
IOS 12.2(54)SG
3.8.0E and 15.2.(4)E
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.
switchport vlan mapping original-vlan-id {translated-id | dot1q tunnel outer vlan-id} | default
{dot1q tunnel outer vlan-id | drop}
no switchport vlan mapping original-vlan-id {translated-id | dot1q tunnel outer vlan-id} |
default {dot1q tunnel outer vlan-id | drop}
no switchport vlan mapping all
Specifies the original (customer) VLAN or C-VLANs IDs, also known as
the VLAN on the wire, for one-to-one or selective Q-in-Q 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 VLAN ID range is
from 1 to 4094.
The translated VLAN-ID (S-VLAN ID) that is 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 this
keyword for traditional Q-in-Q mapping.
Specifies default behavior for all the packets in the port.
Specifies that all the packets in the port be dropped if they do not match
the mapped VLAN IDs.
In the no switchport vlan mapping command, this keyword specifies that
all VLAN mapping configurations on the interface are deleted.
(
config-if)
Modification
This command was introduced on the Catalyst 4500 Series switch.
The no switchport vlan mapping default drop command was added.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
switchport vlan mapping
2-1127

Advertisement

Table of Contents
loading

Table of Contents