Configuring ARP packet rate limit
This task sets a rate limit for ARP packets received on an interface.
When the receiving rate of ARP packets on the interface exceeds the rate limit, the device sends trap and log messages to inform the event. To avoid outputting too many trap and log messages, you can set the interval for sending such messages. The device outputs the peak ARP packet rate within each interval in the trap and log messages.
To output trap messages, enable the trap function for ARP packet rate limit. Trap and log messages are sent to the information center. You can set output rules for trap and log messages on the information center. For more information about information center, see Network Management and Monitoring Configuration Guide.
To configure ARP packet rate limit:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable ARP packet rate limit trap. | snmp-agent trap enable arp rate-limit | Optional. Enabled by default. |
3. Set the interval for sending trap and log messages when ARP packet rate exceeds the specified threshold rate. | arp rate-limit information interval seconds | Optional. 60 seconds by default. |
4. Enter Layer 2 Ethernet interface or Layer 2 aggregate interface view. | interface interface-type interface-number | N/A |
5. Configure or disable ARP packet rate limit. | arp rate-limit { disable | rate pps drop } | Disabled by default. |
If you enable ARP packet rate limit on a Layer 2 aggregate interface, trap and log messages are sent when the ARP packet rate of a member port exceeds the preset threshold rate.
For more information about the snmp-agent trap enable arp rate-limit command, see the snmp-agent trap enable arp command in Network Management and Monitoring Command Reference.