C
HAPTER
45
| IP Interface Commands
IPv4 Interface
– 1403 –
arp timeout This command sets the aging time for dynamic entries in the Address
Resolution Protocol (ARP) cache. Use the no form to restore the default
timeout.
SYNTAX
arp timeout seconds
no arp timeout
seconds - The time a dynamic entry remains in the ARP cache.
(Range: 300-86400; 86400 seconds is one day)
DEFAULT SETTING
1200 seconds (20 minutes)
COMMAND MODE
Global Configuration
COMMAND USAGE
â—† When a ARP entry expires, it is deleted from the cache and an ARP
request packet is sent to re-establish the MAC address.
â—† The aging time determines how long dynamic entries remain in the
cache. If the timeout is too short, the switch may tie up resources by
repeating ARP requests for addresses recently flushed from the table.
EXAMPLE
This example sets the ARP cache timeout for 15 minutes (i.e., 900
seconds).
Console(config)#arp timeout 900
Console(config)#
clear arp-cache This command deletes all dynamic entries from the Address Resolution
Protocol (ARP) cache.
COMMAND MODE
Privileged Exec
EXAMPLE
This example clears all dynamic entries in the ARP cache.
Console#clear arp-cache
This operation will delete all the dynamic entries in ARP Cache.
Are you sure to continue this operation (y/n)?y
Console#