The qos lr inbound whitelist protocol command adds protocol packets to the whitelist for inbound interface-based rate limiting.
The undo qos lr inbound whitelist protocol command cancels the configuration.
By default, no protocol packet is added to the whitelist for inbound interface-based rate limiting.
Only the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S support this command.
qos lr inbound whitelist protocol { arp-request | bpdu | dhcp | igmp | rip }*
undo qos lr inbound whitelist protocol { arp-request | bpdu | dhcp | igmp | rip }*
Parameter |
Description |
Value |
---|---|---|
arp-request |
Indicates ARP request packets and Neighbor Solicitation (NS) messages. |
- |
bpdu |
Indicates BPDUs. |
- |
dhcp |
Indicates DHCP and DHCPv6 packets. |
- |
igmp |
Indicates IGMP packets, including IPv4 IGMP, IPv6 MLDv1, IPv6 MLDv2, and PIM packets. |
- |
rip |
Indicates RIP and OSPF packets. |
- |
Usage Scenario
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. To make the qos lr inbound command ineffective to one or more types of protocol packets (for example, DHCP packets, ARP request packets, and NS messages), you can run the qos lr inbound whitelist protocol command to add the protocol packets to the whitelist for inbound interface-based rate limiting. Then, the switch will not rate-limit incoming packets of these protocols on all interfaces.
Precautions
After the qos lr inbound whitelist protocol command is run to add protocol packets to the whitelist for inbound interface-based rate limiting, incoming packets of these protocols are exempted from traffic suppression and storm control.