Table Of Contents
DSP Operational State Notifications
Prerequisites for DSP Operational State Notifications
Information About DSP Operational State Notifications
DSP Operational State Notification
Benefits of DSP Operational State Notifications
How to Enable DSP Operational State Notifications
Enabling DSP Operational State Notifications from the CLI
Enabling DSP Operational State Notifications Using an SNMP Application
Configuration Examples for DSP Operational State Notifications
Enabling DSP Operational State Notifications Using the CLI: Example
Enabling DSP Operational State Notifications Using an SNMP Application: Example
DSP Operational State Notifications
The DSP Operational State Notifications feature enables notifications to be generated when digital signaling processor (DSP) failure and recovery events occur. These notifications help facilitate troubleshooting and lessen downtime.
This feature module describes updates to the Cisco DSP Management MIB (CISCO-DSP-MGMT-MIB) for enabling and generating DSP operational state notifications. Also described is how to enable the feature either using the command-line interface (CLI) or by modifying settings at the network management device.
History for the DSP Operational State Notifications 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
•Prerequisites for DSP Operational State Notifications
•Information About DSP Operational State Notifications
•How to Enable DSP Operational State Notifications
•Configuration Examples for DSP Operational State Notifications
Prerequisites for DSP Operational State Notifications
•Familiarity with the CISCO-DSP-MGMT-MIB and Simple Network Management Protocol (SNMP).
Information About DSP Operational State Notifications
To enable DSP operational state notifications when a DSP fails and when it recovers, you should understand the following concepts:
•DSP Operational State Notification
•Benefits of DSP Operational State Notifications
CISCO-DSP-MGMT-MIB
The CISCO-DSP-MGMT-MIB monitors DSP resources and status.
DSP Operational State Notification
A DSP notification consists of a DSP ID that indicates which DSP is affected and an operational state that indicates whether the DSP has failed or recovered.
When this feature is configured using the snmp-server enable traps dsp oper-state command, a notification is generated when a single DSP fails instead of after all DSPs have failed. For example, a DSP fails, and you lose your voice calls. In a DSP failure notification, the problem is identified. If no DSP failure notification is generated, a network management station (NMS) has to poll the router for configuration and status information to diagnose the problem.
Benefits of DSP Operational State Notifications
The DSP Operational State Notifications feature enables the generation of notifications when DSP failure and recovery events occur. These notifications help facilitate troubleshooting and lessen downtime because an NMS does not have to poll the router for configuration and status information to diagnose the problem..
How to Enable DSP Operational State Notifications
DSP operational state notifications can be configured in two ways. To configure these notifications, perform one of the following tasks:
•Enabling DSP Operational State Notifications from the CLI
•Enabling DSP Operational State Notifications Using an SNMP Application
Enabling DSP Operational State Notifications from the CLI
Perform this task to enable DSP operational state notifications from the CLI.
SUMMARY STEPS
1. enable
2. configure terminal
3. snmp-server enable traps [notification type][vrrp]
4. end
5. exit
DETAILED STEPS
Enabling DSP Operational State Notifications Using an SNMP Application
Perform this task to enable DSP operational state notifications using your SNMP application.
SUMMARY STEPS
1. setany -v2c 1.4.198.75 test cdspEnableOperStateNotification.0 -i 1
DETAILED STEPS
Step 1 setany -v2c 1.4.198.75 test cdspEnableOperStateNotification.0 -i 1
This SNMP command sets the enable operation state notification object identifier (OID) to true.
After entering this command, the system returns the following response: cdspEnableOperStateNotification.0 = true(1).
Configuration Examples for DSP Operational State Notifications
•Enabling DSP Operational State Notifications Using the CLI: Example
•Enabling DSP Operational State Notifications Using an SNMP Application: Example
Enabling DSP Operational State Notifications Using the CLI: Example
The following sample configuration code shows how to enable DSP operational state notifications using the CLI:
Router> enable
Router# configure terminal
Router(config)# snmp-server enable traps dsp oper-state
The following example shows a typical DSP failure notification:
*Jun 1 02:37:05.720:SNMP:V1 Trap, ent cdspMIBNotificationPrefix, addr 1.4.198.75, gentrap 6, spectrap 2cdspOperState.37 = 2entPhysicalEntry.7.37 = DSP (C549) 1/2/0The following example shows a typical DSP recover notification:
*Jun 1 02:37:10.820:SNMP:V1 Trap, ent cdspMIBNotificationPrefix, addr 1.4.198.75, gentrap 6, spectrap 2cdspOperState.37 = 1entPhysicalEntry.7.37 = DSP (C549) 1/2/0Enabling DSP Operational State Notifications Using an SNMP Application: Example
The following sample configuration code shows how to enable DSP operational state notifications from your SNMP application:
In your SNMP application, you type the following command:
setany -v2c 1.4.198.75 test cdspEnableOperStateNotification.0 -i 1
The application shows the following response:
cdspEnableOperStateNotification.0 = true(1)
Additional References
The following sections provide references related to the DSP Operational State Notifications feature.
Related Documents
Related Topic Document TitleNetwork management configuration tasks
Cisco IOS Network Management Configuration Guide, Release 12.4
Network management commands
Cisco IOS Network Management Command Reference, Release 12.4
MIBs
Technical Assistance
Command Reference
This section documents the following modified command only.
•snmp-server enable traps
snmp-server enable traps
To enable all Simple Network Management Protocol (SNMP) notification types that are available on your system, use the snmp-server enable traps command in global configuration mode. To disable all available SNMP notifications, use the no form of this command.
snmp-server enable traps [notification-type] [vrrp]
no snmp-server enable traps [notification-type] [vrrp]
Syntax Description
Command Default
All notification types controlled by this command are enabled.
Command Modes
Global configuration
Command History
Usage Guidelines
For additional notification types, see the Related Commands table for this command.
SNMP notifications can be sent as traps or inform requests. This command enables both traps and inform requests for the specified notification types. To specify whether the notifications should be sent as traps or informs, use the snmp-server host [traps | informs] command.
If you do not enter a snmp-server enable traps command, no notifications controlled by this command are sent. To configure the router to send these SNMP notifications, you must enter at least one snmp-server enable traps command. If you enter the command with no keywords, all notification types are enabled. If you enter the command with a keyword, only the notification type related to that keyword is enabled. To enable multiple types of notifications, you must issue a separate snmp-server enable traps command for each notification type and notification option.
Most notification types are disabled by default but some cannot be controlled with the snmp-server enable traps command.
The snmp-server enable traps command is used in conjunction with the snmp-server host command. Use the snmp-server host command to specify which host or hosts receive SNMP notifications. To send notifications, you must configure at least one snmp-server host command.
Examples
The following example shows how to enable the router to send all traps to the host specified by the name myhost.cisco.com, using the community string defined as public:
Router(config)# snmp-server enable trapsRouter(config)# snmp-server host myhost.cisco.com publicThe following example shows how to enable the generation of a DSP operational state notification from from the command-line interface (CLI):
Router(config)# snmp-server enable traps dsp oper-stateThe following example shows how to enable the generation of a DSP operational state notification from a network management device:
setany -v2c 1.4.198.75 test cdspEnableOperStateNotification.0 -i 1cdspEnableOperStateNotification.0=true(1)The following example shows how to enable the router to send Frame Relay and environmental monitor traps to the host myhost.cisco.com using the community string public:
Router(config)# snmp-server enable traps frame-relayRouter(config)# snmp-server enable traps envmon temperatureRouter(config)# snmp-server host myhost.cisco.com publicThe following example shows how to send no traps to any host. The Border Gateway Protocol (BGP) traps are enabled for all hosts, but the only traps enabled to be sent to a host are ISDN traps (which are not enabled in this example).
Router(config)# snmp-server enable traps bgpRouter(config)# snmp-server host user1 public isdnThe following example shows how to enable the router to send all inform requests to the host at the address myhost.cisco.com, using the community string defined as public:
Router(config)# snmp-server enable trapsRouter(config)# snmp-server host myhost.cisco.com informs version 2c publicThe following example shows how to send HSRP MIB traps to the host myhost.cisco.com using the community string public.
Router(config)# snmp-server enable traps hsrpRouter(config)# snmp-server host myhost.cisco.com traps version 2c public hsrpThe following example shows that VRRP will be used as the protocol to enable the traps.
Router(config)# snmp-server enable traps vrrpRouter(config)# snmp-server host myhost.cisco.com traps version 2c vrrpRelated Commands
CCSP, CCVP, the Cisco Square Bridge logo, Follow Me Browsing, and StackWise are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, and iQuick Study are service marks of Cisco Systems, Inc.; and Access Registrar, Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Empowering the Internet Generation, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient, IOS, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, LightStream, Linksys, MeetingPlace, MGX, the Networkers logo, Networking Academy, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet, StrataView Plus, TeleRouter, The Fastest Way to Increase Your Internet Quotient, and TransPath 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. (0502R)
© 2005 Cisco Systems, Inc. All rights reserved.