User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
184
1. Configure the VLAN-translation of the port
2. Configure the VLAN-translation relation of the port
3. Configure whether the packet is dropped when checking VLAN-translation is failing
4. Show the related configuration of vlan-translation
22.4.3 Typical application of VLAN-translation
Scenario:
Edge switch PE1 and PE2 of the ISP internet support the VLAN20 data task between CE1
and CE2 of the client network with VLAN3. The port1/0/1 of PE1 is connected to CE1,
port1/0/10 is connected to public network; port1/0/1 of PE2 is connected to CE2, port1/0/10 is
connected to public network.
Command
Explanation
Port mode
vlan-translation enable
no vlan-translation enable
Enter/exit the port VLAN-translation
mode.
Command
Explanation
Port mode
vlan-translation <old-vlan-id> to
<new-vlan-id> {in|out}
no vlan-translation old-vlan-id {in|out}
Add/delete a VLAN-translation relation.
Command
Explanation
Port mode
vlan-translation miss drop {in | out | both}
no vlan-translation miss drop {in | out |
both}
Configure the VLAN-
translation packet
dropped on port if there is any failure.
Command
Explanation
Admin mode
show vlan-translation
Show
the related configuration of
vlan-translation.