83
Ste
Command
Remarks
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Configure VF tracking.
• Configure the VFs in a VRRP
group to monitor a track entry
and configure the reduced
weight:
vrrp vrid virtual-router-id weight
track track-entry-number
[ reduced weight-reduced ]
• Configure an LVF to monitor an
AVF on the specified router:
vrrp vrid virtual-router-id track
track-entry-number
forwarder-switchover
member-ip ip-address
Use either approach.
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:
Ste
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:
Ste
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.