Configuration guidelines, Configuration prerequisites, Configuration procedure – H3C Technologies H3C MSR 50 User Manual
Page 77
69
Configuring router priority, preemptive mode, and tracking
function
Configuration guidelines
•
The running priority of an IP address owner is always 255 and you do not need to configure it. An
IP address owner always operates in preemptive mode.
•
If you configure an interface to be tracked or a track entry to be monitored on a router that is the IP
address owner in a VRRP group, the configuration does not take effect. If the router is not the IP
address owner in the VRRP group later, the configuration takes effect.
•
The tracked interface can be a Layer 3 Ethernet interface, a VLAN interface, a
synchronous/asynchronous serial interface, a POS interface, an MP-group interface, a dialer
interface, a BRI interface, or an HDLC link bundle interface. The Layer 2 protocol used by the
tracked synchronous/asynchronous serial interfaces can be PPP only, and the tracked
synchronous/asynchronous serial interfaces cannot be added to a virtual template or MP-group; the
dialer interface should function as the PPPoE client and operate in the permanent online mode; the
BRI interface should operate in dedicated line mode.
•
If the state of a tracked interface changes from down or removed to up, the priority of the router
where the interface resides is automatically restored.
•
If the state of a track entry changes from negative or invalid to positive, the priority of the router
where the track entry is configured is automatically restored.
Configuration prerequisites
Before you configure router priority, preemptive mode and tracking function, create a VRRP group on an
interface and configure a virtual IP address for it.
Configuration procedure
By configuring router priority, preemptive mode, interface tracking, or a track entry, you can determine
which router in the VRRP group serves as the master.
To configure router priority, preemptive mode and the tracking function:
Step Command
Remarks
61.
Enter system view.
system-view
N/A
62.
Enter interface view.
interface interface-type
interface-number
N/A
63.
Configure router priority in the
VRRP group.
vrrp vrid virtual-router-id priority
priority-value
Optional.
The default is 100.
64.
Configure the router in the
VRRP group to operate in
preemptive mode and
configure preemption delay.
vrrp vrid virtual-router-id
preempt-mode [ timer delay
delay-value ]
Optional.
The router in the VRRP group
operates in preemptive mode and
the preemption delay is 0 seconds
by default.
65.
Configure the interface to be
tracked.
vrrp vrid virtual-router-id track
interface interface-type
interface-number [ reduced
priority-reduced ]
Optional.
By default, no interface is being
tracked.