HP 6125G Configuration Manual page 200

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

Advertisement

Figure 63 Network diagram
PE 1
GE1/0/1
VLAN 10, 100
VLAN 10
CE a1
Configuration procedure
Configure 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
# Configure customer-side port GigabitEthernet 1/0/1 as a hybrid port, and assign it to VLAN
100 as an untagged member, so the port forwards VLAN 100 traffic with the VLAN tag removed.
On the port, enable basic QinQ, and apply uplink policy test to the incoming traffic.
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] port link-type hybrid
[PE1-GigabitEthernet1/0/1] port hybrid vlan 100 untagged
[PE1-GigabitEthernet1/0/1] qinq enable
[PE1-GigabitEthernet1/0/1] qos apply policy test inbound
[PE1-GigabitEthernet1/0/1] quit
# Configure network-side port GigabitEthernet 1/0/2 as a trunk port, and assign it to VLAN 100.
[PE1] interface gigabitethernet 1/0/2
[PE1-GigabitEthernet1/0/2] port link-type trunk
[PE1-GigabitEthernet1/0/2] port trunk permit vlan 100
Configure PE 2:
2.
# Configure 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
PE 2
GE1/0/1
GE1/0/2
VLAN 10, 100
VPN A
Site 1
GE1/0/2
GE1/0/1
VLAN 10, 100
VLAN 10, 200
SP 1
SP 2
191
PE 3
GE1/0/2
GE1/0/1
VLAN 30, 200
VLAN 30, 200
VLAN 30
VPN A
Site 2
PE 4
GE1/0/2
CE a2

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents