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

Layer 2 - lan switching
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

[SwitchA-behavior-b33] quit
[SwitchA] qos policy p11
[SwitchA-policy-p11] classifier c11 behavior b11
[SwitchA-policy-p11] classifier c22 behavior b22
[SwitchA-policy-p11] classifier c33 behavior b33
[SwitchA-policy-p11] quit
[SwitchA] qos policy p22
[SwitchA-policy-p22] classifier c44 behavior b11
[SwitchA-policy-p22] classifier c55 behavior b22
[SwitchA-policy-p22] classifier c66 behavior b33
[SwitchA-policy-p22] quit
# Assign customer-side port GigabitEthernet 1/0/1 to CVLANs 1 to 3, and SVLANs 101, 201,
and 301, and enable basic QinQ, and apply uplink policy p1 to the incoming traffic and
downlink policy p11 to the outgoing traffic.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] port link-type trunk
[SwitchA-GigabitEthernet1/0/1] port trunk permit vlan 1 2 3 101 201 301
[SwitchA-GigabitEthernet1/0/1] qinq enable
[SwitchA-GigabitEthernet1/0/1] qos apply policy p1 inbound
[SwitchA-GigabitEthernet1/0/1] qos apply policy p11 outbound
[SwitchA-GigabitEthernet1/0/1] quit
# Assign customer-side port GigabitEthernet 1/0/2 to CVLANs 1 to 3, and SVLANs 102, 202,
and 302, enable basic QinQ, and apply uplink policy p2 to the incoming traffic and downlink
policy p22 to the outgoing traffic.
[SwitchA] interface gigabitethernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] port link-type trunk
[SwitchA-GigabitEthernet1/0/2] port trunk permit vlan 1 2 3 102 202 302
[SwitchA-GigabitEthernet1/0/2] qinq enable
[SwitchA-GigabitEthernet1/0/2] qos apply policy p2 inbound
[SwitchA-GigabitEthernet1/0/2] qos apply policy p22 outbound
[SwitchA-GigabitEthernet1/0/2] quit
# Assign network-side port GigabitEthernet 1/0/3 to all SVLANs.
[SwitchA] interface gigabitethernet 1/0/3
[SwitchA-GigabitEthernet1/0/3] port link-type trunk
[SwitchA-GigabitEthernet1/0/3] port trunk permit vlan 101 201 301 102 202 302
Configure Switch B in the same procedure as on Switch A.
2.
One-to-two and 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 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, two VPN A branches, Site 1 and Site 2, are in VLAN 10 and VLAN 30,
190

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents