User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
185
Fig 1-7 Vlan translation topology mode
Configuration
Item
Configuration Explanation
VLAN-translation
Port1/0/1 of PE1 and PE2.
Trunk port
Port1/0/1 and Port1/0/10 of PE1 and PE2.
Configuration procedure is as follows:
PE1
PE2:
switch(Config)#interface ethernet 1/0/1
switch(Config-Ethernet1/0/1)#switchport mode trunk
switch(Config-Ethernet1/0/1)# vlan-translation enable
switch(Config-Ethernet1/0/1)# vlan-translation 20 to 3 in
switch(Config-Ethernet1/0/1)# vlan-translation 3 to 20 out
switch(Config-Ethernet1/0/1)# exit
switch(Config)#interface ethernet 1/0/10
switch(Config-Ethernet1/0/10)#switchport mode trunk
switch(Config-Ethernet1/0/10)#exit
switch(Config)#
22.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.
SP networks
P
PE1
PE2
CE1
CE2
Trunk connection
Trunk connection
Trunk connection
Trunk
connection
Customer
networks1
Customer
networks2
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