![H3C S5120-SI Series Operation Manual Download Page 346](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174346.webp)
4-2
Line Rate Configuration
Configuration procedure
The line rate of a physical interface specifies the maximum rate of incoming packets or outgoing
packets.
Follow these steps to configure the line rate:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter
interface
view
interface interface-type
interface-number
Enter
interface
view or
port group
view
Enter port
group
view
port-group manual port-group-name
Use either command
Settings in interface view take
effect on the current interface;
settings in port group view take
effect on all ports in the port
group.
Configure the line rate
for the interface/port
group
qos lr
{
inbound
|
outbound
}
cir
committed-information-rate
[
cbs
committed-burst-size
[
ebs
excess-burst-size
] ]
Required
Display line rate
information on the
interface
display
qos lr interface
[
interface-type
interface-number
]
Available in any view
Line rate configuration example
Limit the outbound line rate of GigabitEthernet 1/0/1 to 1280 kbps.
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface gigabitethernet 1/0/1
# Limit the outbound line rate of GigabitEthernet 1/0/1 to 500 kbps.
[Sysname-GigabitEthernet1/0/1] qos lr outbound cir 500