Advanced Configuration and Management Guide

17.Select the Save link at the bottom of the dialog, then select Yes when prompted to save the configuration change to the startup-config file on the device’s flash memory.

VRRPE Example

To implement the VRRPE configuration shown in Figure 12.3 on page 12-7,use the following CLI method.

Configuring Router1 Using the CLI

To configure VRRP Router1 in Figure 12.3 on page 12-7,enter the following commands:

Router1(config)# router vrrp-extended Router1(config)# inter e 1/6 Router1(config-if-1/6)# ip address 192.53.5.2 Router1(config-if-1/6)# ip vrrp-extended vrid 1

Router1(config-if-1/6-vrid-1)# backup priority 200 track-priority 20 Router1(config-if-1/6-vrid-1)# track-port ethernet 2/4 Router1(config-if-1/6-vrid-1)# ip-address 192.53.5.254 Router1(config-if-1/6-vrid-1)# activate

NOTE: The address you enter with the ip-addresscommand cannot be the same as a real IP address configured on the interface.

Configuring Router2 Using the CLI

To configure Router2, enter the following commands:

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 priority 100 track-priority 19 Router2(config-if-1/5-vrid-1)# track-port ethernet 3/2 Router2(config-if-1/5-vrid-1)# ip-address 192.53.5.254 Router2(config-if-1/5-vrid-1)# activate

The backup command specifies that this router is a VRRPE Backup for virtual router VRID1. The IP address entered with the ip-addresscommand is the same IP address as the one entered when configuring Router1. In this case, the IP address cannot also exist on Router2, but the interface on which you are configuring the VRID Backup must have an IP address in the same sub-net. By entering the same IP address as the one associated with this VRID on the Owner, you are configuring the Backup to back up the address, but you are not duplicating the address.

NOTE: 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.

The priority parameter establishes the router’s VRRPE priority in relation to the other VRRPE router(s) in this virtual router. The track-priorityparameter specifies the new VRRPE priority that the router receives for this VRID if the interface goes down. See “Track Ports and Track Priority” on page 12-5.

The activate command activates the VRID configuration on this interface. The interface does not provide backup service for the virtual IP address until you activate the VRRPE configuration. Alternatively, you can use the enable command. The activate and enable commands do the same thing.

Syntax: router vrrp-extended

Syntax: ip vrrp-extended vrid <vrid>

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

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

Syntax: ip-address <ip-addr>

12 - 34