vrrp send-gratuitous-arp

Use vrrp send-gratuitous-arp to enable periodic sending of gratuitous ARP packets for IPv4 VRRP.

Use undo vrrp send-gratuitous-arp to restore the default.

Syntax

vrrp send-gratuitous-arp [ interval interval ]

undo vrrp send-gratuitous-arp

Default

Periodic sending of gratuitous ARP packets is disabled for IPv4 VRRP.

Views

System view

Predefined user roles

network-admin

Parameters

interval: Specifies the sending interval in the range of 30 to 1200 seconds. The default value is 120 seconds.

Usage guidelines

This command ensures that the MAC address entry for the virtual MAC address of a VRRP group can be updated on downstream devices in a timely manner.

This command takes effect only in VRRP standard mode.

The master sends the first gratuitous ARP packet at a random time in the second half of the set interval after you execute the vrrp send-gratuitous-arp command. This prevents too many gratuitous ARP packets from being sent at the same time.

The sending interval for gratuitous ARP packets might be much longer than the set interval when the following conditions are met:

If you change the sending interval for gratuitous ARP packets, the configuration takes effect at the next sending interval.

Examples

# Enable periodic sending of gratuitous ARP packets for IPv4 VRRP and set the sending interval to 200 seconds.

<Sysname> system-view
[Sysname] vrrp send-gratuitous-arp interval 200