Displaying and maintaining aggregation car, Configuration example – H3C Technologies H3C S7500E Series Switches User Manual
Page 88
11-2
To do…
Use the command…
Remarks
Exit class view
quit
—
Enter traffic behavior view
traffic behavior behavior-name
Required
Reference the aggregation
CAR in the traffic behavior
car name car-name
Required
Exit policy view
quit
—
To an interface
Applying the QoS policy to an interface
—
To a VLAN
Applying the QoS policy to a VLAN
—
Globally
Applying the QoS policy globally
—
Apply the
QoS
policy
To the control
plane
Applying the QoS policy to the control
—
Displaying and Maintaining Aggregation CAR
To do…
Use the command…
Remarks
Display the statistics for the
specified aggregation CAR
display qos car name
[ car-name ]
Required
Available in any view
Clear the statistics for the specified
aggregation CAR
reset qos car name [ car-name ]
Required
Available in user view
Configuration example
Configure an aggregation CAR to rate-limit the traffic of VLAN 10 and VLAN 100 received on
GigabitEthernet 2/0/1 using these parameters: CIR is 256 kbps, CBS is 2000 bytes, and the action for
red packets is discard.
# Configure an aggregation CAR according to the rate limit requirements.
[Sysname] qos car aggcar-1 aggregative cir 256 cbs 2000 red discard
# Create class 1 to match traffic of VLAN 10; create behavior 1, and reference the aggregation CAR in
the behavior.
[Sysname] traffic classifier 1
[Sysname-classifier-1] if-match customer-vlan-id 10
[Sysname-classifier-1] quit
[Sysname] traffic behavior 1
[Sysname-behavior-1] car name aggcar-1
[Sysname-behavior-1] quit
# Create class 2 to match traffic of VLAN 100; create behavior 2, and reference the aggregation CAR
in the behavior.
[Sysname] traffic classifier 2