EasyManuals Logo

Cisco Catalyst 4500 Series Command Reference Guide

Cisco Catalyst 4500 Series
1230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1132 background imageLoading...
Page #1132 background image
2-1074
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
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.
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
Syntax Description
Defaults No VLAN mapping is configured.
Command Modes Interface configuration
Command History
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.
Note To avoid mixing customer traffic, when you configure traditional QinQ on a trunk port,you should use
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.
vlan-id 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.
translated-id Specifies the translated VLAN-ID: the S-VLAN to be used in the service
provider network. The range is from 1 to 4094.
dot1q-tunnel
translated-id
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.
all In the no switchport vlan mapping command, specifies that all VLAN
mapping configurations on the interface are deleted.
Release Modification
12.2(54)SG This command was introduced on the Catalyst 4500 series switch.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 4500 Series and is the answer not in the manual?

Cisco Catalyst 4500 Series Specifications

General IconGeneral
SeriesCatalyst 4500 Series
CategorySwitch
Layer SupportLayer 2, Layer 3
Form FactorModular chassis
StackableNo
Chassis Slots3, 6, 7, 10
Power Supply OptionsAC, DC
RedundancyPower supply, Supervisor engine
Network ManagementCisco IOS Software CLI, SNMP, Cisco Prime Infrastructure
FeaturesSecurity, QoS
Port DensityUp to 384 ports per chassis
Security Features802.1X, ACLs, DHCP Snooping, Dynamic ARP Inspection, IP Source Guard
Supervisor Engine8-E

Related product manuals