Switchport Vlan Mapping - Cisco Catalyst 3750 Metro Command Reference Manual

Hide thumbs Also See for Catalyst 3750 Metro:
Table of Contents

Advertisement

Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands

switchport vlan mapping

Use the switchport vlan mapping interface configuration command on an enhanced-services (ES) port
to map (or translate) customer VLANs to service-provider VLANs. Use the no form of this command to
remove the VLAN mapping information.
Syntax Description
vlan-id
translated-vlan-id
dot1q-tunnel
outer-vlan-id
{inner-vlan-id
translated-vlan-id |
drop}
internal dot1q-tunnel
internal-outer-vlan-id
internal-inner-vlan-id
external dot1q-tunnel
external-outer-vlan-id
external-inner-vlan-id
Defaults
No VLAN maps are configured.
Command Modes
Interface configuration
OL-9645-10
switchport vlan mapping {vlan-id translated-vlan-id | dot1q-tunnel outer-vlan-id {inner-vlan-id
translated-vlan-id | drop} | internal dot1q-tunnel internal-outer-vlan-id
internal-inner-vlan-id external dot1q-tunnel external-outer-vlan-id external-inner-vlan-id}
no switchport vlan mapping {vlan-id translated-vlan-id | dot1q-tunnel outer-vlan-id
{inner-vlan-id translated-vlan-id | drop} | internal dot1q-tunnel internal-outer-vlan-id
internal-inner-vlan-id external dot1q-tunnel external-outer-vlan-id external-inner-vlan-id}
Configure the VLAN mapping on the interface as a one-to-one mapping. This
maps the customer-side VLAN ID (vlan-id) to the service-provider side
VLAN ID (translated-vlan-id). The customer-side VLAN ID is used to
switch the packet inside the switch. The service-provider VLAN ID is sent or
received on the ES ports.
The VLAN ID range is from 1 to 4094.
Configure the 802.1Q tunnel VLAN mapping on the interface as a two-to-one
mapping. The internal 802.1Q tunneling traffic with the outer VLAN ID
(outer-vlan-id) and the inner VLAN ID (inner-vlan-id) is mapped to the
service-provider VLAN ID (translated-vlan-id). The range is from 1 to 4094.
Use the drop keyword to set the port to drop all VLAN traffic except for those
VLANs that are explicitly mapped. Traffic with the specified outer VLAN ID
is dropped unless the inner VLAN ID is matched in the existing VLAN
mappings.
Configure the 802.1Q tunnel VLAN mapping as a two-to-two mapping. This
maps 802.1Q tunneling traffic with the outer VLAN ID
(internal-outer-vlan-id) and the inner VLAN ID (internal-inner-vlan-id) to
the service-provider side VLAN outer ID (external-outer-vlan-id) and the
VLAN inner ID (external-inner-vlan-id). The 802.1Q VLAN ID is used to
switch the packet inside the switch. The service-provider VLAN ID is sent or
received on the ES ports.
The range is from 1 to 4094.
Note
The external-inner-vlan-id VLAN ID must be the same as the
internal-inner-vlan-id VLAN ID.
Catalyst 3750 Metro Switch Command Reference
switchport vlan mapping
2-729

Advertisement

Table of Contents
loading

Table of Contents