beautypg.com

CANOGA PERKINS 9175 Configuration Guide User Manual

Page 128

background image

CanogaOS Configuration Guide

20-5


R2

DUT# configure terminal

Enter the Configure mode.

DUT(config)#router vrrp 1

Create a new VRRP session on the router and specify the VRID for the
session.

DUT(config-router)#virtual-ip
10.10.10.81

Set the virtual IP address for the VRRP session.

DUT(config-router)#interface eth-0-1

Specify the physical interface that will participate in virtual routing.

DUT(config-router)#priority 200

Configure the priority to 200 (less than 255) as R2 is the Backup router.

DUT(config-router)#preempt-mode true Set the preempt mode to specify that the highest priority will function as

a backup to master when master is unavailable

DUT(config-router)#
advertisement-interval 5

Configure the advertisement interval to 5 seconds.

DUT(config-router)# enable

Enable the VRRP session 1 on the router.

DUT(config)# exit

Exit Router mode and enter the Configure mode.

DUT(config)#router vrrp 2

Create a new VRRP session on the router and specify the VRID for the
session.

DUT(config-router)#virtual-ip
10.10.10.82

Set the virtual IP address for the VRRP session.

DUT(config-router)#interface eth-0-1

Specify the physical interface that will participate in virtual routing.

DUT(config-router)# preempt-mode true Set the preempt mode to specify that the highest priority will function as

a backup to master when master is unavailable

DUT(config-router)#
advertisement-interval 5

Configure the advertisement interval to 5 seconds.

DUT(config-router)# enable

Enable the VRRP session 2 on the router.

DUT(config-router)# enable

Enable the VRRP session 1 on the router.

DUT(config-router)# exit

Exit Router mode and enter the Configure mode.

DUT(config)#router vrrp 2

Create a new VRRP session on the router and specify the VRID for the
session.

DUT(config-router)#virtual-ip
10.10.10.82

Set the virtual IP address for the VRRP session.

DUT(config-router)#interface eth-0-1

Specify the physical interface that will participate in virtual routing.

DUT(config-router)#priority 200

Configure the priority to 200 (less than 255) as R1 is the Backup router.

DUT(config-router)# preempt-mode true Set the preempt mode to specify that the highest priority will function as

a backup to master when master is unavailable

DUT(config-router)#
advertisement-interval 5

Configure the advertisement interval to 5 seconds.

DUT(config-router)# enable

Enable the VRRP session 2 on the router.