Examples
# Create a class named class 1.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1]
Traffic Behavior Configuration Commands
accounting
Syntax
accounting
undo accounting
View
Traffic behavior view
Default Level
2: System Level
Parameters
None
Description
Use the accounting command to configure the traffic accounting action for a traffic behavior.
Use the undo accounting command to remove the traffic accounting action.
Related commands: qos policy, traffic behavior, classifier behavior.
Examples
# Configure the traffic accounting action for a traffic behavior.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] accounting
car
Syntax
car cir committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size ] ] [ pir
peak-information-rate ] [ green action ] [ red action ] [ yellow action ]
undo car
View
Traffic behavior view
Default Level
2: System Level
1-6