HP 6125G HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 47
Traffic behavior configuration commands, accounting, car
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 47 highlights
Traffic behavior configuration commands accounting Syntax accounting { byte | packet } View undo accounting Traffic behavior view Default level 2: System level Parameters byte: Counts traffic in bytes. packets: Counts traffic in packets. Description Use accounting to configure the traffic accounting action in a traffic behavior. Use undo accounting to delete the traffic accounting action from a traffic behavior. You can use the accounting action to collect statistics for a traffic class, for example, the traffic sourced from a certain IP address. You can use the display qos policy interface command and the display qos vlan-policy command to display class-based traffic statistics. Related commands: qos policy, traffic behavior, and classifier behavior. Examples # Configure the accounting action in the traffic behavior database to collect statistics in bytes. system-view [Sysname] traffic behavior database [Sysname-behavior-database] accounting byte car Syntax car cir committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size ] ] [ pir peak-information-rate ] [ green action ] [ yellow action ] [ red action ] View undo car Traffic behavior view Default level 2: System level 42