Use this command to allow an interface to learn new ARP bindings using gratuitous ARP.
both | Allows learning from both the gratuitous ARP reply and request. |
reply | Allows learning from the gratuitous ARP reply. |
request | Allows learning from the gratuitous ARP request. |
None.
Configuration command, Interface configuration command mode.
This command will not be in effect if the ip gratuitous-arp ignore command (ip gratuitous-arp) is used. There will be no learning from gratuitous ARP frames, even with the ip gratuitous-arp-learning command enabled.
Gratuitious ARP learning is disabled by default.
The “no” form of this command disables gratuitous ARP learning.
This example shows how to enable gratuitous ARP learning for both requests and replies on VLAN 1:
System(rw-config)->interface vlan 1 System(rw-config-intf-vlan.0.1)->ip gratuitous-arp-learning both