To enable ARP detection logging:
Step
1.
Enter system view.
2.
Enable ARP detection
logging.
Displaying and maintaining ARP detection
Execute display commands in any view and reset commands in user view.
Task
Display the VLANs enabled with
ARP detection.
Display the ARP detection
statistics.
Clear the ARP detection statistics.
User validity check and ARP packet validity check
configuration example
Network requirements
As shown in
check based on static IP source guard bindings and DHCP snooping entries for connected hosts.
Figure 54 Network diagram
Configuration procedure
1.
Add all interfaces on Switch B to VLAN 10, and specify the IP address of VLAN-interface 10 on
Switch A. (Details not shown.)
Command
system-view
arp detection log enable
Command
display arp detection
display arp detection statistics [ interface interface-type
interface-number ]
reset arp detection statistics [ interface interface-type
interface-number ]
Figure
54, configure Switch B to perform ARP packet validity check and user validity
195
Remarks
N/A
By default, ARP detection logging
is disabled.