arp check log enable
Use arp check log enable to enable the ARP logging function.
Use undo arp check log enable to disable the ARP logging function.
Syntax
arp check log enable
undo arp check log enable
Default
ARP logging is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This function enables a device to log ARP events when ARP cannot resolve IP addresses correctly. The device can log the following ARP events:
On a proxy ARP-disabled interface, the target IP address of a received ARP packet is not one of the following IP addresses:
The IP address of the receiving interface.
The virtual IP address of the VRRP group.
The public address after NAT.
The sender IP address of a received ARP reply conflicts with one of the following IP addresses:
The IP address of the receiving interface.
The virtual IP address of the VRRP group.
The public address after NAT.
The device sends ARP log messages to the information center. You can use the info-center source command to specify the log output rules for the information center. For more information about information center, see Network Management and Monitoring Configuration Guide.
The device can generate a large amount of ARP logs. To conserve system resources, enable ARP logging only when you are troubleshooting or debugging ARP events.
Examples
# Enable ARP logging.
<Sysname> system-view [Sysname] arp check log enable