ip arp-age

Configures ARP aging parameter.
Syntax
ip arp-age age-time
no ip arp-age age-time
Command Default

The default ARP aging is 10 minutes.

Parameters
age-time
Specifies the ARP age time in minutes. Valid range is from 0 to 240, 0 disables aging. The default is 10 minutes.
Modes

Global configuration mode

Interface configuration mode

Usage Guidelines

When the Layer 3 switch places an entry in the ARP cache, the Layer 3 switch also starts an aging timer for the entry. The aging timer ensures that the ARP cache does not retain learned entries that are no longer valid. An entry can become invalid when the device with the MAC address of the entry is no longer on the network.

The ARP age affects dynamic (learned) entries only, not static entries. The default ARP age is ten minutes. On Layer 3 switches, you can change the ARP age to a value from 0 through 240 minutes. You cannot change the ARP age on Layer 2 switches. If you set the ARP age to zero, aging is disabled and entries do not age out.

Use the command from interface configuration mode to override the globally configured IP ARP age on an individual interface.

The no form of the command resets the ARP aging to the default value of 10 minutes.

Examples

The following example configures the ARP aging time as 100 minutes.

device(config)# ip arp-age 100

The following example overrides the global ARP aging time on a particular interface.

device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# ip arp-age 30