
34
Configuring the line rate
Configuration procedure
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 inbound or
outbound line rate for the
interface/port group
qos lr
{
inbound
|
outbound
}
cir
committed-information-rate
Required
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 1280 kbps.
[Sysname-GigabitEthernet1/0/1] qos lr outbound cir 1280
Displaying and maintaining line rate
To do…
Use the command…
Remarks
Display interface line rate
configuration information
display
qos lr interface
[
interface-type
interface-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view