VRRP is an IETF-standard (RFC 5798) first-hop redundancy protocol that enables a group of routers to form a single virtual router, eliminating the single point of failure inherent in static default gateway configurations. A master router forwards traffic for the virtual IP address while backup routers monitor its health and take over through an election process if the master fails. IOS-XR supports VRRP on Ethernet interfaces, sub-interfaces, and link bundles, with IPv4 (version 2 and 3) and IPv6 address families.
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value router_vrrp Class router_vrrp No
Name Type Constraint Mandatory Default Value interfaces List interfaces No
Name Type Constraint Mandatory Default Value name String Regex: ^(FastEthernet| GigabitEthernet| TenGigE| TwentyFiveGigE| FortyGigE| FiftyGigE| HundredGigE| TwoHundredGigE| FourHundredGigE| EightHundredGigE| BVI| Bundle-Ether| Bundle-POS| CEM| GCC[0-2] | Loopback| MgmtEth| Multilink| Null| POS| PW-Ether| SRP| lpts| nve| preconfigure| tunnel-ip| tunnel-ipsec| tunnel-mte| tunnel-te| tunnel-tp) \s?\d+(/ [A-Z0-9] +) *(\. \d+) ?$ Yes mac_refresh Integer min: 0, max: 10000 No delay_minimum Integer min: 0, max: 10000 No delay_reload Integer min: 0, max: 10000 No bfd_ minimum_ interval Integer min: 3, max: 30000 No bfd_multiplier Integer min: 2, max: 50 No ipv4 List ipv4 No ipv6 List ipv6 No
Name Type Constraint Mandatory Default Value group Integer min: 1, max: 255 Yes version Integer min: 2, max: 3 Yes address String No priority Integer min: 1, max: 254 No name String No text_ authentication String No secondary_ addresses List secondary_ addresses No timer_ advertisement_ seconds Integer min: 1, max: 255 No timer_ advertisement_ milliseconds Integer min: 100, max: 40950 No timer_force Boolean true, falseNo preempt_disable Boolean true, falseNo preempt_delay Integer min: 1, max: 3600 No accept_ mode_ disable Boolean true, falseNo track_ interfaces List track_ interfaces No track_objects List track_objects No bfd_ fast_ detect_ peer_ ipv4 String No unicast_peer String No
Name Type Constraint Mandatory Default Value group Integer min: 1, max: 255 Yes accept_ mode_ disable Boolean true, falseNo linklocal_ address String No linklocal_ address_ autoconfig Boolean true, falseNo bfd_ fast_ detect_ peer_ ipv6 String No global_ addresses List global_ addresses No name String No preempt_delay Integer min: 1, max: 3600 No preempt_disable Boolean true, falseNo priority Integer min: 1, max: 254 No timer_ advertisement_ milliseconds Integer min: 100, max: 40950 No timer_ advertisement_ seconds Integer min: 1, max: 255 No timer_force Boolean true, falseNo unicast_peer String No track_ interfaces List track_ interfaces No track_objects List track_objects No
Name Type Constraint Mandatory Default Value address String Yes
Name Type Constraint Mandatory Default Value name String Yes priority_ decrement Integer min: 1, max: 254 No
Name Type Constraint Mandatory Default Value name String Yes priority_ decrement Integer min: 1, max: 254 Yes
Name Type Constraint Mandatory Default Value address String Yes
Name Type Constraint Mandatory Default Value name String Regex: ^(FastEthernet| GigabitEthernet| TenGigE| TwentyFiveGigE| FortyGigE| FiftyGigE| HundredGigE| TwoHundredGigE| FourHundredGigE| EightHundredGigE| BVI| Bundle-Ether| Bundle-POS| CEM| GCC[0-2] | Loopback| MgmtEth| Multilink| Null| POS| PW-Ether| SRP| lpts| nve| preconfigure| tunnel-ip| tunnel-ipsec| tunnel-mte| tunnel-te| tunnel-tp) \s?\d+(/ [A-Z0-9] +) *(\. \d+) ?$ Yes priority_ decrement Integer min: 1, max: 254 No
Name Type Constraint Mandatory Default Value name String Yes priority_ decrement Integer min: 1, max: 254 Yes
Example-1: Active/backup gateway pair VLAN with BFD, uplink tracking, and unicast peering
- name : Bundle-Ether1.100
bfd_minimum_interval : 100
timer_advertisement_seconds : 3
accept_mode_disable : true
unicast_peer : 172.16.100.3
bfd_fast_detect_peer_ipv4 : 172.16.100.3
Example-2: Dual-stack with IPv4 and IPv6 VRRP on the same interface
- name : TenGigE0/0/0/1.200
bfd_minimum_interval : 200
text_authentication : campus200
timer_advertisement_seconds : 1
- name : HundredGigE0/0/0/0
- address : " 2001:db8:200::1 "
linklocal_address_autoconfig : true
timer_advertisement_seconds : 1
accept_mode_disable : true
bfd_fast_detect_peer_ipv6 : " fe80::2 "
- name : HundredGigE0/0/0/0
Example-3: Multiple VRRP groups for load sharing across two VLANs — each router is master for one group and backup for the other
- name : GigabitEthernet0/0/0/1
Example-4: Single IPv4 gateway
- name : GigabitEthernet0/0/0/0