Skip to content

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.

AreaLevelNotes
HSRPSupportedActive/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.
VRRPSupportedMaster/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.
GLBPBehaviour modelAVG election and per-host forwarder MACs. Hellos are on the wire in a capture (Packet Lens), decoded by Wireshark.
IP SLABehaviour modelicmp-echo, tcp-connect and udp-echo probes feed object tracking.
Object trackingSupportedPriority decrement and failover triggers.
StandardCoverageNotes
RFC 2281Behaviour modelHSRP-style gateway redundancy, version 1 and version 2.
RFC 3768 / RFC 5798Behaviour modelVRRPv2 over IPv4, VRRPv3 over IPv4 and IPv6.
Cisco GLBPBehaviour modelAVG/AVF concepts.
Cisco IP SLABehaviour modelProbe and tracking semantics.
FeatureStatusNotes
HSRP groupSupportedInterface group config.
HSRP priority/preemptSupportedDetermines active router.
HSRP trackingSupportedPriority decrement based on tracked object.
HSRP version 2Supportedstandby 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 IPv6Not modelledstandby N ipv6 is not run.
VRRP virtual addressSupportedIPv4, 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 IPv6SupportedVRRPv3 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_ModeSupportedThe 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 advertisementsNot modelledThe virtual router sends no RAs.
VRRP prioritySupportedMaster election.
NX-OS hsrp version 2SupportedRead and written back as one line.
Timers and preempt delaySupportedHSRP 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 shutdownSupportedIOS 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 IPv6Supportedstandby 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 balancingSupportedweighting 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-addressSupportedstandby|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 historySupportedshow 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 documentSupportedHSRP (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 VRRPSupportedMonitored-circuit VRRP and simplified mcvr from a clish export.
GLBP AVG/AVFBehaviour modelGateway/load-sharing concept.
IP SLA icmp-echoSupportedTracks reachability. An HTTP or jitter operation is read and written back, but not run.
Track objectSupportedFeeds HSRP/VRRP decisions and static-route failover.
ASA sla monitorSupportedICMP 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 authenticationSupportedHSRP, VRRP and GLBP keys are compared; a mismatch splits the group into two actives or masters.
CommandIOS-styleJunos-styleVyOS-styleNotes
standby 10 ip 10.0.10.1Supportedn/an/aHSRP virtual IP.
standby 10 priority 110Supportedn/an/aElection priority.
standby 10 preemptSupportedn/an/aPreemption.
vrrp 10 ip 10.0.10.1SupportedSupportedPartialVRRP 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 v3Supportedn/an/aIOS-XE VRRPv3 mode.
vrrp 10 address-family ipv6SupportedSupportedn/aIOS-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::1Supportedn/an/aFlat VRRP IPv6 form.
standby version 2Supportedn/an/aHSRP version 2 on the interface.
no vrrp 7Supportedn/aSupportedInterface-level VRRP group removal for IOS/IOS-XE and NX-OS-style trees.
glbp 10 ip 10.0.10.1Partialn/an/aGLBP group.
ip sla 1Supportedn/aPartialProbe definition.
show standby briefSupportedn/an/aHSRP 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 briefSupportedPartialPartialVRRP 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)Supportedn/an/aWith feature vrrpv3: address A primary, priority, preempt, track.
show track [N]Supportedn/an/aEach track object’s state; an interface track names its port and the HSRP/VRRP/GLBP groups that follow it.

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.

Canonical example
configure terminal
interface 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 30
ip sla 1
icmp-echo 192.0.2.1
track 1 ip sla 1 reachability
end
show standby brief

Vendor styles

IOS-style
interface Vlan10
standby 10 ip 10.0.10.1
standby 10 priority 110
standby 10 preempt
standby 10 track 1 decrement 30
Junos-style
set interfaces irb unit 10 family inet address 10.0.10.2/24 vrrp-group 10 virtual-address 10.0.10.1
set interfaces irb unit 10 family inet address 10.0.10.2/24 vrrp-group 10 priority 110
VyOS-style
set high-availability vrrp group VLAN10 interface eth1
set high-availability vrrp group VLAN10 virtual-address 10.0.10.1/24
set high-availability vrrp group VLAN10 priority 110

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.