CANOGA PERKINS 9175 Configuration Guide User Manual

Page 130

Advertising
background image

CanogaOS Configuration Guide

20-7

20.6.5 Sample

Configuration

The following scenario explains this feature.
To configure VRRP Circuit Failover, each circuit is configured to have a corresponding
priority-delta value, which is passed to VRRP when a failure occurs. The priority of each
Virtual Router on the circuit is decremented by the priority delta value causing the VR
Master to VR Backup transition.
In this example, two routers R1 and R2 are configured as backup routers with different
priorities. The priority-delta value is configured to be greater than the difference of both
the priorities. R1 is configured to have a priority of 100 and R2 has a priority of 90. R1
with a greater priority, is the Virtual Router Master. The priority-delta value is 20, greater
than 10 (100 minus 90). On R1 when the external interface eth1 fails, the priority of R1
becomes 80 (100 minus 20). Since R2 has a greater priority (90) than R1, R2 becomes
the VR Master and routing of packages continues without interruption.
When this VR Backup (R1) is up again, it regains it original priority (100) and becomes
the VR Master again.

eth2

eth2

Figure 20-5: VRRP Example


R1

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.1

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)# priority 100

Configure the priority 100.

DUT(config-router)# track interface

Configure the priority-delta value to be 20. In case of failover, this

Advertising