8
Predefined user roles
network-admin
Parameters
cir
committed-information-rate
: Specifies the committed information rate (CIR) in the
range of 8 to 160000000 kbps, in increments of 8.
cbs
committed-burst-size
: Specifies the committed burst size (CBS) in bytes. The value
range for
committed-burst-size
is 512 to 256000000, in increments of 512. The default value
for this argument is the product of 62.5 and the CIR and must be an integral multiple of 512. When
the product is not an integral multiple of 512, it is rounded up to the nearest integral multiple of 512
that is greater than the product. A default value greater than 256000000 is converted to 256000000.
ebs
excess-burst-size
: Specifies the excess burst size (EBS) in bytes. The value range for
excess-burst-size
is 0 to 256000000, in increments of 512. If the PIR is configured, the default
EBS is the product of 62.5 and the PIR and must be an integral multiple of 512. When the product is
not an integral multiple of 512, it is rounded up to the nearest integral multiple of 512. A default value
greater than 256000000 is converted to 256000000.
pir
peak-information-rate
: Specifies the peak information rate (PIR) in the range of 8 to
160000000 kbps, in increments of 8.
green action
: Specifies the action to take on packets that conform to the CIR. The default setting
is
pass
.
red action
: Specifies the action to take on packets that conform to neither CIR nor PIR. The
default setting is
discard
.
yellow action
: Specifies the action to take on packets that conform to the PIR but not to the CIR.
The default setting is
pass
.
action
: Sets the action to take on the packet:
•
discard
: Drops the packet.
•
pass
: Permits the packet to pass through.
•
remark-dot1p-pass
new-cos
: Sets the 802.1p priority value of the 802.1p packet to
new-cos
and permits the packet to pass through. The
new-cos
argument is in the range of 0
to 7.
•
remark-dscp-pass
new-dscp
: Sets the DSCP value of the packet to
new-dscp
and
permits the packet to pass through. The
new-dscp
argument is in the range of 0 to 63.
•
remark-lp-pass
new-local-precedence
: Sets the local precedence value of the
packet to
new-local-precedence
and permits the packet to pass through. The
new-local-precedence
argument is in the range of 0 to 7.
Usage guidelines
To use two rates for traffic policing, configure the
car
command with the
pir
peak-information-rate
option. To use one rate for traffic policing, configure the
car
command without the
pir
peak-information-rate
option.
If you execute the
car
command multiple times in the same traffic behavior, the most recent
configuration takes effect.
Examples
# Configure a CAR action in traffic behavior
database
:
•
Set the CIR to 200 kbps, CBS to 51200 bytes, and EBS to 0.
•
Transmit the conforming packets, and mark the excess packets with DSCP value 0 and transmit
them.
<Sysname> system-view
Summary of Contents for SOHO IE4300
Page 285: ...i Contents Tcl commands 1 cli 1 tclquit 1 tclsh 2...
Page 288: ...i Contents Python commands 1 exit 1 python 1 python filename 2...
Page 291: ...i Contents Automatic configuration commands 1 autodeploy udisk enable 1...
Page 323: ...25 Sysname Ten GigabitEthernet1 0 51 undo shutdown Related commands irf port...
Page 465: ...ii stp vlan enable 55 vlan mapping modulo 55...
Page 602: ...12 Related commands display mvrp statistics...
Page 609: ...i Contents VLAN mapping commands 1 display vlan mapping 1 vlan mapping 2...
Page 678: ...9 Related commands reset pppoe relay statistics...
Page 846: ...i Contents Basic IP forwarding commands 1 display fib 1 ip forwarding table save 2...
Page 1770: ...i Contents Time range commands 1 display time range 1 time range 1...
Page 2026: ...34 Related commands display mac authentication...
Page 2028: ...ii...
Page 2143: ...i Contents User profile commands 1 display user profile 1 user profile 2...
Page 2308: ...61 ipsec transform set...
Page 2531: ...i Contents SAVI commands 1 ipv6 savi down delay 1 ipv6 savi log enable 1 ipv6 savi strict 2...
Page 2534: ...3 Sysname ipv6 savi strict Related commands ipv6 verify source...
Page 2791: ...14 Sysname track 1 Related commands delay display track...
Page 2939: ...9 sntp authentication keyid sntp reliable authentication keyid...
Page 2967: ...27 Related commands apply poe profile poe enable poe max power interface view poe priority...