Instruction Manual

6
Virtual Router Redundancy Protocol (VRRP)
Contents
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
General Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
Virtual Router (VR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Virtual IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Master Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9
Owner Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10
Backup Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10
Virtual Router MAC Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10
VRRP and ARP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-11
General Operating Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-11
Steps for Provisioning VRRP Operation . . . . . . . . . . . . . . . . . . . . . . . . 6-13
Basic Configuration Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13
Example Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15
Associating More Than One Virtual IP Address
With a VR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-17
Configuring VRRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-18
Enabling VRRP in the Global Configuration Context . . . . . . . . . . . . . 6-18
Creating a VR and Entering the VR Context . . . . . . . . . . . . . . . . . . . . 6-19
Configuring a VR Instance on a VLAN Interface . . . . . . . . . . . . . . . . . 6-20
Changing VR Advertisement Interval and Source IP Address . . 6-23
Preempt Mode on VRRP Backup Routers . . . . . . . . . . . . . . . . . . . 6-25
Enabling or Disabling VRRP Operation on a VR . . . . . . . . . . . . . 6-25
Dynamically Changing the Priority of the VR . . . . . . . . . . . . . . . . . . . 6-26
CLI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-27
Configuring Track Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-27
6-1