Configuring VRRP and VRRPE

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

Router2(config-if-1/5-vrid-1)# dead-interval 30

Syntax: dead-interval <value>

The syntax is the same for VRRP and VRRPE.

Backup Hello Message State and Interval

By default, Backup do not send Hello messages to advertise themselves to the Master. You can enable these messages if desired and also change the message interval.

USING THE CLI

To enable a Backup to send Hello messages to the Master, enter commands such as the following:

HP9300(config)# router vrrp

HP9300(config)# inter e 1/6

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

HP9300(config-if-1/6-vrid-1)# advertise backup

Syntax: [no] advertise backup

When you enable a Backup to send Hello messages, the Backup sends a Hello messages to the Master every 60 seconds by default. You can change the interval to be up to 3600 seconds. To do so, enter commands such as the following:

HP9300(config)# router vrrp

HP9300(config)# inter e 1/6

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

HP9300(config-if-1/6-vrid-1)# backup-hello-interval 180

Syntax: [no] backup-hello-interval <num>

The <num> parameter specifies the message interval and can be from 60 – 3600 seconds. The default is 60 seconds.

The syntax is the same for VRRP and VRRPE.

Track Port

You can configure the VRID on one interface to track the link state of another interface on the routing switch. This capability is quite useful for tracking the state of the exit interface for the path for which the VRID is providing redundancy. See “Track Ports and Track Priority” on page 12-5.

USING THE CLI

To configure 1/6 on Router1 to track interface 2/4, 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)# track-port e 2/4

Syntax: track-port ethernet <portnum> ve <num>

The syntax is the same for VRRP and VRRPE.

Track Priority

When you configure a VRID to track the link state of other interfaces, if one of the tracked interface goes down, the software changes the VRRP or VRRPE priority of the VRID interface.

For VRRP, the software changes the priority of the VRID to the track priority, which typically is lower than the VRID priority and lower than the VRID’s priorities configured on the Backups. For example, if the VRRPE interface’s priority is 100 and a tracked interface with track priority 60 goes down, the software changes the VRRPE interface’s priority to 60.

For VRRPE, the software reduces the VRID priority by the amount of the priority of the tracked interface that went down. For example, if the VRRPE interface’s priority is 100 and a tracked interface with track priority 60

12 - 17