Configure traffic
traffic-limit
inbound
acl-rule
[
union-effect
]
target-rate
policing
[
bur
[
exc
st-bucket
burst-bucket-size
]
eed
action
]
Required
Specify a committed information rate
(CIR) for the
target-rate
argument,
and specify a committed bust size
(CBS) for the
burst-bucket-size
argument.
is disabled.
By default, traffic policing
The granu
ffic policing is 6
u input is in the ra
to (N+1)*64
(
r), it will be rounded off to (N+1)*64.
larity of tra
4 Kbps. If the number yo
nge of N*64
N is a natural numbe
Configuration example
z
Ethernet 1/0/1 of the switch
z
olicing on
0/24
the rate to
128 kbps
z
Mark the DSCP precedence as 56 for the inbound packets ex
uration procedure:
<Sysname> system-view
000
s
.0.255
s
Conf
Refer to section
Line Rate
is connected to the 10.1.1.0/24 n
the packets from the 10.1.1.
etwork segment
network segment, setting
Perform traffic p
ceeding the rate limit.
Config
[Sysname] acl number 2
[Sy name-acl-basic-2000] rule permit source 10.1.1.0 0.0
[Sy name-acl-basic-2000] quit
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] traffic-limit inbound ip-group 2000 128 exceed remark-dscp 56
iguring Line Rate
for information about line rate.
en determined.
ction of rate limiting (inbound or outbound) have been determined.
C
i
Foll
Configuration prerequisites
z
The port on which line rate configuration is to be performed has be
z
The target rate and the dire
onf guration procedure
ow these steps to configure line rate:
Remarks
To do…
Use the command…
Enter system view
system-view
—
Enter Ethernet port view
interface-number
interface
interface-type
—
45-18