Pcornel
Networking · Routing › First Hop Redundancy › HSRP

Virtual MAC

Cheat sheet · https://pcornel.dk/topic.php?topic=1152

Back to the Topic

Answer

HSRP uses a virtual MAC address tied to the group number (0000.0c07.acXX for v1, 0000.0c9f.fXXX for v2), owned by the Active router. Hosts ARP for the virtual IP and learn this MAC, so failover needs no ARP change on hosts.

Remember

Do not infer service health from one role or command. For Virtual MAC, distinguish configured intent, election/database state, installed forwarding state and the original workload result.

First checks

  • show standby <interface> <group> — Virtual mac address
  • show mac address-table address <vmac> — learned on Active's port

Commands

show mac address-table [dynamic]
Inspect learned MAC-to-port mappings.

Verify in this order

Active owns virtual MAC → switches learn it → failover gratuitous ARP → MAC moves

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Virtual MAC · technical reference

ItemMeaning
Virtual MACStable Layer-2 gateway identity
CAM locationShould point toward current Active
FailoverSame virtual identity moves to peer
Not proof ofUpstream route or application health

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1152

Confirmation

Confirm action

Continue?