Configuring the rate limit for an interface

The rate limit for an interface specifies the maximum rate of incoming or outgoing packets on the interface.

Only Layer 2 Ethernet interfaces support the rate limit feature.

To configure the rate limit for an interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Configure the rate limit for the interface.

qos lr { inbound | outbound } cir committed-information-rate [ cbs committed-burst-size ]

By default, no rate limit is configured on an interface.