From wikistone
Revision as of 23:03, 21 December 2012 by Bill (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

VRRP

Virtual Router Redundancy Protocol

Open standard of HSRP. There is 1 Master and 1 or more Backups. VRRP virtual IP can be the IP of the master.

Only Master advertises (hello). Does so every 1 second (default) on 224.0.0.18 protocol 112. Backup becomes Master on Master Down based on Skew.

Default Timers:

  • Advertisement Interval: 1 sec
  • Master Down (dead): 3 x AI + Skew
  • Skew: (256-priority)/256

Commands

On all VRRP aware routers for a network, declare the VRRP group and IP on the network interface. Then set priority (optional) and preemption (optional).

(config-if)# vrrp [1..255] ip [master_ip_addr]
(config-if)# vrrp [1..255] priority [1..254]
(config-if)# vrrp [1..255] preempt [options]

Jack with timers to make it better.

(config-if)# vrrp [1..255] timers advertise [msec] [#]
! or learn from master
(config-if)# vrrp [1..255] timers learn

And track a tracked object and decrement the VRRP priority if that interface goes down.

(config-if)# vrrp [1..255] track [object#] decrement [1..255]

Preemption is enabled by default for VRRP. Disable it like so:

(config-if)# no vrrp preempt

.