Table Of Contents
Cisco Express Forwarding—SNMP CEF-MIB Support
Prerequisites for Cisco Express Forwarding—SNMP CEF-MIB Support
Information About Cisco Express Forwarding—SNMP CEF-MIB Support
Cisco Express Forwarding Functional Overview
Cisco Express Forwarding Information Managed by the CISCO-CEF-MIB
CISCO-CEF-MIB Object Groups and Related Tables
Brief Description of the Tables in the CISCO-CEF-MIB
Cisco Express Forwarding Configuration and Monitoring Operations Available Through the CISCO-CEF-MIB
How to Configure Cisco Express Forwarding—SNMP CEF-MIB Support
Configuring the Router to Use SNMP
Configuring an SNMP Host to Receive CISCO-CEF-MIB Notifications
Configuring SNMP Notifications for Cisco Express Forwarding Events
Configuring the Throttling Interval for CISCO-CEF-MIB Inconsistency Notifications
Configuration Examples for Cisco Express Forwarding—SNMP CEF-MIB Support
Configuring an SNMP Host to Receive CISCO-CEF-MIB Notifications: Example
Configuring SNMP Notifications for Cisco Express Forwarding Events: Example
Configuring the Throttling Interval for CISCO-CEF-MIB Inconsistency Notifications: Example
Feature Information for Cisco Express Forwarding—SNMP CEF-MIB Support
Cisco Express Forwarding—SNMP CEF-MIB Support
First Published: December 4, 2006Last Updated: June 11, 2008The Cisco Express Forwarding—SNMP CEF-MIB Support feature introduces the CISCO-CEF-MIB, which allows management applications through the use of the Simple Network Management Protocol (SNMP) to configure and monitor Cisco Express Forwarding operational data and to provide notification when Cisco Express Forwarding encounters specific configured events. This module describes how to use the CISCO-CEF-MIB to manage and monitor objects related to Cisco Express Forwarding operation.
Cisco Express Forwarding is an advanced Layer 3 IP switching technology. It optimizes network performance and scalability for all kinds of networks: those that carry small amounts of traffic and those that carry large amounts of traffic in complex patterns, such as the Internet and networks characterized by intensive web-based applications or interactive sessions.
Finding Feature Information in This Module
Your Cisco IOS software release may not support all of the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the "Feature Information for Cisco Express Forwarding—SNMP CEF-MIB Support" section.
Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS 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 Cisco Express Forwarding—SNMP CEF-MIB Support
•
Information About Cisco Express Forwarding—SNMP CEF-MIB Support
•
How to Configure Cisco Express Forwarding—SNMP CEF-MIB Support
•
Configuration Examples for Cisco Express Forwarding—SNMP CEF-MIB Support
•
Feature Information for Cisco Express Forwarding—SNMP CEF-MIB Support
Prerequisites for Cisco Express Forwarding—SNMP CEF-MIB Support
The following prerequisites apply to the Cisco Express Forwarding—SNMP CEF-MIB Support feature:
•
Cisco Express Forwarding or distributed Cisco Express Forwarding must be configured on your system.
•
The Cisco Express Forwarding infrastructure introduced in Cisco IOS Release12.2(25)S must be included in the image on your system.
•
The router on which the Cisco Express Forwarding—SNMP CEF-MIB Support features is to be used must be configured for SNMP access. See the "Configuring the Router to Use SNMP" section of this document for more information.
Information About Cisco Express Forwarding—SNMP CEF-MIB Support
To configure SNMP and the CISCO-CEF-MIB to monitor Cisco Express Forwarding data and events, you should understand the following concepts:
•
Cisco Express Forwarding Functional Overview
•
Cisco Express Forwarding Information Managed by the CISCO-CEF-MIB
•
CISCO-CEF-MIB Object Groups and Related Tables
•
Brief Description of the Tables in the CISCO-CEF-MIB
•
Cisco Express Forwarding Configuration and Monitoring Operations Available Through the CISCO-CEF-MIB
Cisco Express Forwarding Functional Overview
Cisco Express Forwarding is an advanced Layer 3 IP switching technology. It uses a Forwarding Information Base (FIB) to make IP destination prefix-based switching decisions. The FIB is conceptually similar to a routing table or information base. It maintains the forwarding information contained in the IP routing table. When routing or topology changes occur in the network, the IP routing table is updated, and those changes are propagated to the FIB. The FIB maintains next-hop address information based on the information in the IP routing table. The two main components of Cisco Express Forwarding operation are the FIB and adjacency tables.
Cisco Express Forwarding uses adjacency tables to prepend Layer 2 addressing information. An adjacency table maintains Layer 2 next-hop addresses for all FIB entries. Nodes in the network are said to be adjacent if they can reach each other with a single hop across a link layer. Cisco Express Forwarding discovers and solves adjacencies and populates the adjacency tables.
Note
The CISCO-CEF-MIB prefix database and its related database can be very large. Therefore, executing a command that displays the prefix table could take a considerable amount of time.
Benefits of CISCO-CEF-MIB
Command-line interface (CLI) show commands are available to obtain Cisco Express Forwarding operational information. Managing Cisco Express Forwarding using the CLI can be a time-consuming task. The increasing capacity of Cisco routers makes parsing the show commands output to obtain the needed Cisco Express Forwarding operational parameters more and more difficult.
In Cisco IOS Release 12.2(31)SB and later releases, the CISCO-CEF-MIB allows you to manage and monitor the Cisco Express Forwarding operation using SNMP. In addition, you can configure SNMP to notify you if Cisco Express Forwarding encounters errors.
The CISCO-CEF-MIB introduced with the Cisco Express Forwarding—SNMP CEF-MIB Support feature gives you real-time access to operational information stored in the FIB and adjacency tables, switching statistics, and information on resource failures. The feature enables you to configure parameters related to Cisco Express Forwarding features by utilizing a MIB implementation based on SNMP. This information is accessed using get and set commands entered on the network management system (NMS) workstation or host system for which SNMP has been implemented. The NMS workstation is also known as the SNMP manager.
Cisco Express Forwarding is available in all Cisco routers. However, CISCO-CEF-MIB support of Cisco Express Forwarding management is dependent on the infrastructure introduced in Cisco IOS Release 12.2(22)S.
The implementation of the CISCO-CEF-MIB in Cisco IOS Release 12.2(31)SB2, Cisco IOS Release 12.2(33)SRC,and Cisco IOS Release 12.2(33)SB manages Cisco Express Forwarding instances running on the Route Processor (RP). Information about Cisco Express Forwarding running on the line cards is available to the RP in reference to Cisco Express Forwarding peers only.
The CISCO-CEF-MIB supports configuration and monitoring for both IP versions, IP Version 4 (IPv4) and IP Version 6 (IPv6).
Cisco Express Forwarding Information Managed by the CISCO-CEF-MIB
SNMP has historically been used to collect network information. SNMP permits retrieval of critical information from network elements such as routers, switches, and workstations.
The CISCO-CEF-MIB provides managed objects that enable a network administrator to monitor the following:
•
Cisco Express Forwarding administrative and operational states as displayed in the output of the show ip cef summary command
•
Notifications for Cisco Express Forwarding events: Cisco Express Forwarding state changes, Cisco Express Forwarding failures (with a predefined reason), and Route Processor (RP) and line card inconsistencies
•
Parameters related to Cisco Express Forwarding for the associated interface as displayed by the show cef interface command
•
Line card Cisco Express Forwarding states and line card Cisco Express Forwarding FIB states in the Linecard table as displayed by the show cef linecard command
•
Cisco Express Forwarding statistics: switching statistics, punt counters and punt-to-host counters as displayed by the show ip cef switching stats command, and per-prefix counters and nonrecursive counters
•
IPv4 and IPv6 notification, when Cisco Express Forwarding is switched between disable and enable and between Cisco Express Forwarding and distributed Cisco Express Forwarding
The SNMP CISCO-CEF-MIB provides managed objects that enable a network administrator to configure the following:
•
Cisco Express Forwarding and distributed Cisco Express Forwarding administration status
•
Cisco Express Forwarding accounting-related parameters
•
Cisco Express Forwarding load sharing-related parameters
•
Traffic-related configuration parameters
CISCO-CEF-MIB Object Groups and Related Tables
The SNMP CISCO-CEF-MIB allows the configuration and management of objects related to Cisco Express Forwarding. The MIB contains the following object groups:
•
CEF FIB group
•
CEF Adjacency group
•
CEF Forwarding Element group
•
CEF Cfg group
•
CEF Interface group
•
CEF Peer group
•
CEF Consistency (CC) group
•
CEF State Group
•
CEF Notification Control group
In the CISCO-CEF-MIB, configuration objects are defined as read-write, and the other objects are defined as read only.
The CISCO-CEF-MIB contains tables related to the Cisco Express Forwarding object groups. These tables provide information about prefixes, forwarding paths, adjacencies, output chain elements (OCEs), prefix-based statistics, information about Cisco Express Forwarding configuration, consistency checkers, switching statistics, and managed objects specific to line card-specific.
The CISCO-CEF-MIB also defines Cisco Express Forwarding notifications that you can enable or disable through the MIB or CLI commands.
The index for most tables in the CISCO-CEF-MIB is entPhysicalIndex.
Brief Description of the Tables in the CISCO-CEF-MIB
Following is a list and a brief description of the tables provided by the CISCO-CEF-MIB:
•
The CEF FIB Summary table (cefFIBSummaryTable) contains the number of forwarding prefixes for both IPv4 and IPv6 protocols. It is a summary of the CEF Forwarding table.
•
The CEF Forwarding table (cefPrefixTable) lists all the prefixes and related counters. It also contains a pointer to the CEF Forwarding Element Selection table.
•
The CEF Longest Match Prefix table (cefLMPrefixTable) returns the longest prefix match for the given destination address. An optional cefLMPrefixSpinLock object is provided to reduce conflict in instances when more than one application acts on the CEF Longest Match Prefix table.
•
The CEF Path table (cefPathTable) lists all the Cisco Express Forwarding paths.
•
The CEF Adjacency Summary table (cefAdJSummaryTable) contains the total number of complete, incomplete, fixup, and redirect adjacencies for all link types.
•
The CEF Adjacency table (cefAdjTable) lists all the adjacencies. It contains the adjacency source, encapsulation string, fixup, and Layer 3 maximum transmission unit (MTU) associated with the adjacency entry. It contains a pointer to the forwarding element selection table (if the adjacency is a MID chain adjacency).
•
The CEF Forwarding Element Selection table (cefFESelectionTable) represents the OCE chains in flattened format. This table shows only the labels, table ID, and adjacency traversed in the OCE chain. It also contains the weight associated with each OCE chain.
•
CEF Cfg table (cefCfgTable) contains all the global configuration parameters related to Cisco Express Forwarding: administration and operational status, accounting-related configuration parameters, load-sharing algorithms and IDs, and traffic statistics parameters.
•
CEF Resource table (cefResourceTable) contains information about resources for Cisco Express Forwarding: the memory status of the process memory pool and reasons for the Cisco Express Forwarding resource failure notifications.
•
CEF Interface table (cefIntTable) contains the interface-specific Cisco Express Forwarding parameters: interface switching state, interface load sharing (per packet and per destination), and interface nonrecursive routing (internal and external).
•
CEF Peer table or Linecard table (cefPeerTable) contains Cisco Express Forwarding information related to peers on a managed line card: line card operational state and the number of times the line card session resets.
•
CEF Peer FIB table (cefPeerFIBTable) contains information about the operational state of the Forwarding Information Bases (FIBs) on each line card.
•
The CEF Prefix Length Statistics table (cefStatsPrefixTable) maintains prefix length-based statistics.
•
CEF Switching Statistics table (cefSwitchingStatsTable) contains the switching statistics for each switching path: drop counters, punt counters, and punt-to-host counters.
•
CEF IP Prefix Consistency Checker Global group (cefCCGlobalTable) contains all global configuration parameters for the consistency checkers: auto repair, enable and disable, delay, and hold down; enable or disable the passive consistency checkers; enable or disable the error messages for consistency detection; and the mechanism to activate the full scan consistency checkers. This table also displays the state of full scan consistency checkers.
•
CEF Consistency Checker Type table (cefCCTypeTable) contains the consistency checker type specific parameters: frequency and count of scan for passive scanners and the queries sent, ignored, checked, and iterated.
•
CEF Inconsistency Record table (cefInconsistencyRecordTable) contains the detected inconsistency records: prefix address and length, table ID, consistency checker type, slot ID, and the reason for the inconsistency (missing or checksum error).
See the"Cisco Express Forwarding Configuration and Monitoring Operations Available Through the CISCO-CEF-MIB" section for information about the specific objects available through the CISCO-CEF-MIB tables.
Figure 1 shows the contents of the CISCO-CEF-MIB main tables and the relationships of the tables to one another.
Figure 1 CISCO-CEF-MIB Main Tables, Table Contents, and Relationships
Cisco Express Forwarding Configuration and Monitoring Operations Available Through the CISCO-CEF-MIB
You can use SNMP get and set commands to configure and monitor Cisco Express Forwarding operations that are available through the CISCO-CEF-MIB tables. This section describes the configuration and monitoring operations for each table.
Table 1 lists the Cisco Express Forwarding monitoring operations and associated MIB objects provided by the CEF FIB Summary table (cefFIBSummaryTable).
Table 2 lists the Cisco Express Forwarding monitoring operations and associated MIB objects provided by the CEF Forwarding table (cefPrefixTable).
Table 3 lists the Cisco Express Forwarding monitoring operations and associated MIB objects provided by the CEF Longest Match Prefix table (cefLMPrefixTable).
Table 4 lists the Cisco Express Forwarding monitoring operations and associated MIB objects provided by the CEF Path table (cefPathTable).
Table 5 lists the Cisco Express Forwarding monitoring operations and associated MIB objects provided by the CEF Adjacency Summary table (cefAdjSummaryTable).
Table 6 lists the Cisco Express Forwarding monitoring operations and associated MIB objects provided by the CEF Adjacency table (cefAdjTable).
Table 7 lists the Cisco Express Forwarding monitoring operations and associated MIB objects provided by the CEF Forwarding Element Selection table (cefFESelectionTable).
Table 8 lists the Cisco Express Forwarding configuration and monitoring operations and associated MIB objects provided by the CEF Cfg table (cefCfgTable).
Table 9 lists the Cisco Express Forwarding monitoring operations and associated MIB objects provided by the CEF Resource table (cefResourceTable).
Table 10 lists the Cisco Express Forwarding configuration and monitoring operations and associated MIB objects provided by the CEF Interface table (cefIntTable).
Table 11 lists the Cisco Express Forwarding monitoring operations and associated MIB objects provided by the CEF Peer table (or Linecard table) (cefPeerTable).
Table 12 lists the Cisco Express Forwarding monitoring operation and associated MIB object provided by the CEF Peer FIB table (cefPeerFIBTable).
Table 13 lists the Cisco Express Forwarding monitoring operations and associated MIB objects provided by the CEF Prefix Length Statistics table (cefStatsPrefixTable).
Table 14 lists the Cisco Express Forwarding monitoring operations and associated MIB objects provided by the CEF Switching Statistics table (cefSwitchingStatsTable).
Table 15 lists the Cisco Express Forwarding configuration and monitoring operations and associated MIB objects provided by the CEF IP Prefix Consistency Global Checker group (cefCCGlobalTable).
Table 16 lists the Cisco Express Forwarding configuration and monitoring operations and associated MIB objects provided by the CEF Consistency Checker Type table (cefCCTypeTable).
Table 17 lists the Cisco Express Forwarding configuration and monitoring operations and associated MIB objects provided by the CEF Inconsistency Record table (cefInconsistencyRecordTable).
CISCO-CEF-MIB Notifications
Table 18 lists the Cisco Express Forwarding operations associated with the CISCO-CEF-MIB objects that enable the sending of Cisco Express Forwarding notifications.
You can enable or disable these notifications through the MIB or by entering a CLI command. Table 19 contains a description of the notifications and the commands you use to enable each notification.
Note
You must enter a snmp-server host command before you enter a command to enable or disable a CISCO-CEF-MIB notification.
How to Configure Cisco Express Forwarding—SNMP CEF-MIB Support
Perform the following tasks to configure Cisco Express Forwarding—SNMP CEF-MIB Support.
•
Configuring the Router to Use SNMP (required)
•
Configuring an SNMP Host to Receive CISCO-CEF-MIB Notifications (required)
•
Configuring SNMP Notifications for Cisco Express Forwarding Events (required)
•
Configuring the Throttling Interval for CISCO-CEF-MIB Inconsistency Notifications (optional)
Configuring the Router to Use SNMP
Perform the following task to configure a router to use SNMP.
Before you can use the Cisco Express Forwarding—SNMP CEF-MIB Support feature, you must configure the SNMP server for the router.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
snmp-server community string [view view-name] [ro | rw] [ipv6 nacl] [access-list-number]
4.
snmp-server community string2 rw
5.
end
DETAILED STEPS
Configuring an SNMP Host to Receive CISCO-CEF-MIB Notifications
Perform the following task to configure an SNMP host to receive CISCO-CEF-MIB notifications. Notifications provide information to assist you in the monitoring and managing of Cisco Express Forwarding operations.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
snmp-server community string [ro | rw]
4.
snmp-server community string2 rw
5.
snmp-server host ip-address [vrf vrf-name] [traps | informs] [version {1 | 2c | 3
[auth | noauth | priv]}] community-string [udp-port port] cef6.
end
DETAILED STEPS
Configuring SNMP Notifications for Cisco Express Forwarding Events
Perform the following task to configure SNMP notifications for Cisco Express Forwarding events. You can complete the task through the use of CLI commands or SNMP commands.
Prerequisites
You must have configured an NMS or SNMP agent to receive the SNMPCISCO-CEF-MIB notification. See the "Configuring an SNMP Host to Receive CISCO-CEF-MIB Notifications" section.
SUMMARY STEPS
Router CLI Commands
1.
enable
2.
configure terminal
3.
snmp-server enable traps cef [peer-state-change] [resource-failure] [inconsistency] [peer-fib-state-change]
4.
snmp-server host ip-address [traps | informs] [version {1 | 2c | 3 [auth | noauth | priv]}] community-string cef
5.
end
SNMP Commands
1.
setany version ip-address community-string cefPeerStateChangeNotifEnable.0 -i TruthValue
2.
setany version ip-address community-string cefPeerFIBStateChangeNotifEnable.0 -i TruthValue
3.
setany version ip-address community-string cefResourceFailureNotifEnable.0 -i TruthValue
4.
setany version ip-address community-string cefInconsistencyNotifEnable.0 -i TruthValue
DETAILED STEPS: Router CLI Commands
Command or Action PurposeStep 1
enable
Example:Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure terminal
Example:Router# configure terminal
Enters global configuration mode.
Step 3
snmp-server enable traps cef [peer-state-change] [resource-failure] [inconsistency] [peer-fib-state-change]
Example:Router(config)# snmp-server enable traps cef resource-failure
Enables Cisco Express Forwarding support of SNMP notifications on an NMS.
•
The peer-state change keyword enables the sending of CISCO-CEF-MIB SNMP notifications for changes in the operational state of Cisco Express Forwarding peers.
•
The resource-failure keyword enables the sending of CISCO-CEF-MIB SNMP notifications for resource failures that affect Cisco Express Forwarding operations.
•
The inconsistency keyword enables the sending of CISCO-CEF-MIB SNMP notifications for inconsistencies that occur when routing information is updated from the Routing Information Base (RIB) to the CISCO-CEF-MIB on the RP and to the CISCO-CEF-MIB on the line cards.
You can set the throttling interval for sending inconsistency notifications. See the "Configuring the Throttling Interval for CISCO-CEF-MIB Inconsistency Notifications" section.
•
The peer-fib-state-change keyword enables the sending of CISCO-CEF-MIB SNMP notifications for changes in the operational state of the Cisco Express Forwarding peer FIB.
Step 4
snmp-server host ip-address [traps | informs] [version {1 | 2c | 3 [auth | noauth | priv]}] community-string cef
Example:Router(config)# snmp-server host 10.56.125.47 informs version 2c public cef
Specifies the recipient of an SNMP notification operation.
•
The ip-address argument is the IP address or IPv6 address of the SNMP notification host.
The SNMP notification host is typically a network management station (NMS or SNMP manager). This host is the recipient of the SNMP traps or informs.
•
The traps keyword specifies that notifications should be sent as traps. This is the default.
•
The informs keyword specifies that notifications should be sent as informs.
•
The version keyword specifies the version of the SNMP used to send the traps or informs. The default is 1.
If you use the version keyword, one of the following keywords must be specified:
–
1—SNMPv1. This option is not available with informs.
–
2c—SNMPv2C.
–
3—SNMPv3. The most secure model because it allows packet encryption with the priv keyword. The default is noauth.
•
One of the following three optional security level keywords can follow the version 3 keywords:
–
auth—Enables Message Digest 5 (MD5) and Secure Hash Algorithm (SHA) packet authentication.
–
noauth—Specifies that the noAuthNoPriv security level applies to this host. This is the default security level for SNMPv3.
–
priv—Enables Data Encryption Standard (DES) packet encryption (also called "privacy").
•
The community-string argument specifies that a password-like community string be sent with the notification operation.
•
The cef keyword specifies that the Cisco Express Forwarding notification type is to be sent to the host. If no type is specified, all available notifications are sent.
Step 5
end
Example:Router(config)# end
Exits to privileged EXEC mode.
DETAILED STEPS: SNMP Commands
Configuring the Throttling Interval for CISCO-CEF-MIB Inconsistency Notifications
Perform the following task to configure the throttling interval for CISCO-CEF-MIB inconsistency notifications.
Configuring a throttling interval allows some time before an inconsistency notification is sent during the process of updating forwarding information from the Routing Information Base (RIB) to the RP and to the line card databases. As these databases are updated, inconsistencies might occur as a result of the asynchronous nature of the distribution mechanism for these databases. The throttling interval allows fleeting inconsistencies to resolve themselves before an inconsistency notification is sent.
SUMMARY STEPS
Router CLI Commands
1.
enable
2.
configure terminal
3.
snmp-server enable traps cef inconsistency
4.
snmp mib cef throttling-interval seconds
5.
end
SNMP Commands
1.
setany version ip-address community-string cefNotifThrottlingInterval.0 -i seconds
DETAILED STEPS
:
DETAILED STEPS: SNMP Commands
Configuration Examples for Cisco Express Forwarding—SNMP CEF-MIB Support
This section contains the following configuration examples for the Cisco Express Forwarding—SNMP CEF-MIB Support feature:
•
Configuring an SNMP Host to Receive CISCO-CEF-MIB Notifications: Example
•
Configuring SNMP Notifications for Cisco Express Forwarding Events: Example
•
Configuring the Throttling Interval for CISCO-CEF-MIB Inconsistency Notifications: Example
Configuring an SNMP Host to Receive CISCO-CEF-MIB Notifications: Example
The following example shows how to configure an SNMP host to receive CISCO-CEF-MIB notifications:
configure terminal!snmp-server community public ro
snmp-server community private rw
snmp-server host 10.56.125.47 informs version 2vc public cef
endThis example sets up SNMP host 10.56.125.47 to receive CISCO-CEF-MIB notifications as informs.
Configuring SNMP Notifications for Cisco Express Forwarding Events: Example
This section contains examples for configuring SNMP notifications for Cisco Express Forwarding events using the CLI and using SNMP commands.
Configuring SNMP Notifications for Cisco Express Forwarding Events Using the CLI
This example shows how to use the CLI to configure CISCO-CEF-MIB SNMP notifications to be sent to host 10.56.125.47 as informs for changes in Cisco Express Forwarding peer states and peer FIB states, for Cisco Express Forwarding resource failures, and for inconsistencies in Cisco Express Forwarding events:
configure terminal!snmp-server community public ro
snmp-server host 10.56.125.47 informs version 2c public cef
!snmp-server enable traps cef peer-state-changesnmp-server enable traps cef peer-fib-state-changesnmp-server enable traps cef inconsistencysnmp-server enable traps cef resource-failureendConfiguring SNMP Notifications for Cisco Express Forwarding Events Using SNMP Commands
This example shows the use of SNMP command to configure CISCO-CEF-MIB SNMP notifications to be sent to host 10.56.125.47 for changes in Cisco Express Forwarding peer states and peer FIB states, for Cisco Express Forwarding resource failures, and for inconsistencies in Cisco Express Forwarding events:
setany -v2c 10.56.125.47 public cefPeerStateChangeNotifEnable.0 -i 1
setany -v2c 10.56.125.47 public cefPeerFIBStateChangeNotifEnable.0 -i 1
setany -v2c 10.56.125.47 public cefResourceFailureNotifEnable.0 -i 1setany -v2c 10.56.125.47 public cefInconsistencyNotifEnabled.0 -i 1Configuring the Throttling Interval for CISCO-CEF-MIB Inconsistency Notifications: Example
This example shows the configuration of a throttling interval for the sending of Cisco Express Forwarding inconsistency notifications to the SNMP host using CLI commands and SNMP commands. The throttling interval is the amount of time that passes between the time that the inconsistency occurs and the sending of the notification to the SNMP host.
Configuring the Throttling Interval for CISCO-CEF-MIB Inconsistency Notifications Using CLI Commands
This example shows the addition of a throttling interval of 1000 seconds for the sending of Cisco Express Forwarding inconsistency notifications to the SNMP host using CLI commands:
configure terminal!snmp-server community public ro
snmp-server host 10.56.125.47 informs version 2c public cef
!snmp-server enable traps cef peer-state-changesnmp-server enable traps cef peer-fib-state-changesnmp-server enable traps cef inconsistencysnmp-server enable traps cef resource-failure!snmp mib cef throttling-interval 1000endConfiguring the Throttling Interval for CISCO-CEF-MIB Inconsistency Notifications Using SNMP Commands
This example shows the addition of a throttling interval of 1000 seconds for the sending of Cisco Express Forwarding inconsistency notifications to the SNMP host using an SNMP command:
setany -v2c 10.56.125.47 public cefNotifThrottlingInterval.0 -1 1000Additional References
The following sections provide references related to the Cisco Express Forwarding—SNMP CEF-MIB Support feature.
Related Documents
Related Topic Document TitleCommands for configuring and managing Cisco Express Forwarding
Tasks for configuring Cisco Express Forwarding
•
"Configuring Cisco Express Forwarding" chapter in the Cisco IOS IP Switching Configuration Guide, Release 12.4T
•
Configuring Cisco Express Forwarding" chapter in the Cisco IOS IP Switching Configuration Guide. Release 12.2SR
Standards
Standard TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
RFCs
RFC TitleRFC 3291
Textual Conventions for Internet Network Addresses
RFC 3413
Simple Network Management Protocol (SNMP) Applications
Technical Assistance
Command Reference
The following commands are introduced or modified in the feature or features documented in this module. For information about these commands, see the Cisco IOS IP Switching Command Reference at http://www.cisco.com/en/US/docs/ios/ipswitch/command/reference/isw_book.html. For information about all Cisco IOS commands, use the Command Lookup Tool at http://tools.cisco.com/Support/CLILookup or the Cisco IOS Master Command List, All Releases, at http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html.
•
snmp mib cef throttling-interval
•
snmp-server enable traps cef
•
snmp-server host
Feature Information for Cisco Express Forwarding—SNMP CEF-MIB Support
Table 20 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS 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 20 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release. Unless noted otherwise, subsequent releases of that Cisco IOS software also support that feature.
Table 20 Feature Information for Cisco Express Forwarding—SNMP CEF-MIB Support
Feature Name Release Feature InformationCisco Express Forwarding—SNMP CEF-MIB Support
12.2(31)SB2
12.2(33)SRC
12.2(33)SB
12.4(20)T
Cisco IOS XE Release 2.1The Cisco Express Forwarding—SNMP CEF-MIB Support feature introduces the CISCO-CEF-MIB that allows management applications through the use of the Simple Network Management Protocol (SNMP) to configure and monitor Cisco Express Forwarding operational data and to provide notification when Cisco Express Forwarding encounters specific configured events. This module describes how to use the CISCO-CEF-MIB to manage and monitor objects related to Cisco Express Forwarding operation.
In 12.2(31)SB2, this feature was introduced on the Cisco 10000.
In 12.2(33)SRC, this feature was integrated into a Cisco IOS 12.2SR release.
In 12.2(33)SB, this feature was integrated into a Cisco IOS 12.2SB release.
In 12.4(20)T, this feature was integrated into a Cisco IOS 12.4T release.
This feature was introduced on Cisco ASR 1000 Series Routers.
The following sections provide information about this feature:
•
Cisco Express Forwarding Functional Overview
•
Cisco Express Forwarding Information Managed by the CISCO-CEF-MIB
•
CISCO-CEF-MIB Object Groups and Related Tables
•
Brief Description of the Tables in the CISCO-CEF-MIB
•
Cisco Express Forwarding Configuration and Monitoring Operations Available Through the CISCO-CEF-MIBCISCO-CEF-MIB Notifications
•
Configuring the Router to Use SNMP
•
Configuring an SNMP Host to Receive CISCO-CEF-MIB Notifications
•
Configuring SNMP Notifications for Cisco Express Forwarding Events
•
Configuring the Throttling Interval for CISCO-CEF-MIB Inconsistency Notifications
The following commands were introduced or modified: snmp mib cef throttling-interval, snmp-server enable traps cef, snmp-server host.
Glossary
inform—A type of notification message that is more reliable than a conventional trap notification message because the informs message notification requires acknowledgment, but a trap notification does not.
IPC—Inter-Process Communication. The protocol used by routers that support distributed packet forwarding. The Cisco IOS version of IPC provides a reliable ordered delivery of messages using an underlying platform driver transport or User Date Protocol (UDP) transport protocol. Cisco IOS software IPC services allow line cards (LCs) and the central route processor (RP) in a distributed system, such as a Cisco 7500 series router, to communicate with each other by exchanging messages from the RP to the LCs. Communication messages are also exchanged between active and standby RPs. The IPC messages include configuration commands, responses to the configuration commands, and other events that are reported by an LC to the RP.
MIB—Management Information Base. A database of network management information that is used and maintained by a network management protocol such as Simple Network Management Protocol (SNMP). The value of a MIB object can be changed or retrieved by the use of SNMP commands, usually through a network management system. MIB objects are organized in a tree structure that includes public (standard) and private (proprietary) branches.
NMS—network management station. A powerful, well-equipped computer (typically an engineering workstation) that is used by a network administrator to communicate with other devices in the network. An NMS is typically used to manage network resources, gather statistics, and perform a variety of network administration and configuration tasks. In the context of SNMP, an NMS is a device that performs SNMP queries to the SNMP agent of a managed device to retrieve or modify information.
notification—A message sent by a Simple Network Management Protocol (SNMP) agent to a network management station, console, or terminal to indicate that a significant network event has occurred.
SNMP—Simple Network Management Protocol. A network management protocol used almost exclusively in TCP/IP networks. SNMP enables a user to monitor and control network devices, manage configurations, collect statistics, monitor performance, and ensure network security.
SNMP community—An authentication scheme that enables an intelligent network device to validate SNMP requests.
SNMPv2c—Version 2c of the Simple Network Management Protocol. SNMPv2c supports centralized as well as distributed network management strategies and includes improvements in the Structure of Management Information (SMI), protocol operations, management architecture, and security.
trap—A message sent by an SNMP agent to a network management station, console, or terminal to indicate that a significant network event has occurred. Traps are less reliable than inform requests, because the receiver of the trap does not send an acknowledgment of receipt; furthermore, the sender of the trap cannot determine if the trap was received.
CCDE, CCENT, Cisco Eos, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, Cisco TelePresence, the Cisco logo, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn and Cisco Store are service marks; and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, EtherFast, EtherSwitch, Event Center, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, iQuick Study, IronPort, the IronPort logo, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0807R)
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.
© 2006 - 2008 Cisco Systems, Inc. All rights reserved.


