Configuration prerequisites, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 147

Advertising
background image

138

Configuring router priority, preemptive mode and tracking
function

Configuration prerequisites

Before you configure router priority, preemptive mode and tracking function, create a VRRP group and

configure its virtual IPv6 address.

Configuration procedure

By configuring router priority, preemptive mode, interface tracking, or a track entry, determine which

router in the VRRP group serves as the master.
Follow these steps to configure router priority, preemptive mode and interface tracking:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter the specified interface view

interface interface-type
interface-number

Configure the priority of the router
in the VRRP group

vrrp ipv6 vrid virtual-router-id
priority priority-value

Optional
100 by default

Configure the router in the VRRP
group to work in preemptive mode

and configure preemption delay of

the VRRP group

vrrp ipv6 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 zero seconds

by default.

Configure the interface to be
tracked

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

interface-number [ reduced
priority-reduced
]

Optional
No interface is being tracked by
default.

Configure VRRP to track a

specified track entry

vrrp ipv6 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.

Interface tracking is not configurable on an IP address owner.

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.

If the state of a tracked interface changes from down or removed to up, the priority of the router that
owns the interface 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