HP A5830 Configuration Manual page 169

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

Advertisement

[PE1-GigabitEthernet1/0/2] qos apply policy sqinq outbound
# Set the TPID value in the outer tag to 0x8200.
[PE1-GigabitEthernet1/0/2] qinq ethernet-type service-tag 8200
[PE1-GigabitEthernet1/0/2] quit
Configure PE 2.
2.
Configure GigabitEthernet 1/0/1.
# Configure GigabitEthernet 1/0/1 as a hybrid port to permit frames of VLAN 100 and VLAN 200 to
pass through untagged.
[PE2] interface gigabitethernet 1/0/1
[PE2-GigabitEthernet1/0/1] port link-type hybrid
[PE2-GigabitEthernet1/0/1] port hybrid vlan 100 200 untagged
[PE2-GigabitEthernet1/0/1] quit
# Create class A30 and configure the class to match frames with CVLAN 30.
[PE2] traffic classifier A30
[PE2-classifier-A30] if-match customer-vlan-id 30
[PE2-classifier-A30] quit
# Create traffic behavior P100 and add the action of inserting outer VLAN tag 100.
[PE2] traffic behavior P100
[PE2-behavior-P100] nest top-most vlan-id 100
[PE2-behavior-P100] quit
# Create class A40 and configure the class to match frames with CVLAN 40. Create traffic behavior
P200 and add the action of inserting outer VLAN tag 200.
[PE2] traffic classifier A40
[PE2-classifier-A40] if-match customer-vlan-id 40
[PE2-classifier-A40] quit
[PE2] traffic behavior P200
[PE2-behavior-P200] nest top-most vlan-id 200
[PE2-behavior-P200] quit
# Create a QoS policy named qinq, associate traffic class A30 with traffic behavior P100, and associate
traffic class A40 with traffic behavior P200.
[PE2] qos policy qinq
[PE2-qospolicy-qinq] classifier A30 behavior P100
[PE2-qospolicy-qinq] classifier A40 behavior P200
[PE2-qospolicy-qinq] quit
# Enable basic QinQ on the port.
[PE2] interface gigabitethernet 1/0/1
[PE2-GigabitEthernet1/0/1] qinq enable
# Apply QoS policy qinq to the incoming traffic on the port.
[PE2-GigabitEthernet1/0/1] qos apply policy qinq inbound
Configure GigabitEthernet 1/0/2.
# Configure GigabitEthernet 1/0/2 as a trunk port and assign it to VLAN 100 and VLAN 200.
[PE2] interface gigabitethernet 1/0/2
[PE2-GigabitEthernet1/0/2] port link-type trunk
[PE2-GigabitEthernet1/0/2] port trunk permit vlan 100 200
162

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents