HP 4800G Series Configuration Manual page 221

24/48 port
Table of Contents

Advertisement

[SwitchC-classifier-c4] traffic classifier c5
[SwitchC-classifier-c5] if-match customer-vlan-id 211 to 310
[SwitchC-classifier-c5] traffic classifier c6
[SwitchC-classifier-c6] if-match customer-vlan-id 311 to 410
[SwitchC-classifier-c6] quit
[SwitchC] traffic behavior b1
[SwitchC-behavior-b1] remark service-vlan-id 501
[SwitchC-behavior-b1] traffic behavior b2
[SwitchC-behavior-b2] remark service-vlan-id 502
[SwitchC-behavior-b2] traffic behavior b3
[SwitchC-behavior-b3] remark service-vlan-id 503
[SwitchC-behavior-b3] quit
[SwitchC] qos policy p1
[SwitchC-policy-p1] classifier c1 behavior b1 mode dot1q-tag-manipulation
[SwitchC-policy-p1] classifier c2 behavior b2 mode dot1q-tag-manipulation
[SwitchC-policy-p1] classifier c3 behavior b3 mode dot1q-tag-manipulation
[SwitchC-policy-p1] quit
[SwitchC] qos policy p2
[SwitchC-policy-p2] classifier c4 behavior b1 mode dot1q-tag-manipulation
[SwitchC-policy-p2] classifier c5 behavior b2 mode dot1q-tag-manipulation
[SwitchC-policy-p2] classifier c6 behavior b3 mode dot1q-tag-manipulation
[SwitchC-policy-p2] quit
# Configure GigabitEthernet 1/0/1 to permit frames of the specified CVLANs and SVLANs to pass
through.
[SwitchC] interface gigabitethernet 1/0/1
[SwitchC-GigabitEthernet1/0/1] port link-type trunk
[SwitchC-GigabitEthernet1/0/1] port trunk permit vlan 101 201 301 102 202 302 501 502 503
# Enable customer-side QinQ on GigabitEthernet 1/0/1.
[SwitchC-GigabitEthernet1/0/1] qinq enable downlink
# Apply the uplink policy p1 to the inbound direction of GigabitEthernet 1/0/1.
[SwitchC-GigabitEthernet1/0/1] qos apply policy p1 inbound
[SwitchC-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 to permit frames of the specified CVLANs and SVLANs to pass
through.
[SwitchC] interface gigabitethernet 1/0/2
[SwitchC-GigabitEthernet1/0/2] port link-type trunk
[SwitchC-GigabitEthernet1/0/2] port trunk permit vlan 111 211 311 112 212 312 501 502 503
# Enable customer-side QinQ on GigabitEthernet 1/0/2.
[SwitchC-GigabitEthernet1/0/2] qinq enable downlink
# Apply the uplink policy p2 to the inbound direction of GigabitEthernet 1/0/2.
[SwitchC-GigabitEthernet1/0/2] qos apply policy p2 inbound
[SwitchC-GigabitEthernet1/0/2] quit
# Configure GigabitEthernet 1/0/3 to permit frames of the specified SVLANs to pass through.
[SwitchC] interface gigabitethernet 1/0/3
1-20

Advertisement

Chapters

Table of Contents
loading

Table of Contents