Network Router User Manual

A-175
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)E2
Appendix A Command Reference
SNMP Commands
snmp-server enable traps optical monitor min-severity
To enable SNMP trap notifications defined in optical monitor MIB with the minimum severity threshold,
use the snmp-server enable traps optical monitor min-severity command. To disable this feature, use
the no form of the command.
snmp-server enable traps optical monitor min-severity {critical | major | minor | not-alarmed}
no snmp-server enable traps optical monitor min-severity {critical | major | minor |
not-alarmed}
Syntax Description
Defaults Disabled
Command Modes Global configuration
Command History
Usage Guidelines Use this command to enable the SNMP trap notifications defined in the optical monitor MIB
(CISCO-OPTICAL-MONITOR-MIB).
The snmp-server enable traps optical monitor min-severity command is used in conjunction with the
snmp-server host command. For a host to receive SNMP trap notifications for patch connection activity,
the snmp-server enable traps optical monitor min-severity command and the snmp-server host
command for that host must be enabled.
Examples The following example shows how to enable SNMP trap notifications for major and critical optical
monitor trap activity.
Switch# configure terminal
Switch(config)# snmp-server enable traps optical monitor min-severity major.
Related Commands
critical Enables trap notifications for critical optical monitor alarms.
major Enables trap notifications for major optical monitor alarms.
minor Enables trap notifications for minor optical monitor alarms.
not-alarmed Enables trap notifications for optical monitor events.
Release Modification
12.1(10)EV2 This command was introduced.
Command Description
patch Configures patch connections.
show patch Displays patch connection information.