This section describes the commands you use to configure ARP and to view ARP information on the switch. ARP associates IP addresses with MAC addresses and stores the information as ARP entries in the ARP cache.
This command creates an ARP entry. The value for <ipaddress> is the IP address of a device on a subnet attached to an existing routing interface. <macaddr> is a unicast MAC address for that device. The format of the MAC address is 6 two-digit hexadecimal numbers that are separated by colons, for example 00:06:29:32:81:40.
This command deletes an ARP entry. The value for <ipaddress> is the IP address of a device on a subnet attached to an existing routing interface.
This command enables proxy ARP on a router interface. Without proxy ARP, a device only responds to an ARP request if the target IP address is an address configured on the interface where the ARP request arrived. With proxy ARP, the device may also respond if the target IP address is reachable. The device only responds if all next hops in its route to the destination are through interfaces other than the interface that received the ARP request.
This command disables proxy ARP on a router interface.
This command configures the ARP cache size. The ARP cache size value is a platform specific integer value. The default size also varies depending on the platform.
This command configures the default ARP cache size.
This command enables the ARP component to automatically renew dynamic ARP entries when they age out.
This command prevents dynamic ARP entries from renewing when they age out.
This command causes the specified IP address to be removed from the ARP cache. Only entries of type dynamic or gateway are affected by this command.
This command configures the ARP request response timeout. The value for <seconds> is a valid positive integer, which represents the IP ARP entry response timeout time in seconds. The range for <seconds> is between 1-10 seconds.
This command configures the default ARP request response timeout.
This command configures the ARP count of maximum request for retries. The value for <retries> is an integer, which represents the maximum number of request for retries. The range for <retries> is an integer between 0-10 retries.
This command configures the default ARP count of maximum request for retries.
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.
This command configures the default ARP entry ageout time.
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.
Use this command to clear the contents of the switch’s 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 apr-switch
command and check the show arp-switch
entries. There will be no more arp entries.
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.
The following are displayed for each ARP entry.
This command displays the brief Address Resolution Protocol (ARP) table information.
This command displays the contents of the switch’s Address Resolution Protocol (ARP) table.