Published On: August 6ᵗʰ, 2019 02:04
First Hop Redundancy Protocols Configuration Guide, Cisco IOS XE Release 3S
FHRP - HSRP MIB
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information About FHRP - HSRP MIB
HSRP MIB Traps
HSRP MIB supports Simple Network Management Protocol (SNMP) Get operations, to allow network devices to get reports about HSRP groups in a network from the network management station.
Enabling HSRP MIB trap support is performed through the CLI, and the MIB is used for getting the reports. A trap notifies the network management station when a device leaves or enters the active or standby state. When an entry is configured from the CLI, the RowStatus for that group in the MIB immediately goes to the active state.
Cisco software supports a read-only version of the MIB, and set operations are not supported.
This functionality supports four MIB tables, as follows:
cHsrpGrpEntry table defined in CISCO-HSRP-MIB.my
cHsrpExtIfTrackedEntry, defined in CISCO-HSRP-EXT-MIB.my
cHsrpExtSecAddrEntry, defined in CISCO-HSRP-EXT-MIB.my
cHsrpExtIfEntry defined in CISCO-HSRP-EXT-MIB.my
The cHsrpGrpEntry table consists of all the group information defined in RFC 2281, Cisco Hot Standby Router Protocol; the other tables consist of the Cisco extensions to RFC 2281, which are defined in CISCO-HSRP-EXT-MIB.my.
How to Configure FHRP - HSRP MIB
Enabling HSRP MIB Traps
Configuration Examples for FHRP - HSRP MIB
Example: Enabling HSRP MIB Traps
The following examples show how to configure HSRP on two devices and enable the HSRP MIB trap support functionality. As in many environments, one device is preferred as the active one. To configure a device’s preference as the active device, configure the device at a higher priority level and enable preemption. In the following example, the active device is referred to as the primary device. The second device is referred to as the backup device:
Device(config)# interface GigabitEthernet 0/0/0 Device(config-if)# ip address 10.1.1.1 255.255.0.0 Device(config-if)# standby priority 200 Device(config-if)# standby preempt Device(config-if)# standby ip 10.1.1.3 Device(config-if)# exit Device(config)# snmp-server enable traps hsrp Device(config)# snmp-server host yourhost.cisco.com public hsrp
Device(config)#interface GigabitEthernet 1/0/0 Device(config-if)# ip address 10.1.1.2 255.255.0.0 Device(config-if)# standby priority 101 Device(config-if)# standby ip 10.1.1.3 Device(config-if)# exit Device(config)# snmp-server enable traps hsrp Device(config)# snmp-server host myhost.cisco.com public hsrp
Cisco IOS commands
HSRP commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples
Cisco IOS First Hop redundancy Protocols Command Reference
HSRP for IPv6
“HSRP for IPv6” module
To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL:
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.
Feature Information for FHRP - HSRP-MIB
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.