Command Reference Guide

Address Resolution Protocol Commands
CLI Command Reference
September 2014 Page 505
HP Moonshot Switch Module CLI Command Reference
arp timeout
This command configures the ARP entry ageout time.
The value for
seconds is a valid positive integer, which represents the IP ARP entry ageout time in seconds. The
range for
seconds is between 15-21600 seconds.
no arp timeout
This command configures the default ARP entry ageout time.
clear arp-cache
This command causes all ARP entries of type dynamic to be removed from the ARP cache. If the gateway
keyword is specified, the dynamic entries of type gateway are purged as well
.
clear arp-switch
Use this command to clear the contents of the switchs Address Resolution Protocol (ARP) table that contains
entries learned through the Management port. To observe whether this command is successful,
ping from the
remote system to the DUT. Issue the
show arp switch command to see the ARP entries. Then issue the clear
arp-switch command and check the show arp switch entries. There will be no more arp entries.
show arp
This command displays the Address Resolution Protocol (ARP) cache. The displayed results are not the total
ARP entries. To view the total ARP entries, the operator should view the
show arp results in conjunction with
the
show arp switch results.
Default 1200
Format
arp timeout 15-21600
Mode Global Config
Format
no arp timeout
Mode Global Config
Format
clear arp-cache [gateway]
Mode Privileged EXEC
Format
clear arp-switch
Mode Privileged EXEC
Format
show arp
Mode Privileged EXEC