1 ip gratuitous-arp, Ip gratuitous – PLANET WGSW-52040 User Manual

Page 432

Advertising
background image

27-43

Chapter 27 Commands for

Gratuitous ARP Configuration

27.1 ip gratuitous-arp

Command:

ip gratuitous-arp [<interval-time>]

no ip gratuitous-arp

Function:

To enabled gratuitous ARP, and specify update interval for gratuitous ARP. The no form of this command will disable

the gratuitous ARP configuration.

Parameters:

<interval-time> is the update interval for gratuitous ARP with its value limited between 5 and 1200 seconds and with

default value as 300 seconds.

Command Mode:

Global Configuration Mode and Interface Configuration Mode.

Default:

Gratuitous ARP is disabled by default.

Usage Guide:

When configuring gratuitous ARP in global configuration mode, all the Layer 3 interfaces in the switch will be enabled

to send gratuitous ARP request. If gratuitous ARP is configured in interface configuration mode, then only the

specified interface is able to send gratuitous ARP requests. When configuring the gratuitous ARP, the update interval

configuration from interface configuration mode has higher preference than that from the global configuration mode.

Example:

1)

To enable gratuitous ARP in global configuration mode, and set the update interval to be 400 seconds.

Switch>enable

Switch#config

Switch(config)#ip gratuitous-arp 400

2)

To enable gratuitous ARP for interface VLAN 10 and set the update interval to be 350 seconds.

Switch(config)#interface vlan 10

Switch(Config-if-Vlan10)#ip gratuitous-arp 350

Advertising