The arp rate-limit command configures the rate limit of ARP VLAN CAR for ARP packets on an interface.
The undo arp rate-limit command restores the default configuration.
By default, the rate limit of ARP VLAN CAR for ARP packets configured on an interface is 20pps.
Parameter | Description | Value |
---|---|---|
rate |
Specifies the rate limit of ARP VLAN CAR for ARP packets configured on an interface. When the threshold is reached, perform the CAR operation for the packets. |
The value is an integer, in pps. The value is 0 or an integer ranging from 21 to 1024. If the value is 0, ARP VLAN CAR is not performed for ARP packets to be sent to the CPU. |
Usage Scenario
To set the rate limit of ARP VLAN CAR for ARP packets on an interface, run the arp rate-limit command.
Configuration Impact
If you configure a rate limit (1024 pps, for example) which is larger than the default rate limit of CP-CAR, the configured ARP VLAN CAR cannot take effect. CP-CAR can be configured by running the car arp cir cir-value command. For details, see Configuring the CAR. The configuration of CP-CAR can be checked by running the display cpu-defend car arp statistics command.
You can run the display arp rate-limit interface command to check the rate limit of ARP VLAN CAR configured on an interface.Precautions
After configuring ARP VLAN CAR, the system checks the rate of ARP packets at an interval of 5 seconds. If no packet loss is detected after three continuous checks, ARP VLAN CAR will not take effect.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] arp rate-limit 50
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] arp rate-limit 0