The qos lr inbound command configures traffic policing in the inbound direction on an interface.
The undo qos lr inbound command cancels traffic policing in the inbound direction on an interface.
By default, traffic policing is not configured in the inbound direction on an interface.
Ethernet interface view, MultiGE interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view
Usage Scenario
When data is sent from a high-speed link to a low-speed link, the bandwidth on the interface of the low-speed link is insufficient. As a result, a large number of packets are discarded. In this case, the data traffic rate needs to be limited. After the traffic policing rate for incoming packets on an interface is set by using the qos lr inbound command, if the rate of packets received by the interface is larger than the traffic policing rate and the queue buffer is full, the packets exceeding the rate limit are discarded.
Precautions
When interface-based 802.1X authentication is configured and the RADIUS server delivers the rate limit, the interface does not support the rate limit.
If both the IPSG function and inbound interface-based rate limiting are configured on an interface of the S2720-EI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, S5720-SI, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI, both IPSG and interface-based rate-limiting configurations take effect as long as the configurations do not conflict. Otherwise, only the IPSG configuration takes effect.
Configuring the qos lr inbound command occupies system resources. If system resources are insufficient, the configuration fails.
If you run the qos lr inbound command multiple times on the same interface, only the latest configuration takes effect.
If you need to set the same traffic policing rate on multiple interfaces, you can perform the configuration on a port group to reduce the workload.