C
HAPTER
36
| VLAN Commands
Configuring VLAN Translation
– 1151 –
show
l2protocol-tunnel
This command shows settings for Layer 2 Protocol Tunneling (L2PT).
COMMAND MODE
Privileged Exec
EXAMPLE
Console#show l2protocol-tunnel
Layer 2 Protocol Tunnel
Tunnel MAC Address : 01-12-CF-00-00-00
Interface Protocol
----------------------------------------------------------
Eth 1/ 1 Spanning Tree
Console#
CONFIGURING VLAN TRANSLATION
QinQ tunneling uses double tagging to preserve the customer’s VLAN tags
on traffic crossing the service provider’s network. However, if any switch in
the path crossing the service provider’s network does not support this
feature, then the switches directly connected to that device can be
configured to swap the customer’s VLAN ID with the service provider’s
VLAN ID for upstream traffic, or the service provider’s VLAN ID with the
customer’s VLAN ID for downstream traffic.
This section describes commands used to configure VLAN translation.
switchport
vlan-translation
This command maps VLAN IDs between the customer and service provider.
SYNTAX
switchport vlan-translation original-vlan new-vlan
no switchport vlan-translation original-vlan
original-vlan - The original VLAN ID. (Range: 1-4094)
new-vlan - The new VLAN ID. (Range: 1-4094)
DEFAULT SETTING
Disabled
Table 140: VLAN Translation Commands
Command Function Mode
switchport
vlan-translation
Maps VLAN IDs between the customer and service
provider
IC
show vlan-translation Displays the configuration settings for VLAN
translation
PE