
132
To do…
Use the command…
Remarks
Enter the specified VLAN interface
view or Layer 3 Ethernet interface
view
interface
interface-type
interface-number
—
Configure the VF to monitor a
specified track entry and specify
the amount by which the weight
decreases
vrrp vrid
virtual-router-id
weight
track
track-entry-number
[
reduced
weight-reduced
]
Required
No track entry is specified by
default.
NOTE:
•
You can configure the VF tracking function when VRRP works in either standard protocol mode or load
balancing mode; however, the VF tracking function is effective only when VRRP works in load balancing
mode.
•
By default, the weight of a VF is 255, and its lower limit of failure is 10.
•
If the weight of a VF owner is higher than or equal to the lower limit of failure, the priority of the VF
owner is always 255 and does not change with the weight value. Therefore, in case of an uplink failure,
another VF takes over the VF owner's work and becomes the AVF only when the weight of the VF owner
decreases by a properly specified value and becomes lower than the lower limit of failure. In other
words, the weight of the VF owner decreases by more than 245.
Configuring VRRP packet attributes
Configuration prerequisites
Before you configure the relevant attributes of VRRP packets, create a VRRP group and configure a virtual
IP address for it.
Configuration procedure
Follow these steps to configure VRRP packet attributes:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter the specified VLAN interface
view or Layer 3 Ethernet interface
view
interface
interface-type
interface-number
—
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 advertisements
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.