
Configuration Commands
Static ARP configuration
Static ARP entries are permanent in the ARP cache and do not age out like the ARP entries that are learnt dynamically. Static ARP entries enable the switch to reach the hosts without sending an ARP broadcast request to the network. Static ARPs are also useful to communicate with devices that do not respond to ARP requests. Static ARPs can also be configured on some gateways as a protection against malicious ARP Cache corruption and possible DOS attacks.
The following table describes the Static ARP Configuration commands.
Table 123 Static ARP Configuration commands
Command | Description | |
|
| |
ip arp <IP address> <MAC | Adds a permanent ARP entry. | |
address> <VLAN number> <port | Command mode: Global configuration | |
number> | ||
| ||
|
| |
no ip arp {<IP address>} | Deletes a permanent ARP entry. | |
| Command mode: Global configuration | |
|
| |
clear ip | Clears static ARP entries. | |
| Command mode: Global configuration | |
|
| |
show ip arp static | Displays current static ARP configuration. | |
| Command mode: All except User EXEC | |
|
|
145