beautypg.com

Vrrp example, Configuring switch 1, Configuring switch 2 – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 632

background image

VRRP example

To implement the VRRP configuration shown in "VRRP Overview," use the following method.

Configuring Switch 1

To configure VRRP Switch 1, enter the following commands.

device Switch1(config)#router vrrp

device Switch1(config)#interface ethernet 1/6

device Switch1(config-if-1/6)#ip address 192.53.5.1

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

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

device Switch1(config-if-1/6-vrid-1)#track-port ethernet 2/4

device Switch1(config-if-1/6-vrid-1)#ip-address 192.53.5.1

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

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 "VRRP Overview" after enabling VRRP, enter the following commands.

device Switch2(config)#router vrrp

device Switch2(config)#interface ethernet 1/5

device Switch2(config-if-1/5)#ip address 192.53.5.3

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

device Switch2(config-if-1/5-vrid-1)#backup priority 100 track-priority 19

device Switch2(config-if-1/5-vrid-1)#track-port ethernet 3/2

device Switch2(config-if-1/5-vrid-1)#ip-address 192.53.5.1

device Switch2(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 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.

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 subnet as the address associated with the VRID by the
Owner. However, the address cannot be the same.

The priority parameter establishes the router VRRP priority in relation to the other VRRP routers 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.

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.
Alternatively, you can use the enable command. The activate and enable commands do the same
thing.

Syntax: router vrrp

VRRP example

632

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04