Table Of Contents
Distributed Management Event and Expression MIB Persistence
Related Features and Technologies
Configuring Event MIB Persistence
Configuring Expression MIB Persistence
Verifying Event and Expression MIB Persistence
Enabling Event MIB Persistence Example
Enabling Expression MIB Persistence Example
Distributed Management Event and Expression MIB Persistence
First Published: 12.0(5)TLast Updated: February 28, 2006History for the Distributed Management Event and Expression MIB Persistence Feature
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
Feature Overview
The MIB Persistence features allow the SNMP data of a MIB to be persistent across reloads; that is, MIB information retains the same set object values each time a networking device reboots. MIB Persistence is enabled by using the snmp mib persist command, and the MIB data of all MIBs that have had persistence enabled using this command is then written to NVRAM storage by using the write mib-data command. Any modified MIB data must be written to NVRAM memory using the write mib-data command.
Both Event and Expression MIBs allow you to configure a value for an object and to set up object definitions. Both also allow rows of data to be modified while the row is in an active state.
Scalar objects are stored every time they are changed, and table entries are stored only if the row is in an active state. Event MIB has two scalar objects and nine tables to be persisted into NVRAM. The tables are mteTriggerTable, mteTriggerDeltaTable, mteTriggerExistenceTable, mteTriggerBooleanTable, mteTriggerThresholdTable, mteObjectsTable, mteEventTable, mteEventNotificationTable, and mteEventSetTable.
Expression MIB has two scalar objects and three tables to be stored in NVRAM. The scalars are expResourceDeltaMinimum and expResourceDeltaWildcardInstanceMaximum. The tables are expNameTable, expExpressionTable, and expObjectTable.
It may take several seconds for the MIB data to be written to NVRAM. The length of time taken depends on the amount of MIB data.
Benefits
Event MIB Persistence and Expression MIB Persistence both allow MIB objects to be saved from reboot to reboot, which allows long-term monitoring of specific devices and interfaces. You can configure object values that are preserved across reboots.
Restrictions
If the number of MIB objects to persist increases, NVRAM storage capacity may be strained. Occasionally, the time taken to write MIB data to NVRAM may be longer than expected.
Related Features and Technologies
•
Event MIB
•
Expression MIB
•
SNMP
•
Network management
Prerequisites
The configuration tasks described in the next section assume that you have configured SNMP on your networking device and that values for Event MIB and Expression MIB have been configured by you or your application.
Configuration Tasks
See the following sections for configuration tasks for the Distributed Management Event and Expression MIB Persistence features. Each task in the list is identified as either required or optional.
•
Configuring Event MIB Persistence (optional)
•
Configuring Expression MIB Persistence (optional)
Configuring Event MIB Persistence
Event MIB Persistence is disabled by default. To enable Event MIB Persistence, use the following commands:
To disable Event MIB Persistence after enabling it, use the following commands:
Configuring Expression MIB Persistence
Expression MIB Persistence is disabled by default. To enable Event MIB Persistence, use the following commands:
To disable Expression MIB Persistence after enabling it, use the following commands:
Verifying Event and Expression MIB Persistence
To verify that Event MIB Persistence and Expression MIB Persistence configurations have been set, enter the more system:running-config command.
Configuration Examples
This section provides the following configuration examples:
•
Enabling Event MIB Persistence Example
•
Enabling Expression MIB Persistence Example
Enabling Event MIB Persistence Example
To enable Event MIB Persistence, use the snmp mib persist event command in global configuration mode:
Router(config)# snmp mib persist eventRouter# write mib-dataEnabling Expression MIB Persistence Example
To enable Expression MIB Persistence, use the snmp mib persist expression command in global configuration mode:
Router(config)# snmp mib persist expressionRouter# write mib-dataAdditional References
The following sections provide references related to Distributed Management Event and Expression MIB Persistence.
Related Documents
Related Topic Document TitleConfiguring SNMP Support
Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.4
SNMP Commands
Cisco IOS Configuration Fundamentals Command Reference, Release 12.4T
Standards
MIBs
MIB MIBs Link•
Expression MIB
•
Event MIB (EVENT-MIB.my)
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Command Reference
This section documents modified commands only.
snmp mib persist
To enable MIB persistence, use the snmp mib persist command in global configuration mode. To disable MIB persistence, use the no form of this command.
snmp mib persist [event | expression | circuit | cbqos]
no snmp mib persist [event | expression | circuit | cbqos]
Syntax Description
Command Default
MIB persistence is disabled.
Command Modes
Global configuration
Command History
Usage Guidelines
After entering the snmp mib persist command, you must enter the write mib-data command to save MIB persistence configuration data to NVRAM.
The Circuit Interface MIB provides a MIB object (cciDescr) that can be used to identify individual circuit-based interfaces for Simple Network Management Protocol (SNMP) monitoring. Circuit interface identification persistence maintains the user-defined name of the circuit across reboots by retaining the value of the cciDescr object in the Circuit Interface MIB (CISCO-CIRCUIT-INTERFACE-MIB). A consistent value for specific circuits is useful for network management applications that use SNMP. Circuit interface identification persistence is enabled using the snmp mib persist circuit global configuration command. This command is disabled by default because this feature uses NVRAM memory.
To enable MIB persistence for all available MIB types, use the snmp mib persist command without keywords.
Examples
The following example shows how to enable Event MIB persistence:
Router(config)# snmp mib persist eventRouter(config)# endRouter# write mib-dataRelated Commands
write mib-data
To save MIB data to system memory (NVRAM) for MIB Data Persistence, use the write mib-data command in EXEC mode.
write mib-data
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Usage Guidelines
The MIB Data Persistence feature allows the SNMP data of a MIB to be persistent across reloads; that is, the values of certain MIB objects are retained even if your networking device reboots.
To determine which MIBs support "MIB Persistence" in your release, use the snmp mib persist ? command in global configuration mode.
Any modified MIB data must be written to NVRAM memory using the write mib-data command. If the write mib-data command is not used, modified MIB data is not saved automatically, even if MIB Persistence is enabled. Executing the write mib-data command saves only the current MIB data; if the MIB object values are changed, you should reenter the write mib-data command to ensure that those values are persistent across reboots.
Examples
In the following example. Event MIB Persistence and Circuit MIB persistence are enabled, and any currenly set object values for those MIBs are saved to NVRAM:
Router# configure terminalRouter(config)# snmp mib persist circuitRouter(config)# snmp mib persist eventRouter(config)# endRouter# write mib-dataRelated Commands
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2001-2002, 2006 Cisco Systems, Inc. All rights reserved.
