1-7
Parameters
cir
committed-information-rate
: Specifies the committed information rate (CIR) in kbps. The
committed-information-rate
argument ranges from 64 to 32000000 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 32000000 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.
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 neither CIR nor PIR are dropped.
yellow action
: Specifies the action to be conducted for the traffic conforms to PIR but does not conform
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 PIR but not conforming to CIR are forwarded.
Description
Use the
car
command to configure TP action for a traffic behavior.
Use the
undo car
command to remove the TP action.
Note that, if you configure the TP action for a traffic behavior for multiple times, only the last
configuration takes effect.
Related commands:
qos policy
,
traffic behavior
,
classifier behavior
.
Examples
# Configure TP action for a traffic behavior. When the traffic rate is lower than 6400 kbps, packets are
forwarded normally. When the traffic rate exceeds 6400 kbps, the packets beyond 6400 kbps are
dropped.
<Sysname> system-view
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...