Configuring VRRP

Configuration Overview

OmniSwitch 6600 Family Network Configuration Guide

April 2006

page 19-13

Creating Tracking Policies

To create a tracking policy, use the 

vrrp track

 command and specify the amount to decrease a virtual 

router’s priority and the slot/port, IP address, or IP interface name to be tracked. For example:

-> vrrp track 3 enable priority 50 interface Marketing

In this example, a tracking policy ID (3) is created and enabled for the Marketing IP interface. If this inter-

face goes down, a virtual router associated with this track ID will have its priority decremented by 50. 

Note that the 

enable

 keyword administratively activates the tracking policy, but the policy does not take 

effect until it is associated with one or more virtual routers (see the next section).

Note the following:

•

A virtual router must be administratively disabled before a tracking policy for the virtual router can be 

added.

•

VRRP tracking does not override IP address ownership (the IP address owner will always have prior-

ity to become master, if it is available).

Associating a Tracking Policy With a Virtual Router

To associate a tracking policy with a virtual router, use the 

vrrp track-association

 command with the 

tracking policy ID number. In this example, virtual router 6 on VLAN 4 is disabled first so that tracking 

policy 3 may be associated with it:

-> vrrp 6 4 disable

-> vrrp 6 4 track-association 3

When the virtual router is re-enabled, tracking policy 3 will be used for that virtual router. If VLAN 2 

goes down, VRID 6 will have its priority decremented by 50.

A VLAN tracking policy should not be associated with a virtual router on the same VLAN. For example:

-> vrrp 5 2 track-association 3

This configuration is allowed but will not really have an effect. If VLAN 2 goes down, this virtual router 

goes down as well and the tracking policy is not applied.

Note. 

A master and a backup virtual router should not be tracking the same IP address; otherwise, when 

the IP address becomes unreachable, both virtual routers will have their priorities decremented, and the 

backup may temporarily take over if the master discovers that the IP address is unreachable before the 

backup.

Typically you should not configure the same IP address tracking policies on physical VRRP routers that 

back up each other; otherwise, the priority will be decremented for both master and backup when the 

entity being tracked goes down. 

Page 383
Image 383
Open full-size image