Configuration examples, Vrrp example, Configuring router1 – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 928: Configuring router2

Advertising
background image

894

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

Configuration examples

Configuration examples

The following sections contain the CLI commands for implementing the VRRP and VRRPE
configurations shown in

Figure 112

on page 864 and

Figure 113

on page 869.

VRRP example

To implement the VRRP configuration shown in

Figure 112

on page 864, 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 112

on page 864 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 10.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 10.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 10.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 10.53.5.1

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

Advertising