One-To-Two And Two-To-Two Vlan Mapping Configuration Example - HP 6125XLG Configuration Manual

Blade switch layer 2 lan switching
Table of Contents

Advertisement

303-304
One-to-two and two-to-two VLAN mapping configuration
example
Network requirements
As shown in
Two VPN A branches, Site 1 and Site 2, are in VLAN 5 and VLAN 6, respectively.
The two sites use different VPN access services from different service providers, SP 1 and SP 2.
SP 1 assigns VLAN 100 to Site 1 and Site 2. SP 2 assigns VLAN 200 to Site 1 and Site 2.
Configure one-to-two and two-to-two VLAN mappings to enable the two branches to communicate
across networks SP 1 and SP 2.
Figure 63 Network diagram
PE 1
XGE1/1/5
VLAN 5
CE 1
Configuration procedure
1.
Configure PE 1:
# Configure a one-to-two VLAN mapping on the customer-side port Ten-GigabitEthernet 1/1/5 to
add SVLAN tag 100 to traffic from VLAN 5.
<PE1> system-view
[PE1] interface ten-gigabitethernet 1/1/5
[PE1-Ten-GigabitEthernet1/1/5] vlan mapping nest single 5 nested-vlan 100
# Configure Ten-GigabitEthernet 1/1/5 as a hybrid port. Assign the port to VLAN 5 and VLAN
100 as a tagged member and untagged member, respectively.
[PE1-Ten-GigabitEthernet1/1/5] port link-type hybrid
[PE1-Ten-GigabitEthernet1/1/5] port hybrid vlan 5 tagged
[PE1-Ten-GigabitEthernet1/1/5] port hybrid vlan 100 untagged
[PE1-Ten-GigabitEthernet1/1/5] quit
# Configure the network-side port Ten-GigabitEthernet 1/1/6 as a trunk port, and assign the port
to VLAN 100.
[PE1] interface ten-gigabitethernet 1/1/6
N/A
Figure
63:
SP 1
XGE1/1/5
XGE1/1/6
VLAN 100
VLAN 5
Data
Data
VPN A
Site 1
503
PE 2
XGE1/1/6
XGE1/1/5
219
N/A
SP 2
PE 3
XGE1/1/6
XGE1/1/5
VLAN 200
VLAN 6
VLAN 6
VPN A
Site 2
PE 4
XGE1/1/6
Data
Data
CE 2

Advertisement

Table of Contents
loading

Table of Contents