Configuration procedure

When the ARP packet rate exceeds the rate limit set on an interface, the device with ARP packet rate limit enabled sends trap and log messages to inform the event. To avoid too many trap and log messages, you can set the interval for sending such messages. Within each interval, the device will output the peak ARP packet rate in the trap and log messages.

Note that trap and log messages are generated only after the trap function of ARP packet rate limit is enabled. Trap and log messages will be sent to the information center of the device. You can set the parameters of the information center to determine the output rules of trap and log messages. The output rules specify whether the messages are allowed to be output and where they are bound for. For the parameter configuration of the information center, see Network Management and Monitoring Configuration Guide.

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.

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.

For more information, see the snmp-agent trap enable arp command in Network Management and Monitoring Command Reference.

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/Layer 2 aggregate interface view.

interface interface-type interface-number

N/A

5. Configure ARP packet rate limit.

arp rate-limit { disable | rate pps drop }

By default, ARP packet rate limit is disabled.