beautypg.com

CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 158

background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 158 of 350

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.


Outputs

The following outputs on R1and R2 display the complete configuration for each session on R1
and R2. In session one R1 is the master router and in session 2 R2 is the master router.

R1#show vrrp 1

VRID <1>

State : Master

Virtual IP : 10.10.10.81(IP owner)

Interface : eth-0-1

VMAC : 0000.5e00.0101

Advt timer : 5