Configuration examples, Vrrp example, Configuring switch 1 – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 478: Configuring switch 2

Advertising
background image

460

Brocade ICX 6650 Layer 3 Routing Configuration Guide

53-1002603-01

Configuration examples

Configuration examples

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

Figure 31

on page 413 and

Figure 32

on page 419.

VRRP example

To implement the VRRP configuration shown in

Figure 31

on page 413, use the following method.

Configuring Switch 1

To configure VRRP Switch 1, 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.

Configuring Switch 2

To configure Switch 2 in

Figure 31

on page 413 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 Switch 1. In this case, the IP address cannot also exist on Switch 2, 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.

Brocade Switch1(config)#router vrrp

Brocade Switch1(config)#interface ethernet 1/1/6

Brocade Switch1(config-if-e10000-1/1/6)#ip-address 192.168.5.1/24

Brocade Switch1(config-if-e10000-1/1/6)#ip vrrp vrid 1

Brocade Switch1(config-if-e10000-1/1/6-vrid-1)#owner track-priority 20

Brocade Switch1(config-if-e10000-1/1/6-vrid-1)#track-port ethernet 1/1/2

Brocade Switch1(config-if-e10000-1/1/6-vrid-1)#ip-address 192.168.5.1

Brocade Switch1(config-if-e10000-1/1/6-vrid-1)#activate

Brocade Switch2(config)#router vrrp

Brocade Switch2(config)#interface ethernet 1/1/5

Brocade Switch2(config-if-e10000-1/1/5)#ip-address 192.168.5.3/24

Brocade Switch2(config-if-e10000-1/1/5)#ip vrrp vrid 1

Brocade Switch2(config-if-e10000-1/1/5-vrid-1)#backup priority 100

track-priority 19

Brocade Switch2(config-if-e10000-1/1/5-vrid-1)#track-port ethernet 1/1/3

Brocade Switch2(config-if-e10000-1/1/5-vrid-1)#ip-address 192.168.5.1

Brocade Switch2(config-if-e10000-1/1/5-vrid-1)#activate

Advertising