Network Router User Manual

9-17
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter 9 Monitoring Your Network Topology
Configuring SNMP
For information about other commands that enable SNMP trap notifications, refer to the
Cisco IOS Configuration Fundamentals Command Reference publication.
Example
The following example shows how to enable all SNMP trap notifications for the in-band message
channel activity.
Switch# configure terminal
Switch(config)# snmp-server enable traps cdl all
Optical Monitor MIB
The APS MIB (CISCO-OPTICAL-MONITOR-MIB) assists SNMP monitoring of optical monitor
activity. To enable the SNMP trap notifications for optical monitor, use the following global
configuration command:
For information about other commands that enable SNMP trap notifications, refer to the
Cisco IOS Configuration Fundamentals Command Reference publication.
Example
The following example shows how to enable critical SNMP trap notifications for optical monitor
activity.
Switch# configure terminal
Switch(config)# snmp-server enable traps optical monitor critical
OSCP MIB
The OSCP MIB (CISCO-OSCP-MIB) assists SNMP monitoring of OSCP activity. To enable the SNMP
trap notifications for OSCP activity, use the following global configuration command:
For information about other commands that enable SNMP trap notifications, refer to the
Cisco IOS Configuration Fundamentals Command Reference publication.
Example
The following example shows how to enable SNMP trap notifications for OSCP.
Switch# configure terminal
Switch(config)# snmp-server enable traps oscp
Command Purpose
snmp-server enable traps optical monitor
{critical | major | minor | not-alarmed}
Enables SNMP trap notifications for optical monitor
activity.
Command Purpose
snmp-server enable traps oscp Enables SNMP trap notifications for OSCP activity.