Configuring VRRP and VRRPE

Configuring Basic VRRPE Parameters

To implement a simple VRRPE configuration using all the default values, enter commands such as the following on each routing switch.

Router2(config)# router vrrp-extended

Router2(config)# inter e 1/5

Router2(config-if-1/5)# ip address 192.53.5.3

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

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

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

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

NOTE: You also can use the enable command to activate the configuration. This command does the same thing as the activate command.

Configuration Rules for VRRPE

The interfaces of all routers in a VRID must be in the same IP sub-net.

The IP address(es) associated with the VRID cannot be configured on any of the routing switches.

The Hello interval must be set to the same value on all the routing switches.

The Dead interval must be set to the same value on all the routing switches.

The track priority for a VRID must be lower than the VRRPE priority.

Note Regarding Disabling VRRP or VRRPE

If you disable VRRP or VRRPE, the routing switch removes all the configuration information for the disabled protocol from the running-config. Moreover, when you save the configuration to the startup-config file after disabling one of these protocols, all the configuration information for the disabled protocol is removed from the startup-config file.

The CLI displays a warning message such as the following:

HP9300(config-vrrp-router)# no router vrrp

router vrrp mode now disabled. All vrrp config data will be lost when writing to flash!

The Web management interface does not display a warning message.

If you have disabled the protocol but have not yet saved the configuration to the startup-config file and reloaded the software, you can restore the configuration information by re-entering the command to enable the protocol (ex: router vrrp), or by selecting the Web management option to enable the protocol. If you have already saved the configuration to the startup-config file and reloaded the software, the information is gone.

If you are testing a VRRP or VRRPE configuration and are likely to disable and re-enable the protocol, you might want to make a backup copy of the startup-config file containing the protocol’s configuration information. This way, if you remove the configuration information by saving the configuration after disabling the protocol, you can restore the configuration by copying the backup copy of the startup-config file onto the flash memory.

Configuring Additional VRRP and VRRPE Parameters

You can modify the following VRRP and VRRPE parameters on an individual VRID basis. These parameters apply to both protocols:

Authentication type (if the interfaces on which you configure the VRID use authentication)

Router type (Owner or Backup)

12 - 13