Configuring the ARP detection logging function

The ARP detection logging function enables a device to generate ARP detection log messages when ARP packet attacks are detected. An ARP detection log message can include the following information:

The following is an example of an ARP detection log message:

Detected an inspection occurred on interface Ethernet1/0/1 with IP address 172.18.48.55 (Total 10 packets dropped).

To configure the ARP detection logging function:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable the ARP detection logging function.

arp detection log enable

By default, the ARP detection logging function is enabled.