ECS4110-28T_Management Guide

Table Of Contents
C
HAPTER
37
| VLAN Commands
Configuring VLAN Translation
– 1176
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
COMMAND MODE
Interface Configuration (Ethernet)
COMMAND USAGE
If the next switch upstream does not support QinQ tunneling, then use
this command to map the customer’s VLAN ID to the service provider’s
VLAN ID for the upstream port. Similarly, if the next switch downstream
does not support QinQ tunneling, then use this command to map the
service provider’s VLAN ID to the customer’s VLAN ID for the
downstream port. Note that one command maps both the original-vlan
to new-vlan for ingress traffic and the new-vlan to original-vlan for
egress traffic on the specified port.
Table 151: 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