HSRP, VRRP, GLBP, and IP SLA
First-hop redundancy protocols provide a stable default gateway while real routers fail, recover, or lose upstream reachability. netverdict models HSRP, VRRP, GLBP, IP SLA, and object tracking for failover labs.
Support level
Section titled “Support level”| Area | Level | Notes |
|---|---|---|
| HSRP | Supported | Active/standby election, virtual IP/MAC, priority, preempt, tracking, version 1 and 2. Hellos, Coup and Resign are on the wire in a capture (Packet Lens), decoded by Wireshark; version 2 sends TLV hellos to 224.0.0.102. |
| VRRP | Supported | Master/backup election over IPv4 and IPv6 (VRRPv3). Advertisements are on the wire in a capture (Packet Lens), decoded by Wireshark; IPv6 adverts go to ff02::12. |
| GLBP | Behaviour model | AVG election and per-host forwarder MACs. Hellos are on the wire in a capture (Packet Lens), decoded by Wireshark. |
| IP SLA | Behaviour model | icmp-echo, tcp-connect and udp-echo probes feed object tracking. |
| Object tracking | Supported | Priority decrement and failover triggers. |
Standards coverage
Section titled “Standards coverage”| Standard | Coverage | Notes |
|---|---|---|
| RFC 2281 | Behaviour model | HSRP-style gateway redundancy, version 1 and version 2. |
| RFC 3768 / RFC 5798 | Behaviour model | VRRPv2 over IPv4, VRRPv3 over IPv4 and IPv6. |
| Cisco GLBP | Behaviour model | AVG/AVF concepts. |
| Cisco IP SLA | Behaviour model | Probe and tracking semantics. |
Feature matrix
Section titled “Feature matrix”| Feature | Status | Notes |
|---|---|---|
| HSRP group | Supported | Interface group config. |
| HSRP priority/preempt | Supported | Determines active router. |
| HSRP tracking | Supported | Priority decrement based on tracked object. |
| HSRP version 2 | Supported | standby version 2 per interface: virtual MAC 0000.0c9f.fXXX, groups 0 to 4095. A v1 and a v2 router on one segment do not hear each other, so both go Active. Written back. |
| HSRP for IPv6 | Not modelled | standby N ipv6 is not run. |
| VRRP virtual address | Supported | IPv4, and IPv6 with VRRPv3. The master answers traffic to the IPv4 virtual address whether or not it owns it, as IOS does by default; the HSRP active and the GLBP forwarder the AVG assigns answer a ping to theirs too. |
| VRRP IPv6 | Supported | VRRPv3 for IPv6. Election as for IPv4; the owner of the address runs at 255. The master answers Neighbor Solicitations for the virtual address with MAC 00-00-5E-00-02-{VRID}. Hosts whose default router is the virtual link-local (such as FE80::1) reach off-link through the master, and through the backup after a failover. |
| VRRP Accept_Mode | Supported | The owner always answers traffic to the virtual addresses (IPv4, IPv6 link-local and global). A non-owner master answers on IOS and IOS-XE; on Junos only with accept-data (vrrp-group and vrrp-inet6-group, read and written back). Otherwise ARP/ND are still answered and the traffic is dropped. |
| VRRP router advertisements | Not modelled | The virtual router sends no RAs. |
| VRRP priority | Supported | Master election. |
NX-OS hsrp version 2 | Supported | Read and written back as one line. |
| Timers and preempt delay | Supported | HSRP and GLBP timers [msec] H [msec] D, VRRP timers advertise (VRRPv3 in milliseconds), NX-OS advertisement-interval, EOS advertisement interval, Junos advertise-interval / fast-interval; preempt delay minimum and Junos preempt hold-time. Master_Down is 3 × interval + skew (RFC 5798 §6.1); VRRPv3 learns the master’s interval, VRRPv2 drops an advert with another interval. A returning router listens a full window before claiming. Adverts go out at the configured interval in a capture. The engine steps in 1 s rounds, so a sub-second timer is detected within the round. |
| Group shutdown | Supported | IOS vrrp N shutdown and shutdown in a VRRPv3 block, NX-OS vrrpv3 shutdown (classic NX-OS vrrp N needs no shutdown), EOS vrrp N disabled: the group stops, the port stays up. |
| HSRP for IPv6 | Supported | standby version 2 with standby N ipv6 autoconfig|FE80::…|prefix: virtual MAC 0005.73a0.0XXX, the active answers NS and sends the RAs from the virtual link-local; Hellos to FF02::66, UDP 2029. Hosts follow a failover. NX-OS and EOS HSRP-IPv6 are not read. |
| GLBP weighting and load balancing | Supported | weighting MAX [lower L] [upper U], weighting track OBJ decrement D with hysteresis; load-balancing round-robin|weighted|host-dependent. The model has no ARP order: round-robin takes the requester’s address modulo the forwarder count. A stopped forwarder’s MAC is not taken over by another member. |
Secondary virtual IPs, authentication, mac-address | Supported | standby|vrrp N ip X secondary are answered; HSRP, VRRP and GLBP authentication is compared and a mismatch splits the group (HSRP’s default text is cisco); standby N mac-address sets the active’s virtual MAC. |
| State history | Supported | show standby counts state changes and the last one; VRRPv3 and NX-OS show State duration; Junos detail shows the uptimes. show vrrp on Junos and EOS uses their own layouts. |
| Groups in a topology document | Supported | HSRP (with version 2 and tracks), VRRP (with acceptMode, tracks and IPv6) and GLBP groups declared in a document run like configured ones. Timers, preempt delay, authentication and GLBP weighting from a document have no effect. |
| Check Point Gaia VRRP | Supported | Monitored-circuit VRRP and simplified mcvr from a clish export. |
| GLBP AVG/AVF | Behaviour model | Gateway/load-sharing concept. |
| IP SLA icmp-echo | Supported | Tracks reachability. An HTTP or jitter operation is read and written back, but not run. |
| Track object | Supported | Feeds HSRP/VRRP decisions and static-route failover. |
ASA sla monitor | Supported | ICMP echo probe with its schedule, track N rtr N reachability, and route ... track N: the tracked route leaves the table when the target is unreachable, and a floating backup takes over. |
| FHRP authentication | Supported | HSRP, VRRP and GLBP keys are compared; a mismatch splits the group into two actives or masters. |
Vendor command matrix
Section titled “Vendor command matrix”| Command | IOS-style | Junos-style | VyOS-style | Notes |
|---|---|---|---|---|
standby 10 ip 10.0.10.1 | Supported | n/a | n/a | HSRP virtual IP. |
standby 10 priority 110 | Supported | n/a | n/a | Election priority. |
standby 10 preempt | Supported | n/a | n/a | Preemption. |
vrrp 10 ip 10.0.10.1 | Supported | Supported | Partial | VRRP virtual IP. Junos vrrp-group N virtual-address A with priority, no-preempt, accept-data and track interface|route … priority-cost. EOS flat vrrp N ipv4 and vrrp N ipv6 are two address families of one group. |
fhrp version vrrp v3 | Supported | n/a | n/a | IOS-XE VRRPv3 mode. |
vrrp 10 address-family ipv6 | Supported | Supported | n/a | IOS-XE VRRPv3 block: address FE80::1 primary, address 2001:db8::1/64, priority, preempt, track, exit-vrrp. address-family ipv4 is read too. Written back. NX-OS VRRPv3 IPv6 is not read. |
vrrp 10 ipv6 FE80::1 | Supported | n/a | n/a | Flat VRRP IPv6 form. |
standby version 2 | Supported | n/a | n/a | HSRP version 2 on the interface. |
no vrrp 7 | Supported | n/a | Supported | Interface-level VRRP group removal for IOS/IOS-XE and NX-OS-style trees. |
glbp 10 ip 10.0.10.1 | Partial | n/a | n/a | GLBP group. |
ip sla 1 | Supported | n/a | Partial | Probe definition. |
show standby brief | Supported | n/a | n/a | HSRP state in IOS’s layout: port, group, priority, P, state, active and standby by address (local for this router). show standby is headed <port> - Group N and shows (version 2), the virtual MAC, configured and current priority and the tracks. |
show vrrp brief | Supported | Partial | Partial | VRRP state in IOS’s layout: port, group, priority, Master_Down time, owner, preempt, state, master address and group address. A VRRPv3 group switches to the IOS-XE VRRPv3 layout with an A-F column. NX-OS show vrrpv3 [brief]. Junos and VyOS print the IOS layout. |
vrrpv3 N address-family ipv4|ipv6 (NX-OS) | Supported | n/a | n/a | With feature vrrpv3: address A primary, priority, preempt, track. |
show track [N] | Supported | n/a | n/a | Each track object’s state; an interface track names its port and the HSRP/VRRP/GLBP groups that follow it. |
Behaviour notes
Section titled “Behaviour notes”Elections are deterministic. Priority wins, then stable tie-breaks are used. Tracking changes are applied as events, so a replayed failure has the same gateway transition.
Examples
Section titled “Examples”Canonical example
configure terminalinterface Vlan10 ip address 10.0.10.2 255.255.255.0 standby 10 ip 10.0.10.1 standby 10 priority 110 standby 10 preempt standby 10 track 1 decrement 30ip sla 1 icmp-echo 192.0.2.1track 1 ip sla 1 reachabilityendshow standby briefVendor styles
IOS-style
interface Vlan10 standby 10 ip 10.0.10.1 standby 10 priority 110 standby 10 preempt standby 10 track 1 decrement 30Junos-style
set interfaces irb unit 10 family inet address 10.0.10.2/24 vrrp-group 10 virtual-address 10.0.10.1set interfaces irb unit 10 family inet address 10.0.10.2/24 vrrp-group 10 priority 110VyOS-style
set high-availability vrrp group VLAN10 interface eth1set high-availability vrrp group VLAN10 virtual-address 10.0.10.1/24set high-availability vrrp group VLAN10 priority 110Try it
Section titled “Try it”Known limits
Section titled “Known limits”An IOS-XE accept-mode knob (a non-owner master answers, as by default; for
IPv6 this default is assumed), VRRP router advertisements,
HSRP for IPv6 on NX-OS and EOS, IP SLA jitter thresholds, HSRP timers learned
from the active, VRRPv2 timers learn, a GLBP secondary forwarder taking
over a stopped one’s MAC, and failure detection finer than the 1 s round are
not modelled.