liveBook · Manning

Standby router

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

A standby router is an HSRP router that monitors the active router and is ready to assume packet forwarding if it fails.

A standby router is an HSRP router that monitors the active router and waits to assume packet forwarding if it fails. The active router serves as the LAN’s default gateway, while the standby remains ready for automatic takeover. section 19.1.2 section 19.2.1

HSRP routers maintain their neighbor relationship with multicast hello messages. They share a virtual IP address (VIP) and virtual MAC address, so hosts continue using the same default gateway when the standby becomes active. section 19.1.2 section 19.4

During a failure and recovery, the standby router behaves as follows:

  • Detects the active router’s failure and takes over the active role; this transition is called failover. section 19.1.3
  • Sends gratuitous ARP messages after takeover so switches relearn the virtual MAC address on the new active router’s port. section 19.1.3
  • Leaves hosts’ default-gateway IP and ARP mappings unchanged because the VIP and virtual MAC remain the same. section 19.1.3
  • May remain active after the original router recovers, because HSRP preemption is disabled by default; enabling preemption allows the higher-priority router to reclaim the role. section 19.2.1 section 19.4

Two-router HSRP group

R1 uses 10.0.0.2, R2 uses 10.0.0.3, and both configure 10.0.0.1 as the group’s VIP. Giving R1 priority 105 makes it active while R2, with the default priority 100, remains standby. The command `standby 1 preempt` permits R1 to retake the active role after recovery. section 19.3

Figure 19.4 An FHRP failover. (1) A hardware failure occurs on R1. (2) R2 takes over as the active router. (3) R2 sends GARP messages, sourced from the virtual MAC and destined for the broadcast MAC. (4) The switches learn the virtual MAC on the appropriate ports—those leading toward the new active router. (5) End hosts’ default gateways and ARP table entries for the VIP remain the same.

Follow the failover sequence from hardware failure through standby takeover, gratuitous ARP, switch relearning, and unchanged host gateway settings. section 19.1.3

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Explains election, monitoring, failover, gratuitous ARP, preemption, and basic Cisco configuration, but not advanced tuning.
Examples
Uses an R1/R2 HSRPv2 group with VIP 10.0.0.1, priority 105, preemption, and representative show standby output.
What it assumes
Assumes familiarity with interface IP addressing and no shutdown, while teaching HSRP roles and failover fundamentals from the beginning.
What you can do after
Configure and verify a standby router through basic Cisco HSRP commands and interpret its active, standby, VIP, and priority states.
How it connects
Connects HSRP with FHRP, VIP, virtual MAC address, multicast hello messages, ARP, failover, gratuitous ARP, and preemption.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.