arp send-gratuitous enable vrrp
Syntax
arp send-gratuitous enable vrrp
undo arp send-gratuitous enable vrrp
View
System view
Parameters
None
Description
Use the arp send-gratuitous enable vrrp command to enable the master switch of a VRRP backup
group to send gratuitous ARP packets periodically. Upon receiving the gratuitous ARP packets, hosts
on the network update their respective ARP tables. This can prevent other devices on the network from
using the same IP address as the VRRP backup group.
Use the undo arp send-gratuitous enable vrrp command to disable this function.
By default, this function is disabled.
Note that: Before enabling the master switch of a VRRP backup group to send gratuitous ARP packets
periodically, you need to create the VRRP backup group and perform corresponding configurations.
Refer to the part discussing VRRP in this manual for details.
Examples
# Enable the master switch of the VRRP backup group to send gratuitous ARP packets periodically.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] arp send-gratuitous enable vrrp
arp static
Syntax
arp static ip-address mac-address [ vlan-id interface-type interface-number ]
arp static ip-address mac-address vlan-id (in Ethernet port view)
undo arp ip-address
View
System view, Ethernet port view
Parameters
ip-address: IP address contained in the ARP mapping entry to be created/removed.
mac-address: MAC address contained in the ARP mapping entry to be created, in the format of H-H-H.
vlan-id: ID of the VLAN to which the static ARP entry belongs, in the range of 1 to 4,094.
interface-type: Type of the port to which the static ARP entry belongs.
1-2