Cisco IOS XE High Availability Configuration Guide, Release 2
SNMP for Stateful Switchover

Table Of Contents

SNMP for Stateful Switchover

Finding Feature Information

Contents

Prerequisites for SNMP for Stateful Switchover

Restrictions for SNMP for Stateful Switchover

Information About SNMP for Stateful Switchover

SNMP for Stateful Switchover Overview

Network Management for SSO

Uninterrupted Service Using SSO

Communication with the NMS

Counters and Statistics

Switchover Notification

Traps

SSO MIB Support

SNMP Configuration MIBs for SSO Support

Core MIBs for SSO Support

Infrastructure MIBs for SSO Support

CISCO-RF-MIB Modifications for SSO Support

New cRFHistorySwitchOverTable Table in CISCO-RF-MIB for SSO Support

New Objects in CISCO-RF-MIB for SSO Support

SNMP Network Management for SSO Benefits

How to Configure SNMP for Stateful Switchover

Troubleshooting SNMP for Stateful Switchover

Configuration Examples for SNMP for Stateful Switchover

Additional References

Related Documents

Standards

MIBs

RFCs

Technical Assistance

Feature Information for SNMP for Stateful Switchover


SNMP for Stateful Switchover


First Published: July 22, 2002
Last Updated: March 2, 2009

This document describes the enhancements and modifications made to the Cisco Simple Network Management Protocol (SNMP) infrastructure to support SSO for Route Processors (RPs).

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see 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 for SNMP for Stateful Switchover" section.

Use Cisco Feature Navigator to find information about platform support and Cisco IOS XE software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.

Contents

Prerequisites for SNMP for Stateful Switchover

Restrictions for SNMP for Stateful Switchover

Information About SNMP for Stateful Switchover

How to Configure SNMP for Stateful Switchover

Configuration Examples for SNMP for Stateful Switchover

Additional References

Feature Information for SNMP for Stateful Switchover

Prerequisites for SNMP for Stateful Switchover

The router must be in SSO mode.

Restrictions for SNMP for Stateful Switchover

Counter and Statistics

Statistics and counter values will not be synchronized from the active to the standby RP.

MIB Limitations

No MIBs other than the ones mentioned in the "MIB Support" section are synchronized between the active and the standby RPs.

Possible Failure of SNMP Requests

SNMP requests might fail during the switchover process, that is, while the standby RP is taking over as the active RP. Data in the unsynchronized MIBs may be out of synchronization, and the information in these MIBs might be lost on a switchover.

Information About SNMP for Stateful Switchover

To use SNMP for stateful switchover, you need to understand the following concepts:

SNMP for Stateful Switchover Overview

Network Management for SSO

Uninterrupted Service Using SSO

Communication with the NMS

SSO MIB Support

SNMP Configuration MIBs for SSO Support

Core MIBs for SSO Support

Infrastructure MIBs for SSO Support

CISCO-RF-MIB Modifications for SSO Support

SNMP Network Management for SSO Benefits

SNMP for Stateful Switchover Overview

The SNMP and stateful switchover feature helps to improve the availability of networks made up of Cisco IOS XE-based networking devices. Using SSO, a networking device with redundant RPs will continue forwarding traffic, continue operating as a routing protocol peer, and remain manageable under a set of circumstances that ordinarily would cause an interruption in service.

The SSO feature allows one of the processors on the networking device to operate as the active RP, which passes the necessary system, routing, and application state information to the standby RP. Upon switchover, the standby RP quickly assumes the role of active RP. The goal of SNMP network management with SSO functionality is to provide an uninterrupted management interface to the end user during and after a switchover. For more information about the SSO feature, see the "Stateful Switchover" chapter in the Cisco IOS XE High Availability Configuration Guide.

Network Management for SSO

Network management support for SSO is provided through the synchronization of specific SNMP data between the active and standby RPs. From a network management perspective, this synchronization helps to provide an uninterrupted management interface to the network administrator.


Note Synchronization of SNMP data between RPs is available only when the networking device is operating in SSO mode.


Network management services for SSO address a number of issues, which are described in the following sections:

Uninterrupted Service Using SSO

Communication with the NMS

SSO MIB Support

Uninterrupted Service Using SSO

When a networking device uses SSO, the network management engine of the standby RP should be indistinguishable from the network management engine of the active RP. A network management system (NMS) should not interpret a switchover to mean that a new device has come up.

The sysUpTime MIB object reports the system uptime. To prevent a switchover from being flagged as a restart, this object is synchronized between the active and the standby RPs. As a result, no coldStart or warmStart traps will be generated as a result of the switchover—the ciscoRFSwactNotif notification is used to signal a switchover.

Communication with the NMS

The following sections describe concepts about communication with the NMS:

Counters and Statistics

Switchover Notification

Traps

Counters and Statistics

