Cisco Cisco IOS Software Release 12.4(4)T

下载
页码 10
DSP Operational State Notifications
  Configuration Examples for DSP Operational State Notifications
4
Cisco IOS Release 12.4(4)T
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 
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 2
cdspOperState.37 = 2
entPhysicalEntry.7.37 = DSP (C549) 1/2/0
The 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 2
cdspOperState.37 = 1
entPhysicalEntry.7.37 = DSP (C549) 1/2/0
Enabling 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)