3 typical application of vlan-translation, 3 typical application of vlan-translation -15 – PLANET XGS3-24042 User Manual

Page 138

Advertising
background image

15-15

Command

Explanation

Admin mode

show vlan-translation

Show the related configuration of

vlan-translation.

15.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 of PE1 is connected to CE1, port10 is connected to public network;

port1 of PE2 is connected to CE2, port10 is connected to public network.

Figure 15-7 Vlan translation topology mode

Configuration Item

Configuration Explanation

VLAN-translation

Port1 of PE1 and PE2.

Trunk port

Port1 and Port10 of PE1 and PE2.

Configuration procedure is as follows:

PE1PE2:

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/1

switch(Config-Ethernet1/0/1)#switchport mode trunk

switch(Config-Ethernet1/0/1)#exit

switch(Config)#

SP networks

P

PE1

PE2

CE1

CE2

Trunk connection

Trunk connection

Unsymmetrical
connection

Unsymmetrical
connection

Customer
networks1

Customer
networks2

On the customer port
Trunk VLAN 200-300

This port on PE1 is enabled
QinQ and belong to VLAN3

On the customer port
Trunk VLAN 200-300

This port on PE1 is enabled
QinQ and belong to VLAN3

Advertising
This manual is related to the following products: