Displaying and debugging arp, Arp configuration example, Arp basic configuration example – H3C Technologies H3C S3100 Series Switches User Manual
Page 493: Network requirement

1-9
The sending of gratuitous ARP packets is enabled as long as an S3100 switch operates. No command
is needed for enabling this function. That is, the device sends gratuitous ARP packets whenever a
VLAN interface is enabled (such as when a link is enabled or an IP address is configured for the VLAN
interface) or whenever the IP address of a VLAN interface is changed.
Displaying and Debugging ARP
After the above configuration, you can execute the display command in any view to display the running
of the ARP configuration, and to verify the effect of the configuration.
You can execute the reset command in user view to clear ARP entries.
Table 1-8 Display and debug ARP
Operation
Command
Remarks
Display specific ARP mapping
table entries
display arp [ static | dynamic |
ip-address ]
Display the ARP mapping entries
related to a specified string in a
specified way
display arp [ dynamic | static ] | { begin
| include | exclude } regular-expression
Display the number of the ARP
entries of a specified type
display arp count [ [ dynamic | static ]
[ | { begin | include | exclude }
regular-expression ] | ip-address ]
Display the statistics about the
untrusted ARP packets dropped
by the specified port
display arp detection statistics
interface interface-type
interface-number
Display the setting of the ARP
aging timer
display arp timer aging
Available in any
view.
Clear specific ARP entries
reset arp [ dynamic | static | interface
interface-type interface-number ]
Available in user
view.
Among the S3100 series Ethernet switches, only the S3100-EI series support display arp detection
statistics interface interface-type interface-number command.
ARP Configuration Example
ARP Basic Configuration Example
Network requirement
z
Disable ARP entry check on the switch.
z
Set the aging time for dynamic ARP entries to 10 minutes.