ip arp gratuitous
To enable the gratuitous Address Resolution Protocol (ARP) control on the router, use the ip arp gratuitous command in global configuration mode. To disable the ARP control, use the no form of this command.
ip arp gratuitous { local | none | ignore }
no ip arp gratuitous
Syntax Description
local |
Accepts only local (same subnet) gratuitous arps. |
none |
Rejects gratuitous arp control. |
ignore |
Stops processing all received gratuitous arps. |
Command Default
Gratuitous ARP control is enabled.
Gratuitous ARP control is disabled by default on the Cisco NCS 4200 Series routers.
Command Modes
Global configuration (config)
Command History
Release |
Modification |
---|---|
15.0(1)M |
This command was introduced in a release earlier than Cisco IOS Release 15.0(1)M. |
12.2(33)SRC |
This command was integrated into a release earlier than Cisco IOS Release 12.2(33)SRC. |
12.2(33)SXI |
This command was integrated into a release earlier than Cisco IOS Release 12.2(33)SXI. |
Cisco IOS XE Release 2.1 |
This command was integrated into Cisco IOS XE Release 2.1. |
Cisco IOS XE Dublin17.10.x |
The ignore keyword is added. |
Examples
The following example shows how to enable the gratuitous ARP control to accept only local (same subnet) gratuitous arp control:
Router> enable
Router# configure terminal
Router(config)# ip arp gratuitous local