The various counters and statistics maintained in the RP are not synchronized because they may change often and the degree of synchronization they require is substantial. They also are not critical to the system operation. Because of this lack of synchronization, counter objects experience a discontinuity after a switchover. The cRFStatusFailoverTime will be the value of sysUpTime when any one or more of the counters experiences a discontinuity.

Switchover Notification

The ciscoRFSwactNotif notification informs the NMS about a switchover. This notification provides information regarding the unit ID of the originator of the notification, the newly active redundant unit, the sysUptime data, and reason codes for why a switchover has occurred. The NMS can then use the ciscoRFSwactNotif notification to resynchronize the counter statistics values, if necessary. For more information, see the "CISCO-RF-MIB Modifications for SSO Support" section.

Traps

Only notifications generated on the active RP are sent to the notification destination. None of the notifications generated on the standby RP are sent to the notification destination. Furthermore, notifications might be lost if they were generated on the active RP before a switchover. The NMS should be aware of these constraints.

SSO MIB Support

This section describes the level of synchronization supported by the MIBs listed in the following sections. MIBs that are not listed in this section do not synchronize data between the redundant units. MIB synchronization for SSO only occurs when the system is in SSO mode.

SSO MIB support has three parts:

SNMP Configuration MIBs for SSO Support

Core MIBs for SSO Support

Infrastructure MIBs for SSO Support

CISCO-RF-MIB Modifications for SSO Support

SNMP Configuration MIBs for SSO Support

All the objects in the following MIBs that contain SNMP configuration data are synchronized between the active and standby RPs:

SNMP-FRAMEWORK-MIB

SNMP-TARGET-MIB

SNMP-USM-MIB

SNMP-VACM-MIB

SNMPv2-MIB

Core MIBs for SSO Support

Core MIBs are as follows:

ENTITY-MIB—After a switchover, there will be no change in the data reported by the ENTITY-MIB object. This lack of change is result of the entPhysicalIndex and its associated objects being synchronized between the active and the standby RPs. The associated objects of the entPhysicalIndex are as follows:

entPhysicalAlias

entPhysicalSerialNum

entPhysicalAssetID

entLastChangeTime

IF-MIB—The ifIndex is synchronized between the active and standby RPs, along with the ifNumber, ifTableLastChange, ifAdminStatus, ifLinkUpDownTrapEnable, ifAlias, ifLastChange, and ifStackLastChange objects.

Infrastructure MIBs for SSO Support

Infrastructure MIBs are as follows:

Community MIB

Notification MIB

Notification log MIB

Field-replaceable unit (FRU) control MIB

CISCO-ENHANCED-MEMPOOL-MIB

CISCO-RF-MIB Modifications for SSO Support

The CISCO-RF-MIB provides configuration control and status for the redundancy facility (RF) subsystem. The CISCO-RF-MIB has been modified to support SSO functionality. A new cRFHistory subgroup has been added in this release. The subgroup consists of one table (cRFHistorySwitchOverTable) and three objects (cRFHistoryTableMaxLength, cRFHistoryColdStarts, and cRFHistoryStandbyAvailTime) described in the following sections:

New cRFHistorySwitchOverTable Table in CISCO-RF-MIB for SSO Support

New Objects in CISCO-RF-MIB for SSO Support

New cRFHistorySwitchOverTable Table in CISCO-RF-MIB for SSO Support

The cRFHistorySwitchOverTable tracks the history of switchovers that have occurred since system initialization. New objects that have been added as part of this table are as follows:

cRFHistoryPrevActiveUnitId—A read-only object that indicates the active RP that went down. The value of this object is the unique ID of the active RP that has gone down. The ID can be the slot ID, the physical or logical entity ID, or a unique ID assigned by the RF.

cRFHistoryCurrActiveUnitId—A read-only object that indicates the standby RP that took over as the active RP. The value of this object is the unique ID of the active RP. The ID can be the slot ID, the physical or logical entity ID, or a unique ID assigned by the RF.

cRFHistorySwitchOverReason—A read-only object that indicates the reason for the switchover. The reasons for the switchover from the active RP to the standby RP can be any of the following:

unsupported—This feature is unsupported.

none—No switchover has occurred.

notKnown—The reason is unknown.

userInitiated—A safe, manual switchover was initiated by the user.

userForced—A manual switchover was forced by the user. Preconditions, warnings, and safety checks were ignored.

activeUnitFailed—An active RP fault caused an automatic switchover.

activeUnitRemoved—The active RP was removed, which caused an automatic switchover.

cRFHistorySwactTime—A read-only object that indicates the date and time the switchover occurred. The value of this object is a time stamp with the date and time the switchover occurred.

New Objects in CISCO-RF-MIB for SSO Support

The object added to the new cRFHistory subgroup are as follows:

cRFHistoryTableMaxLength—A read-write object that indicates the maximum number of entries permissible in the history table. The value of this object is an integer that is more than 0. A value of 0 results in no history being maintained.

