
IP Configuration Command Set
Reviewing and Configuring the ARP Table
12-24
Matrix NSA Series Configuration Guide
12.2.4.4
ip gratuitous-arp-learning
Use this command to allow an interface to learn new ARP bindings using gratuitous ARP. This
command will be in effect if the i
p gratuitous-arp ignore
command (
Section 12.2.4.3
) is used.
There will be no learning from gratuitous ARP frames, even with the
ip gratuitous-arp-learning
command enabled.
ip gratuitous-arp-learning
{
both
|
reply
|
request
}
Syntax Description
Command Syntax of the “no” Form
The “no” form of this command disables gratuitous ARP learning:
no ip gratuitous-arp-learning
Command Type
Router command.
Command Mode
Interface configuration:
Matrix>Router1(config-if(Vlan 1))#
Command Defaults
None.
Example
This example shows how to enable gratuitous ARP learning for both requests and replies on
VLAN 1:
both
|
reply
|
request
Allows learning from gratuitous ARP reply, ARP request, or
from both the ARP reply and request.
Matrix>Router1(config)#
interface vlan 1
Matrix>Router1(config-if(Vlan 1))#
ip
gratuitous-arp-learning both