Quick Reference Guide

742 PowerConnect B-Series TI24X Configuration Guide
53-1002269-02
Configuration examples
24
Configuration examples
The following sections contain the CLI commands for implementing the VRRP and VRRPE
configurations shown in Figure 113 on page 713 and Figure 114 on page 718.
VRRP example
To implement the VRRP configuration shown in Figure 113 on page 713, use the following method.
Configuring Router1
To configure VRRP Router1, enter the following commands.
NOTE
When you configure the Master (Owner), the address you enter with the ip-address command must
already be configured on the interface.
The ip vrrp owner command specifies that this router owns the IP address you are associating with
the VRID. Because this router owns the IP address, this router is the default Master router and its
VRRP priority is thus 255.
Configuring Router2
To configure Router2 in Figure 113 on page 713 after enabling VRRP, enter the following
commands.
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 subnet. 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.
Router1(config)# router vrrp
Router1(config)# inter e 6
Router1(config-if-6)# ip address 192.53.5.1
Router1(config-if-6)# ip vrrp vrid 1
Router1(config-if-6-vrid-1)# owner track-priority 20
Router1(config-if-6-vrid-1)# track-port ethernet 4
Router1(config-if-6-vrid-1)# ip-address 192.53.5.1
Router1(config-if-6-vrid-1)# activate
Router2(config)# router vrrp
Router2(config)# inter e 5
Router2(config-if-5)# ip address 192.53.5.3
Router2(config-if-5)# ip vrrp vrid 1
Router2(config-if-5-vrid-1)# backup priority 100 track-priority 19
Router2(config-if-5-vrid-1)# track-port ethernet 2
Router2(config-if-5-vrid-1)# ip-address 192.53.5.1
Router2(config-if-5-vrid-1)# activate