HSRP States

An HSRP router can be in one of six different states:

A router in an HSRP group can be in one of these states: initial, learn, listen, speak, standby, or active.

HSRP States

The table describes the different HSRP states.

State

Definition

Initial

The state at the start. The initial state indicates that HSRP does not run. This state is entered via a configuration change or when an interface first comes up.

Learn

The router is neither in the active or standby state, nor does it have enough information to attempt to claim the active or standby role.

Listen

The router knows the virtual IP address, but the router is neither the active router nor the standby router. It listens for hello messages from those routers.

Speak

The router sends periodic hello messages and actively participates in the election of the active or standby router. A router cannot enter speak state unless the router has the virtual IP address.

Standby

The router is a candidate to become the next active router and sends periodic hello messages. With the exclusion of transient conditions, there is, at most, one router in the group in standby state.

Active

The router currently forwards packets that are sent to the group virtual MAC address. The router sends periodic hello messages. With the exclusion of transient conditions, there must be, at the most, one router in the active state in the group.

© 2006 Cisco Systems, Inc.

Implementing High Availability in a Campus Environment

5-13

When a router exists in one of these states, it performs the actions required for that state. Not all HSRP routers in the group will transition through all states. For example, if there were three routers in the HSRP group, the router that is not the standby or active router will remain in the listen state.

Was this article helpful?

0 0

Post a comment