– 965 –
31 VRRP Commands
Virtual Router Redundancy Protocol (VRRP) use a virtual IP address to support a
primary router and multiple backup routers. The backup routers can be configured
to take over the workload if the master router fails, or can also be configured to
share the traffic load. The primary goal of router redundancy is to allow a host
device which has been configured with a fixed gateway to maintain network
connectivity in case the primary gateway goes down.
To configure VRRP, select an interface on each router in the group that will
participate in the protocol as the master router or a backup router. To select a
specific device as the master router, set the address of this interface as the virtual
router address for the group. Now set the same virtual address and a priority on the
backup routers, and configure an authentication string. You can also enable the
preempt feature which allows a router to take over as the master router when it
comes on line if it has a higher priority than the currently active master router.
Table 191: VRRP Commands
Command Function Mode
vrrp authentication Configures a key used to authenticate VRRP packets
received from other routers
IC
vrrp ip Enables VRRP and sets the IP address of the virtual router IC
vrrp preempt Configures the router to take over as master virtual router
for a VRRP group if it has a higher priority than the current
master virtual router
IC
vrrp priority Sets the priority of this router in the VRRP group IC
vrrp timers advertise Sets the interval between successive advertisements by
the master virtual router
IC
show vrrp Displays VRRP status information PE
show vrrp interface Displays VRRP status information for the specified interface PE
show vrrp interface
counters
Displays VRRP statistics for the specified interface PE
show vrrp router counters Displays VRRP statistics PE