R3303-HP HSR6800 Routers ACL and QoS Command Reference
43
Examples
# Create a class class1.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1]
Related commands
• qos policy
• qos apply policy
• classifier behavior
Traffic behavior commands
accounting
Use accounting to configure the class-based traffic accounting action in a traffic behavior.
Use undo accounting to remove the class-based traffic accounting action from a traffic behavior.
Syntax
accounting
undo accounting
Views
Traffic behavior view
Default command level
2: System level
Usage guidelines
This command is supported only on SAP modules operating in bridge mode.
This command collects class-based statistics in number of packets.
To display class-based traffic statistics, use the display qos policy interface command and the display qos
vlan-policy command.
Examples
# Configure the class-based accounting action in traffic behavior database.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] accounting
Related commands
• qos policy
• traffic behavior
• classifier behavior