beautypg.com

H3C Technologies H3C SecBlade LB Cards User Manual

Page 31

background image

23

NOTE:

You can configure a maximum of 16 VRRP groups on an interface and a maximum of 16 virtual IP
addresses in a VRRP group.

Configuring router priority, preemptive mode and tracking function

1.

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 or a VLAN 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.

2.

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.

3.

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.
The default is 100.

4.

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.

5.

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.

6.

Configure VRRP to track a
specified track entry.

vrrp vrid virtual-router-id track
track-entry-number [ reduced

priority-reduced | switchover ]

Optional.
By default, VRRP is not configured
to track a specified track entry.

This manual is related to the following products: