Cisco Cisco IOS Software Release 12.0(12)S
HSRP MIB
Configuration Tasks
3
Cisco IOS Release 12.0(12)S
For lists of supported MIBs by platform, and to download Cisco MIBs, go to the Cisco MIB web site
on CCO at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
on CCO at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
RFCs
RFC 2281, Cisco Hot Standby Router Protocol
Configuration Tasks
Perform the following tasks to enable HSRP trap support and verify HSRP trap operation.
•
•
Enabling HSRP Traps
HSRP MIB trap support is enabled using the hsrp option in the snmp-server enable and snmp-server
host commands, as follows.
host commands, as follows.
Verifying HSRP Operation
Use the following procedure to verify that the HSRP feature is enabled:
For each network that has had HSRP configured, enter the show standby command to verify the
protocol is running.
protocol is running.
Router# show standby
Ethernet0 - Group 0
Local state is Active, priority 100, may preempt
Hellotime 3 holdtime 10
Next hello sent in 0:00:00
Hot standby IP address is 198.92.72.29 configured
Active router is local
Standby router is 198.92.72.21 expires in 0:00:07
Standby virtual mac address is 0000.0c07.ac00
Tracking interface states for 2 interfaces, 2 up:
Up
Serial0
Up
Serial1
The local state report indicates the state of the router, and can be one of the following:
•
Active—Current Hot Standby router.
Command
Purpose
Step 1
Router(config)# snmp-server enable traps hsrp
Enables the router to send HSRP notifications
using SNMP.
using SNMP.
Step 2
Router(config)# snmp-server host host-address
community-string hsrp
Specifies the recipient of an SNMP notification
operation, and that HSRP notifications will be sent
to the specified host. See the command reference
section of this document for a list of all optional
keywords and arguments.
operation, and that HSRP notifications will be sent
to the specified host. See the command reference
section of this document for a list of all optional
keywords and arguments.