H3C Technologies H3C S7500E Series Switches User Manual

Page 89

Advertising
background image

11-3

[Sysname-classifier-2] if-match customer-vlan-id 100

[Sysname-classifier-2] quit

[Sysname] traffic behavior 2

[Sysname-behavior-2] car name aggcar-1

[Sysname-behavior-2] quit

# Create QoS policy car, associate class 1 with behavior 1, and associate class 2 with behavior 2.

[Sysname] qos policy car

[Sysname-qospolicy-car] classifier 1 behavior 1

[Sysname-qospolicy-car] classifier 2 behavior 2

[Sysname-qospolicy-car] quit

# Apply the QoS policy to the incoming traffic of GigabitEthernet 2/0/1.

[Sysname] interface GigabitEthernet 2/0/1

[Sysname-GigabitEthernet2/0/1]qos apply policy car inbound

Advertising