The steps to configure HSRP are listed in Figures
–
.
Configure HSRP Group on an Interface
While running HSRP, it is
important that the end-user stations do not discover the actual MAC addresses
of the routers in the standby group. Any protocol that informs a host of the
router actual address must be disabled. To ensure that the actual addresses of
the participating HSRP routers are not discovered, enabling HSRP on a Cisco
router interface automatically disables ICMP redirects on that interface.
After the standby ip command is issued, the interface
changes to the appropriate state. When the router successfully executes the
command, the router issues an HSRP message.
To remove an interface from
an HSRP group, enter the no standbygroup ip
command.

Verifying HSRP Configuration
The following example states that
interface VLAN10 is a member of the HSRP standby group 47, the virtual router
IP address for that group is 172.16.10.110, and that ICMP redirects are
disabled:
Switch#show running-config
Another means of verifying the HSRP configuration is with the command:

Switch#show standby brief
This
command displays abbreviated information about the current state of all HSRP
operations on this device.
Establish HSRP Priorities
Each
standby group has its own active and standby routers. The network administrator
can assign a priority value to each router in a standby group, allowing the
administrator to control the order in which active routers for that group are
selected.

To set the
priority value of a router, enter this command in interface configuration mode:

Switch(config-if)#standby group-number
priority priority-value
During the
election process, the router in an HSRP group with the highest priority becomes
the forwarding router. In the case of a tie, the router with the highest
configured IP address will become active.
To reinstate the default
standby priority value, enter the no standby priority
command.
Verify the HSRP Standby Priority
The following
example states that interface VLAN10 has a priority value of 150 in HSRP
standby group 47. If this priority value is the highest number in that HSRP
standby group, the routing device on which this interface resides is the active
router for that group:
Switch#show
running-config
To display the status of the HSRP
router, enter one of these commands:
Switch#show
standby [interface [group]] [active | init |
listen | standby][brief]
Switch#show standby delay
[type-number]
If the optional interface
parameters are not indicated, the show standby command displays HSRP
information for all interfaces.
Verify all HSRP Operations 
This example
shows the output of the show standby command:
Switch#show standby Vlan10 47
This is an example of the output resulting when you specify the
brief parameter:
Switch#show standby brief