EasyManua.ls Logo

HP 5820X Series

HP 5820X Series
244 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
175
# Configure traffic behavior T100 to mark matching packets with CVLAN 30.
[PE1] traffic behavior T100
[PE1-behavior-T100] remark customer-vlan-id 30
[PE1-behavior-T100] quit
# Create class A200 and configure the class to match frames with CVLAN 20 and SVLAN 200.
[PE1] traffic classifier A200
[PE1-classifier-A200] if-match customer-vlan-id 20
[PE1-classifier-A200] if-match service-vlan-id 200
[PE1-classifier-A200] quit
# Configure traffic behavior T200 to mark matching packets with CVLAN 40.
[PE1] traffic behavior T200
[PE1-behavior-T200] remark customer-vlan-id 40
[PE1-behavior-T200] quit
# Create a QoS policy named sqinq, associate traffic class A100 with traffic behavior T100,
and associate traffic class A200 with traffic behavior T200.
[PE1] qos policy sqinq
[PE1-qospolicy-sqinq] classifier A100 behavior T100
[PE1-qospolicy-sqinq] classifier A200 behavior T200
[PE1-qospolicy-sqinq] quit
# Apply QoS policy sqinq to the outgoing traffic on the port.
[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
2. Configure PE 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

Table of Contents

Related product manuals