+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
Vlan translation topology mode
Configuration Explanation
Port1 and Port10 of PE1 and PE2.
Configuration procedure is as follows:
PE1, PE2:
switch(Config)#interface ethernet 1/1
switch(Config-Ethernet1/1)#switchport mode trunk
switch(Config-Ethernet1/1)# vlan-translation enable
switch(Config-Ethernet1/1)# vlan-translation 20 to 3 in
switch(Config-Ethernet1/1)# vlan-translation 3 to 20 out
switch(Config-Ethernet1/1)# exit
switch(Config)#interface ethernet 1/10
switch(Config-Ethernet1/10)#switchport mode trunk
switch(Config-Ethernet1/10)#exit
switch(Config)#
Note: this switch only supports the in direction.
16.4.4 VLAN-translation Troubleshooting
Normally the VLAN-translation is applied on trunk ports.
Normally before using the VLAN-translation, the dot1q-tunnel function needs to be enabled
first, to adapt double tag data packet processes VLAN-translation.
QoS only matches vlan-id that the packet is translated when vlan-translation and QoS be
configured at the same time.
On the customer port
Trunk VLAN 200-300
The ingress of the port
translates VLAN20 to VLAN3,
the egress translates VLAN3 to
VLAN20 on PE
On the customer port
Trunk VLAN 20
The ingress of the port
translates VLAN20 to VLAN3,
the egress translates VLAN3 to
VLAN20 on PE