2-7
z
When you configure the traffic policing over a port, an ACL rule can only be applied to one egress
port. If you configure the same ACL rule for different egress ports, only the last configuration takes
effect. To apply the same ACL rule to multiple egress ports, you need to specify different ACL
numbers or rule numbers for the ACL rule.
z
If the IRF function is enabled, the egress port can only be a port of the local unit. For information
about IRF, refer to
IRF Fabric
module of this manual.
z
Do not specify the
egress-port
keyword when configuring traffic policing on ports in an
aggregation group spanning multiple units. Refer to
Link Aggregation
Operation
for detailed
information about link aggregation.
target-rate
: Target packet rate (in kbps) to be set, in the range 64 to 1,000,000. The granularity of rate
limit is 64 kbps. If the number you input is in the ranges N*64 to (N+1)*64 (N is a natural number), it will
be rounded off to (N+1)*64.
burst-bucket-size:
Maximum burst traffic size (in KB) allowed, in the range 4 to 512. This argument
defaults to 512 and must be an integer power of 2.
exceed
action
: Specifies the action to be taken when the traffic rate exceeds the threshold. The
action
can be:
z
drop
: Drops the packets.
z
remark-dscp
value
: Sets a new DSCP value for the packets and then forwards the packets.
Description
Use the
traffic-limit
command to add the traffic policing action to a QoS profile.
Use the
undo traffic-limit
command to remove the traffic policing action from a QoS profile.
Examples
# Add traffic policing action to the QoS profile named
a123
to limit the rate of the inbound packets
sourced from IP address 1.1.1.1 to 128 kbps and drop the packets exceeding 128 kbps.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 1.1.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] qos-profile a123
[Sysname-qos-profile-a123] traffic-limit inbound ip-group 2000 128 exceed drop
traffic-priority
Syntax
traffic-priority
{
inbound
|
outbound
}
acl-rule
{ {
dscp dscp-value
|
ip-precedence
{
pre-value
|
from-cos
} } |
cos
{
pre-value
|
from-ipprec
} |
local-precedence
pre-value
}*
undo traffic-priority
{
inbound
|
outbound
}
acl-rule
Содержание H3C S3600 Series
Страница 502: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 507: ...3 5 Sysname habp timer 50 ...
Страница 650: ...iii display bootp client 5 3 ip address bootp alloc 5 4 ...
Страница 1085: ...ii schedule reboot delay 3 18 schedule reboot regularity 3 19 system monitor enable 3 20 update fabric 3 21 xmodem get 3 22 ...