9-17
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter9 Monitoring Your Netw ork Topology
Configuring SNMP
For information about other commands that enable SNMP tr ap no tificati ons, r ef er t o the
Cisco IOS Configuration Fundamentals Command Reference publication.
Example
The following example shows how to enable all SNMP tra p no ti ficat ions fo r t h e in-b an d m es s ag e
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 op tica l mo nit or
activity. To enable the SNMP trap notifications for optical monitor, use the following global
configuration command:
For information about other commands that enable SNMP tr ap no tificati ons, r ef er t o the
Cisco IOS Configuration Fundamentals Command Reference publication.
Example
The following example shows how to enable critical S NM P tr ap n ot ificat ion s f or opti c al mon i to r
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 tr ap no tificati ons, r ef er t o the
Cisco IOS Configuration Fundamentals Command Reference publication.
Example
The following example shows how to enable SNMP trap no t ificati ons fo r OSC P.
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.