1-12
z
GigabitEthernet port: 64 to 1,000,000.
The granularity of port rate limit is 64 kbps. Assume that the value you provide for the
target-rate
argument is in the range N*64 to (N+1)*64 (N is a natural number), it will be rounded off to (N+1)*64.
burst-bucket burst-bucket-size:
Specifies the maximum burst traffic size (in KB). This is the buffer size
provided for burst traffic while traffic is being forwarding or received at the rate of
target-rate
. The
burst-bucket-size
argument must be an integer power of 2, in the range of 4 to 512. If it is not specified,
512 KB applies by default.
Description
Use the
line-rate
command to limit the rate of the inbound or outbound packets on a port.
Use the
undo line-rate
command to cancel the line rate configuration.
Compared to traffic policing, line rate applies to all the inbound or outbound packets passing through a
port and thus a simpler solution when you only want to limit the rate of all the inbound or outbound
packets passing through a port as a whole.
Related commands:
display qos-interface line-rate
.
Examples
# Limit the inbound packet rate to 128 kbps on Ethernet 1/0/1 and provide 32 KB of buffer for burst
traffic.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] line-rate inbound 128 burst-bucket 32
# Display the line rate configuration of Ethernet 1/0/1.
[Sysname-Ethernet1/0/1] display qos-interface Ethernet 1/0/1 line-rate
Ethernet1/0/1: line-rate
Inbound: 128 Kbps
Burst bucket size: 32 Kbyte
mirrored-to
Syntax
mirrored-to
{
inbound
|
outbound
}
acl-rule
{
monitor-interface
|
cpu
}
undo mirrored-to
{
inbound
|
outbound
}
acl-rule
View
Ethernet port view
Parameters
inbound
: Duplicates inbound packets.
outbound
: Duplicates outbound packets.
acl-rule
: ACL rules to be used for traffic classification. This argument can be a combination of multiple
ACLs. For more information about this argument, refer to
Table 1-4
and
Table 1-5
. Note that the ACL
rules referenced must be those defined with the
permit
keyword.
Содержание 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 ...