Two-To-Two Vlan Mapping Configuration Example - H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

Two-to-two VLAN mapping configuration example

Network requirements
As shown in
respectively. The two site use different VPN access services of different service providers, SP 1 and SP 2.
SP 1 assigns VLAN 100 for Site 1, and SP 2 assigns VLAN 200 for Site 2.
Configure two-to-two VLAN mappings to enable the two branches to communicate across networks SP
1 and SP 2.
Figure 75 Network diagram
Configuration procedure
Configure PE 1:
1.
# Configure QinQ function on Ethernet 1/0/1 to add outer VLAN tag 100 to the traffic tagged
with VLAN 10.
<PE1> system-view
[PE1] interface ethernet 1/0/1
[PE1-Ethernet1/0/1] port access vlan 100
[PE1-Ethernet1/0/1] qinq enable
[PE1-Ethernet1/0/1] quit
# Configure the uplink port Ethernet 1/0/2 to permit frames of VLAN 100 to pass through.
[PE1] interface ethernet 1/0/2
[PE1-Ethernet1/0/2] port link-type trunk
[PE1-Ethernet1/0/2] port trunk permit vlan 100
Configure PE 2:
2.
# Set port Ethernet 1/0/1 as a trunk port, and assign it to VLAN 100.
<PE2> system-view
[PE2] interface ethernet 1/0/1
[PE2-Ethernet1/0/1] port link-type trunk
[PE2-Ethernet1/0/1] port trunk permit vlan 100
[PE2-Ethernet1/0/1] quit
# Set port Ethernet 1/0/2 as a trunk port, and assign it to VLAN 100.
[PE2] interface ethernet 1/0/2
[PE2-Ethernet1/0/2] port link-type trunk
[PE2-Ethernet1/0/2] port trunk permit vlan 100
Figure
75, two VPN A branches, Site 1 and Site 2, are in VLAN 10 and VLAN 30,
222

Advertisement

Table of Contents
loading

Table of Contents