2234
C
146: IP
4-B
HAPTER
V
Description
Examples
vrrp vrid track interface
Syntax
View
Parameter
VRRP C
ASED
ONFIGURATION
reduced priority-reduced: Specifies the value by which the priority decreases.
priority-reduced ranges from 1 to 255 and defaults to 10.
Use the
vrrp vrid track
When the status of the monitored Track object changes to negative, the priority of
the router decreases by a specified value.
Use the
undo vrrp vrid track
By default, no Track object is specified to be monitored.
Note that:
Before executing the command, create a standby group on an interface and
■
configure the virtual IP address of the standby group.
When the router is the IP address owner, you cannot perform the
■
configuration.
When the status of the monitored Track object turns from negative to positive,
■
the corresponding router restores its priority automatically.
The Track object specified in this command can be nonexistent. You can use
■
the vrrp vrid track command to specify a Track object, and then create the
Track object using the track command.
n
For details of the Track object, refer to "Track Configuration Commands" on page
2529.
# Configure to monitor Track object 1 on interface Ethernet 1/0, making the
priority of standby group 1 on Ethernet 1/0 decrease by 50 when Track object 1
turns to negative.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-Ethernet1/0] vrrp vrid 1 track 1 reduced 50
vrrp vrid virtual-router-id track interface interface-type interface-number [ reduced
priority-reduced ]
undo vrrp vrid virtual-router-id track [ interface interface-type interface-number ]
Interface view
virtual-router-id: VRRP standby group number, in the range 1 to 255.
interface interface-type interface-number: Specifies an interface to be tracked by
its type and number.
reduced priority-reduced: Specifies the value by which the priority decrements.
priority-reduced ranges from 1 to 255 and defaults to 10.
C
OMMANDS
command to specify the Track object to be monitored.
command to cancel the specified Track object.