Configuring VRRP
Configuring Router2 Using the CLI
To configure Router2 in Figure 2 after enabling VRRP, 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 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-address command 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-priority parameter 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 8.
syntax: ip vrrp vrid <VRID>
syntax: owner [track-priority <value>]
syntax: backup [priority <value>] [track-priority <value>]
syntax: track-port ethernet <slot/port>
syntax: ip-address <ipaddr>
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 2 after you enable VRRP:
1.
Select VRRP from the System configuration sheet. The panel shown in Figure 3 appears.
NOTE: If you have already created VRRP definitions on the router, the VRRP Virtual Router panel is
displayed instead. In this case, click on Add VRRP Virtual Router.
2.
Select the interface from the pulldown list on the Port field. In this example, select 1/6.
3.
Enter the VRID in the Router ID field the Router ID field. In this example, use the default value, 1.
4.
Enter the track priority or leave the field blank to use the default. In this example, enter 20.
12