Configuring VRRP and VRRPE

VRRPE Syntax

Syntax: ip vrrp-extended auth-type no-auth simple-text-auth <auth-data>

The parameter values are the same as for VRRP.

Router Type

A VRRP interface is either an Owner or a Backup for a given VRID. By default, the Owner becomes the Master following the negotiation. A Backup becomes the Master only if the Master becomes unavailable.

A VRRPE interface is always a Backup for its VRID. The Backup with the highest VRRP priority becomes the Master.

This section describes how to specify the interface type, how to change the type for VRRP, and how to set or change the interface’s VRRP or VRRPE priority and track priority for the VRID.

NOTE: You can force a VRRP master router to abdicate (give away control) of the VRID to a Backup by temporarily changing the Master’s VRRP priority to a value less than the Backup’s. See “Forcing a Master Router To Abdicate to a Standby Router” on page 12-18.

NOTE: The type Owner is not applicable to VRRPE.

NOTE: The IP address(es) you associate with the Owner must be a real IP address (or addresses) on the interface on which you configure the VRID.

When you configure a Backup router, the router interface on which you are configuring the VRID must have a real IP address that is in the same sub-net as the address associated with the VRID by the Owner. However, the address cannot be the same.

USING THE CLI

To configure Router1 as a VRRP VRID’s Owner, enter the following commands:

Router1(config)# inter e 1/6

Router1(config-if-1/6)# ip vrrp vrid 1

Router1(config-if-1/6-vrid-1)# owner

To configure Router2 as a VRRP Backup for the same VRID, enter the following commands:

Router2(config)# inter e 1/5

Router2(config-if-1/5)# ip vrrp vrid 1

Router2(config-if-1/5-vrid-1)# backup

To configure a VRRPE interface as a Backup for a VRID and set its VRRPE priority and track priority, enter commands such as the following:

HP9300(config)# inter e 1/1 HP9300(config-if-1/1)# ip vrrp-extended vrid 1

HP9300(config-if-1/1-vrid-1)# backup priority 50 track-priority 10

VRRP Syntax

Syntax: owner [track-priority <value>]

The track-priority<value> parameter changes the track-port priority for this interface and VRID from the default

(2) to a value from 1 – 254.

Syntax: backup [priority <value>] [track-priority <value>]

The priority <value> parameter specifies the VRRP priority for this interface and VRID. You can specify a value from 3 – 254. The default is 100.

The track-priority<value> parameter is the same as above.

12 - 15