cRFHistoryColdStarts—A read-only object that indicates the number of system cold starts including the number of system cold starts due to switchover fault and the number of manual restarts.

cRFHistoryStandByAvailTime—A read-only object that indicates the cumulative time that a standby redundant unit has been available since the last system initialization.

Two objects related to switchover status have also been added:

cRFStatusFailoverTime—A read-only object that indicates the sysUpTime value when the primary redundant unit took over as active. The value of this object is 0 until the first switchover.

cRFStatusPeerStandByEntryTime—A read-only object that indicates the sysUpTime value when the peer redundant unit entered the standbyHot state. The value of this object is 0 on system initialization.

SNMP Network Management for SSO Benefits

SNMP network management with SSO functionality ensures an uninterrupted management interface to the end user. The network administrator can differentiate a switchover from a system restart based on the notification type (for example, ciscoRFSwactNotif for switchover and coldStart or warmStart for system restarts). Uninterrupted service also includes synchronizing the SNMP configuration and data from core MIBs such as IF-MIB and ENTITY-MIB to the standby RP.

How to Configure SNMP for Stateful Switchover

To configure the router to run in SSO mode and to verify that the router is running in SSO mode, see the "Stateful Switchover" chapter in the Cisco IOS XE High Availability Configuration Guide and the Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide.

For further information on configuring SNMP support, see the "Configuring SNMP Support" chapter in the Cisco IOS XE Network Management Configuration Guide.

This section contains the following task:

Troubleshooting SNMP for Stateful Switchover

Troubleshooting SNMP for Stateful Switchover

Perform the following task to troubleshoot SNMP for SSO.

SUMMARY STEPS

1. enable

2. show redundancy history

3. show redundancy switchover history

4. debug snmp sync

5. exit

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

show redundancy history

Example:

Router# show redundancy history

Use this command to show the switchover history.

Step 3 

show redundancy switchover history

Example:

Router# show redundancy switchover history

Use this command to see the switchover history details.

Step 4 

debug snmp sync

Example:

Router# debug snmp sync

Use this command to debug SNMP synchronization and faults in synchronization.

Step 5 

exit

Example:

Router# exit

Exits to user EXEC mode.

Configuration Examples for SNMP for Stateful Switchover

For SSO configuration examples, see the "Stateful Switchover" chapter in the Cisco IOS XE High Availability Configuration Guide and the Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide.

For SNMP configuration examples, see the "Configuring SNMP Support" chapter in the Cisco IOS XE Network Management Configuration Guide.

Additional References

The following sections provide references related to the SNMP for Stateful Switchover feature.

Related Documents

Related Topic
Document Title

Stateful switchover

"Stateful Switchover" chapter in the Cisco IOS XE High Availability Configuration Guide

SNMP configuration task

"Configuring SNMP Support" chapter of Cisco IOS XE Network Management Configuration Guide

SNMP commands

Cisco IOS Network Management Command Reference


Standards

Standard
Title

No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.


MIBs

MIB
MIBs Link

CISCO-RF-MIB—This MIB has been modified for this release. The MIB contains several new MIB objects.

ENTITY-MIB

IF-MIB

SNMP-FRAMEWORK-MIB

SNMP-TARGET-MIB

SNMP-USM-MIB

SNMP-VACM-MIB

SNMPv2-MIB

To locate and download MIBs for selected platforms, Cisco IOS Software releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://www.cisco.com/go/mibs


RFCs

RFC
Title

RFC 1907

Management Information Base for Version 2 of the Simple Network Management Protocol

RFC 2571

An Architecture for Describing SNMP Management Frameworks

RFC 2573

SNMP Applications

RFC 2574

User-Based Security Model (USM) for Version 3 of the Simple Network Management Protocol (SNMPv3)

RFC 2575

View-based Access Control Model (VACM) for the Simple Network Management Protocol (SNMP)

RFC 2863

The Interfaces Group MIB

RFC 4133

Entity MIB (Version 3)


Technical Assistance

Description
Link

The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies.

To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds.

Access to most tools on the Cisco Support website requires a Cisco.com user ID and password.

http://www.cisco.com/techsupport


Feature Information for SNMP for Stateful Switchover

Table 1 lists the release history for this feature.

Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS XE Software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.


Note Table 1 lists only the Cisco IOS XE Software release that introduced support for a given feature in a given Cisco IOS XE Software release train. Unless noted otherwise, subsequent releases of that Cisco IOS XE Software release train also support that feature.


Table 1 Feature Information for SNMP for Stateful Switchover 

Feature Name
Releases
Feature Information

Enhanced SNMP Support for High Availability

Cisco IOS XE Release 2.1

This document describes the enhancements and modifications made to the Cisco Simple Network Management Protocol (SNMP) infrastructure to support SSO for Route Processors (RPs).

The following commands were introduced or modified: debug snmp sync, show isis nfs, show redundancy.