1-11
To do…
Use the command…
Remarks
Configure the authentication
mode and authentication key
when the VRRP groups send
and receive VRRP packets
vrrp vrid virtual-router-id
authentication-mode
{
md5
|
simple
}
key
Optional
Authentication is not performed
by default
Configure the time interval for
the Master in the VRRP group
to send VRRP advertisement
vrrp vrid virtual-router-id timer
advertise
adver-interval
Optional
1 second by default
Disable TTL check on VRRP
packets
vrrp un-check ttl
Optional
Enabled by default
You do not need to create a
VRRP group before executing
this command.
z
You may configure different authentication modes and authentication keys for the VRRP groups on
an interface. However, the members of the same VRRP group must use the same authentication
mode and authentication key.
z
Excessive traffic or different timer setting on routers can cause the Backup timer to time out
abnormally and trigger a change of the state. To solve this problem, you can prolong the time
interval to send VRRP packets.
Enabling the Trap Function of VRRP
After the trap function is enabled for a VRRP module, the VRRP module will generate traps with severity
level
errors
to report its key events. The generated traps will be sent to the information center of the
device, where you can configure whether to output the trap information and the output destination. For
information center configurations, refer to
Information Center Configuration
in the
System Volume
.
Follow these steps to enable the trap function of VRRP:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the trap function of
VRRP
snmp-agent trap enable vrrp
[
authfailure
|
newmaster
]
Optional
Enabled by default.
For detailed description on the
snmp-agent trap enable vrrp
command, refer to command
snmp-agent trap enable
in
SNMP Commands
in the
System Volume
.