CANOGA PERKINS 9175 Configuration Guide User Manual

Page 127

Advertising
background image

CanogaOS Configuration Guide

20-4

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

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 on the router.


Information flows only from the RP to the receivers. If a host other than the RP has to
send data on the tree, the data must first be tunneled to the RP, and then multicast to the
members. This means that even if a receiver is also a source, it can only use the tree to
receive packets from the RP, and not to send packets to the RP (unless the source is
located between the RP and the receivers).

20.6.2 Configuring VRRP (Two Virtual Router)

In the one virtual router example earlier, R2 is not backed up by R1. This example
illustrates how to backup R2 by configuring a second virtual router.
In this configuration, R1 and R2 are two virtual routers and the hosts split their traffic
between R1 and R2. R1 and R2 function as backups for each other.

Figure 20-4: Two Virtual Router

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.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)#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.

Advertising