Configuration prerequisites, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 67

Advertising
background image

58

Configuring router priority, preemptive mode and tracking
function

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

1.

Enter system view.

system-view N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure router priority in the

VRRP group.

vrrp vrid virtual-router-id priority
priority-value

Optional.
100 by default.

4.

Configure the router in the

VRRP group to work 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 works
in preemptive mode and the

preemption delay is 0 seconds by
default.

5.

Configure the interface to be

tracked.

vrrp vrid virtual-router-id track
interface interface-type

interface-number [ reduced

priority-reduced ]

Optional.
No interface is being tracked by
default.

6.

Configure VRRP to track a

specified track entry.

vrrp vrid virtual-router-id track
track-entry-number [ reduced
priority-reduced
| switchover ]

Optional.
Not configured by default.

NOTE:

The running priority of an IP address owner is always 255 and you do not need to configure it. An IP
address owner always works 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.

Do not configure VRRP tracking for an interface or a track entry on an IP address owner.

The tracked interface can be a Layer 3 Ethernet interface, a VLAN interface, a Layer 3 aggregate
interface, a POS interface, an MP-group interface, an HDLC link bundle interface, or an RPR logical

interface.

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.

Advertising
This manual is related to the following products: