SGS-6340 Series User Manual

Table Of Contents
20-87
20.4.3 Typical Application of VLAN Translation
Scenario:
Edge switches PE1 and PE2 of the ISP internet support the VLAN20 data task between CE1
and CE2 of the client network with VLAN3. The port1/1 of PE1 is connected to CE1; port1/10 is
connected to public network; port1/1 of PE2 is connected to CE2; port1/10 is connected to
public network.
SP networks
P
PE1
PE2
CE1
CE2
Trunk connection
Trunk connection
Trunk connection
Trunk
connection
The ingress of the port
translates VLAN20 to VLAN3,
the egress translates VLAN3 to
VLAN20 on PE
On the customer port
Trunk VLAN 20
On the customer port
T
runk VLAN 200-30
0
Customer
networks
2
Customer
networks1
The ingress of the port
translates VLAN20 to VLAN3,
the egress translates VLAN3 to
VLAN20 on PE
Figure 20-6: VLAN transla
tion topology mode
Configuration
Item
Configuration Explanation
VLAN translation Port1/1 of PE1 and PE2.
Trunk port Port1/1 and Port1/10 of PE1 and PE2.
Configuration procedure is as follows:
PE1PE2:
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.