130
Step Command Remarks
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Configure the VFs in a VRRP
group to monitor a track
entry.
vrrp vrid
virtual-router-id
track
track-entry-number
{
forwarder-switchover
member-ip
ip-address |
priority
reduced
[ priority-reduced ] |
switchover
|
weight reduced
[ weight-reduced ] }
By default, the VF tracking
function is not configured.
Enabling SNMP notifications for VRRP
Perform this task to enable VRRP to report important events through notifications to the SNMP
module. The SNMP module determines how to output the notifications according to the configured
output rules. For more information about notifications, see Network Management and Monitoring
Configuration Guide.
To enable SNMP notifications for VRRP:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enable SNMP notifications
for VRRP.
snmp-agent trap enable vrrp
[
auth-failure
|
new-master
]
By default, SNMP notifications for
VRRP are enabled.
Disabling an IPv4 VRRP group
You can temporarily disable an IPv4 VRRP group. After being disabled, the VRRP group stays in
initialized state, and its configurations remain unchanged. You can change the configuration of a
VRRP group when the VRRP group is disabled. Your changes take effect when you enable the
VRRP group again.
To disable an IPv4 VRRP group:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Disable a VRRP group.
vrrp vrid
virtual-router-id
shutdown
By default, a VRRP group is
enabled.
Displaying and maintaining IPv4 VRRP
Execute display commands in any view and the reset command in user view.
Task Command
Display states of IPv4 VRRP
groups.
display
vrrp
[
interface
interface-type interface-number [
vrid
virtual-router-id ] ] [
verbose
]
Display statistics for IPv4 VRRP
display vrrp
statistics
[
interface
interface-type interface-number