Line rate configuration example – H3C Technologies H3C S5120 Series Switches User Manual

Page 362

Advertising
background image

4-2

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

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 1280 kbps.

[Sysname-GigabitEthernet1/0/1] qos lr outbound cir 1280

Advertising