Debugging HSRP


You want to debug an HSRP problem.


To debug all HSRP error events, use the following command:

Router2#debug standby errors

The events keyword will display information about HSRP events:

Router2#debug standby events

With the packets keyword, you can look at the contents of all HSRP packets:

Router2#debug standby packets

You can use the terse keyword to see a short form of all HSRP errors, events, and packets:

Router2#debug standby terse



HSRP is not a very complex protocol, and it is relatively simple to configure, so network engineers generally don't find that they need sophisticated debugging tools that are available with other protocols. Consequently, HSRP debugging facilities were relatively limited until IOS level 12.1(0.2), when the enhanced debugging described here was introduced. However, these features can be useful when you are faced with strange HSRP problems, such as general instability or multiple active routers.

We don't recommend starting with a packet level debug for anything because it can easily overwhelm the router. In the case of HSRP, which should only send a Hello packet every three seconds by default, this shouldn't be quite as dangerous as for many other protocols.

The debug standby terse command is probably the most useful option because it gives a short form output of all HSRP errors, events, and packets:

Router1#debug standby terse
 HSRP Errors debugging is on
 HSRP Events debugging is on
 (protocol, redundancy, track)
 HSRP Packets debugging is on
 (Coup, Resign)

From here, if you see a Coup problem, for example, you might want to turn off the terse option and replace it with a full packet-level debug. Conversely, if you see that there is an issue with interface tracking, you might want to replace the terse option with the event option to get greater detail.

Router Configuration and File Management

Router Management

User Access and Privilege Levels


IP Routing





Frame Relay

Handling Queuing and Congestion

Tunnels and VPNs

Dial Backup

NTP and Time


Router Interfaces and Media

Simple Network Management Protocol





First Hop Redundancy Protocols

IP Multicast

IP Mobility




Appendix 1. External Software Packages

Appendix 2. IP Precedence, TOS, and DSCP Classifications


Cisco IOS Cookbook
Cisco IOS Cookbook (Cookbooks (OReilly))
ISBN: 0596527225
EAN: 2147483647
Year: 2004
Pages: 505 © 2008-2020.
If you may any questions please contact us: