3Com S7902E Command Reference Manual - page 1688
2-6
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] 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
Parameters
cir
committed-information-rate
: Specifies the committed information rate (CIR) in kbps. The
committed-information-rate
argument ranges from 64 to 10000000 and must be a multiple of 64.
cbs committed-burst-size
: Specifies the committed burst size (CBS) in bytes. The
committed-burst-size
argument ranges from 4000 to 16000000, the default is 4000.
ebs excess-burst-size
: Specifies excess burst size (EBS) in bytes. The
excess-burst-size
argument
ranges from 0 to 16000000, the default is 4000.
pir
peak-information-rate
: Specifies the peak information rate (PIR) in kbps. The
peak-information-rate
argument ranges from 64 to 10000000 and must be a multiple of 64.
green action
: Specifies the action to be conducted for the traffic conforming to CIR. The
action
argument can be:
z
discard
: Drops the packets.
z
pass
: Forwards the packets.
z
remark-dscp-pass
new-dscp
: Marks the packets with a new DSCP precedence and forwards
them to their destinations. The
new-dscp
argument is in the range 0 to 63.
By default, packets conforming to CIR are forwarded.
red action
: Specifies the action to be conducted for the traffic conforms to neither CIR nor PIR. The
action
argument can be:
z
discard
: Drops the packets.
z
pass
: Forwards the packets.