EasyManua.ls Logo

HP 5820X Series

HP 5820X Series
244 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
197
[SwitchD] interface gigabitethernet 1/0/1
[SwitchD-GigabitEthernet1/0/1] port link-type trunk
[SwitchD-GigabitEthernet1/0/1] port trunk permit vlan 501 502 503
Two-to-two VLAN mapping configuration example
Network requirements
As shown in Figure 65, two VPN A users, Site 1 and Site 2, are in VLAN 10 and VLAN 30, respectively.
SP 1 assigns VLAN 100 for VPN A, and SP 2 assigns VLAN 200 for VPN A.
Configure QinQ and two-to-two VLAN mappings to enable the two sites to communicate across networks
SP 1 and SP 2.
Figure 65 Network diagram for the two-to-two VLAN mapping application
Configuration procedure
1. Configuring PE 1
# Configure QinQ function on GigabitEthernet 1/0/1 to add outer VLAN tag 100 to the traffic tagged
with VLAN 10.
<PE1> system-view
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] port access vlan 100
[PE1-GigabitEthernet1/0/1] qinq enable
[PE1-GigabitEthernet1/0/1] quit
# Configure the uplink port GigabitEthernet 1/0/2 to permit frames of VLAN 100 to pass through.
[PE1] interface gigabitethernet 1/0/2
[PE1-GigabitEthernet1/0/2] port link-type trunk
[PE1-GigabitEthernet1/0/2] port trunk permit vlan 100
2. Configuring PE 2
# Set port GigabitEthernet 1/0/1 as a trunk port, and assign it to VLAN 100.
<PE2> system-view
[PE2] interface gigabitethernet 1/0/1
[PE2-GigabitEthernet1/0/1] port link-type trunk
[PE2-GigabitEthernet1/0/1] port trunk permit vlan 100
[PE2-GigabitEthernet1/0/1] quit

Table of Contents

Related product manuals