R3204P16-HP Load Balancing Module High Availability Command Reference-6PW101
13
Parameters
real-mac: Associates the real MAC address of the interface with the virtual IP addresses of the VRRP
groups.
virtual-mac: Associates the virtual MAC address with the virtual IP address of the VRRP group.
Description
Use the vrrp method command to set the association between the virtual IP addresses and the MAC
addresses of the VRRP groups.
Use the undo vrrp method command to restore the default association.
By default, the virtual MAC address is associated with the virtual IP address of the VRRP group.
You need to configure the association between the virtual IP address and the MAC address before
creating any VRRP group. Otherwise, your configuration will fail.
When VRRP works in load balancing mode, the association between virtual IP address and the MAC
address cannot be configured. In this mode, a virtual IP address is always associated with a virtual MAC
address.
Related commands: display vrrp.
Examples
# Associate the virtual IP address of a VRRP group with the real MAC address of the interface.
<Sysname> system-view
[Sysname] vrrp method real-mac
vrrp un-check ttl
Syntax
vrrp un-check ttl
undo vrrp un-check ttl
View
Interface view
Default level
2: System level
Parameters
None
Description
Use the vrrp un-check ttl command to disable TTL check on VRRP packets.
Use the undo vrrp un-check ttl command to enable TTL check on VRRP packets.
By default, TTL check on VRRP packets is enabled.
The master of a VRRP group periodically sends VRRP advertisements to indicate its existence. The VRRP
advertisements are multicast onto the local network segment and not forwarded by a router, and
therefore the packet TTL value will not be changed. When the master of a VRRP group advertises VRRP
packets, it sets the packet TTL to 255. After you configure to check the VRRP packet TTL, when the backups
of the VRRP group receive VRRP packets, they check the packet TTL and drop the VRRP packets whose TTL
is smaller than 255, so as to prevent attacks from other network segments.