Configuring VRRP and VRRPE

Configuring Router2 Using the CLI

To configure Router2 in Figure 12.2 on page 12-3after enabling VRRP, enter the following commands:

Router2(config)# router vrrp Router2(config)# inter e 1/5 Router2(config-if-1/5)# ip address 192.53.5.3 Router2(config-if-1/5)# ip vrrp 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.1 Router2(config-if-1/5-vrid-1)# activate

The backup command specifies that this router is a VRRP 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 VRRP priority in relation to the other VRRP router(s) in this virtual router. The track-priorityparameter specifies the new VRRP 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 VRRP configuration.

Syntax: router vrrp

Syntax: ip vrrp vrid <vrid>

Syntax: owner [track-priority <value>]

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

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

Syntax: ip-address <ip-addr>

Syntax: activate

USING THE WEB MANAGEMENT INTERFACE

Use the following procedures to create a virtual router using the Web management interface.

NOTE: Some of the data entry fields contain zeros. When you save a VRRP definition, the software uses the default values for the parameters instead of zeros. The Web management interface shows zeros instead of the defaults because the defaults differ depending on whether you are creating an Owner or a Backup. The software does not know which type of VRID entry you are creating until you select Add to add the entry.

Configuring Router1 Using the Web Management Interface

To configure VRRP Router1 in Figure 12.2 on page 12-3after you enable VRRP:

1.Log on to the device using a valid user name and password for read-write access. The System configuration dialog is displayed.

2.Click on the plus sign next to Configure in the tree view to expand the list of configuration options.

3.Click on the plus sign next to VRRP in the tree view to expand the list of VRRP option links.

4.Click on the Virtual Router link.

12 - 31