From wikistone
(Created page with "==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 adver...") |
|||
| Line 19: | Line 19: | ||
Jack with timers to make it better. | Jack with timers to make it better. | ||
<pre> | <pre> | ||
| − | (config-if)# vrrp [1..255] timers advertise [msec] [ | + | (config-if)# vrrp [1..255] timers advertise [msec] [#] |
! or learn from master | ! or learn from master | ||
(config-if)# vrrp [1..255] timers learn</pre> | (config-if)# vrrp [1..255] timers learn</pre> | ||
Revision as of 23:19, 20 December 2012
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]
.