EasyManua.ls Logo

Cisco Catalyst 3750 Metro

Cisco Catalyst 3750 Metro
985 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
Loading...
2-729
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
switchport vlan mapping
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.
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}
Syntax Description
Defaults No VLAN maps are configured.
Command Modes Interface configuration
vlan-id
translated-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.
dot1q-tunnel
outer-vlan-id
{inner-vlan-id
translated-vlan-id |
drop}
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.
internal dot1q-tunnel
internal-outer-vlan-id
internal-inner-vlan-id
external dot1q-tunnel
external-outer-vlan-id
external-inner-vlan-id
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.

Table of Contents

Related product manuals