R3303-HP HSR6800 Routers High Availability Configuration Guide

157
specify the interface where the VRRP group resides as the source interface for sending VRRP packets,
the configuration does not take effect.
Configuration procedure
To configure VRRP packet attributes:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter the specified interface
view.
interface interface-type
interface-number
N/A
3. 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 } [ cipher ] key
Optional.
Authentication is not performed by
default.
4. Configure the time interval for
the master in the VRRP group
to send VRRP advertisements.
vrrp vrid virtual-router-id timer
advertise adver-interval
Optional.
1 second by default.
5. Specify the source interface
for sending VRRP packets.
vrrp vrid virtual-router-id
source-interface interface-type
interface-number
Optional.
Not specified by default.
6. Disable TTL check on VRRP
packets.
vrrp un-check ttl
Optional.
By default, TTL check on VRRP packets
is enabled.
You do not need to create a VRRP
group before executing this command.
Enabling the trap function for VRRP
When the trap function is enabled for VRRP, VRRP generates traps with severity level errors to report its
key events. The traps are sent to the information center of the device, where you can configure whether
to output the trap information and the output destination. For information about how to configure the
information center, see Network Management and Monitoring Configuration Guide.
To enable the trap function for VRRP:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enable the trap function for
VRRP.
snmp-agent trap enable vrrp
[ authfailure | newmaster ]
Optional.
By default, the trap function for
VRRP is enabled.
For more information about the
command, see the snmp-agent
trap enable command in Network
Management and Monitoring
Command Reference.