Configuring ARP ARP Configurations
User Guide     509
 ■ Viewing ARP Entries 
On privileged EXEC mode or any other configuration mode, you can use the following 
command to view ARP entries:
show arp [
ip
] [
mac
]
ip:
 Specify the IP address of your desired ARP entry.
mac: 
Specify the MAC address of your desired ARP entry.
show ip arp { fastEthernet 
port 
| gigabitEthernet 
port 
| ten-gigabitEthernet 
port 
| port-channel 
lagid 
| 
vlan 
vid
 }
Verify the active ARP entries associated with a Layer 3 interface.
port:
 Specify the number of the routed port.
lagid:
 Specify the ID of the LAG.
vid:
 Specify the VLAN interface ID.
2.2.2  Configuring the Gratuitous ARP 
 ■ Configuring Gratuitous ARP Globally
Follow these steps to add static ARP entries:
Step 1 configure
Enter global configuration mode.
Step 2 gratuitous-arp intf-status-up enable
Enable the Layer 3 interface to send a gratuitous ARP packet to detect if its IP address is used 
by other devices. It is enabled by default
Step 3 gratuitous-arp dup-ip-detected enable
(Optional) Enable the Layer 3 interface to send a gratuitous packet when the interface received 
a gratuitous ARP packet with the  same IP address with its own. It is disabled by default.
Step 4 gratuitous-arp learning enable
(Optional) Enable the switch to learn MAC address entries from gratuitous ARP packets. 
Generally, the switch only learn MAC address entries form normal ARP packets. With this 
option enabled, the switch will also learn MAC address entries from gratuitous ARP packets. By 
default, it is disabled.
Step 5 show gratuitous-arp
Show the gratuitous ARP configuration.
Step 6 end
Return to privileged EXEC mode. 
Step 7 copy running-config startup-config
Save the settings in the configuration file.
This example shows how to enable Send on IP Interface Status Up, Send on Duplicate IP 
Detected and Gratuitous ARP Learning features: