Network Router User Manual
A-184
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)E2
Appendix A Command Reference
SNMP Commands
Defaults This command is disabled by default. No notifications are sent.
If you enter this command with no keywords, the default is to send all trap types to the host. No informs
are sent to this host.
If no version keyword is present, the default is version 1.
Command Modes Global configuration
udp-port port Specifies the UDP port of the host to use. The range is 0 to 65535. The
default is 162. (Optional)
notification-type Specifies the type of notification to be sent to the host. (Optional)
If no type is specified, all notifications are sent. The notification type can
be one or more of the following keywords:
• alarms—Sends alarm state change notifications
(CISCO-ENTITY-ALARM-MIB).
• aps—Sends APS MIB (CISCO-APS-MIB) modification
notifications.
• bgp—Sends BGP (Border Gateway Protocol) state change
notifications.
• cdl—Sends in-band message channel MIB (CISCO-CDL-MIB)
modification notifications.
• config—Sends configuration notifications.
• entity—Sends entity MIB (ENTITY-MIB) modification
notifications.
• fru-ctrl—Sends entity FRU (field replaceable unit) control MIB
(CISCO-ENTITY-FRU-CONTROL-MIB) modification
notifications.
• optical power—Sends optical power modification notifications.
• oscp—Sends OSCP MIB (CISCO-OSCP-MIB) modification
notifications.
• patch—Sends optical patch MIB (CISCO-OPTICIAL-PATCH-MIB)
modification notifications.
• rf—Sends redundancy facility MIB (CISCO-RF-MIB) modification
notifications.
• snmp—Sends SNMP notifications (as defined in RFC 1157).
• syslog—Sends error message notifications (CISCO-SYSLOG-MIB).
Specify the level of messages to be sent with the logging history level
command.
• threshold—Sends interface alarm threshold MIB
(CISCO-IF-THRESHOLD-MIB) modification notifications.
• topology—Sends physical topology MIB (PTOPO-MIB)
modification notifications.