Setting One-To-Two And Two-To-Two Vlan Mapping Configuration - HP A5830 Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for A5830:
Table of Contents

Advertisement

<SwitchD> system-view
[SwitchD] dhcp-snooping
# Assign port GigabitEthernet 1/0/1 to SVLANs 501 to 503.
[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

Setting one-to-two and two-to-two VLAN mapping configuration

Network requirements
As shown in
Two VPN A branches, Site 1 and Site 2, are in VLAN 10 and VLAN 30, 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 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 for the one-to-two and two-to-two VLAN mapping application
PE 1
GE1/0/2
GE1/0/1
VLAN 10, 100
VLAN 10
CE a1
Configuration procedure
Configuring PE 1.
1.
# Configure an uplink policy test to add outer VLAN tag 100 to VLAN 10 tagged traffic.
<PE1> system-view
[PE1] traffic classifier test
[PE1-classifier-test] if-match customer-vlan-id 10
[PE1-classifier-test] quit
[PE1] traffic behavior test
[PE1-behavior-test] nest top-most vlan-id 100
[PE1-behavior-test] quit
[PE1] qos policy test
[PE1-qospolicy-test] classifier test behavior test
[PE1-qospolicy-test] quit
Figure
63:
PE 2
GE1/0/1
VLAN 10, 100
VPN A
Site 1
GE1/0/2
GE1/0/1
VLAN 10, 100
VLAN 10, 200
SP 1
SP 2
186
PE 3
GE1/0/2
GE1/0/1
VLAN 30, 200
GE1/0/2
VLAN 30, 200
VLAN 30
VPN A
Site 2
PE 4
CE a2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents