2-12
View
VLAN interface view
Default Level
2: System level
Parameters
interval milliseconds: Sets the interval at which gratuitous ARP packets are sent. The value ranges 200
to 5000, in milliseconds. The default value is 2000 ms.
Description
Use the arp anti-attack send-gratuitous-arp command to enable periodic sending of gratuitous ARP
packets and set the sending interval.
Use the undo arp anti-attack send-gratuitous-arp command to disable the device from periodically
sending gratuitous ARP packets.
By default, the device is disabled from sending gratuitous ARP packets periodically.
Note that:
z This function takes effect only when the link of the interface goes up and an IP address has been
assigned to the interface.
z If you change the interval of sending ARP packets, the configuration is effective at the next sending
interval.
Examples
# Enable VLAN-interface 2 to send gratuitous ARP packets every 300 ms.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] arp anti-attack send-gratuitous-arp 300