![Cisco ASR 14000 Series Management Command Reference Download Page 631](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667631.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
SNMP Server Commands on Cisco IOS XR Software
snmp-server traps
SMR-629
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
Defaults
SNMP notifications are disabled by default.
Command Modes
Global configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the
snmp-server traps
command to enable trap requests for the specified notification types. To
configure the router to send SNMP notifications, specify at least one
snmp-server traps
command.
When the command is entered with no keyword, all notification types are enabled. When a notification
type keyword is specified, only the notification type related to that keyword is enabled. To enable
multiple types of notifications, issue a separate
snmp-server traps
command for each notification type.
More information about individual MIBs can be found in the SNMP Object Navigator, available through
cisco.com at
http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&step=2
.
The
snmp-server traps
command is used with the
command. Use the
snmp-server
host
command to specify which host or hosts receive SNMP notifications.
Task ID
Some SNMP trap notifications require additional Task IDs as indicated in the following table:
•
pim
—Enables SNMP PIM traps.
•
rf
—Enables RF-MIB traps.
•
sbc-dbl
—Enables SNMP SBC dynamic blacklist traps.
•
sbc-mgm
—Enables SNMP SBC Media Gateway Manager (MGM) traps.
•
sensor
—Enables SNMP entity sensor traps.
•
snmp
—Enables SNMP traps.
•
sonet
—Enables SONET traps.
•
syslog
—Controls error message notifications (Cisco-syslog-MIB).
Specify the level of messages to be sent with the
logging history
command.
•
vpls
—Enables virtual private LAN service (VPLS) traps.
Note
To display the trap notifications supported on a platform, use the online
help (
?
) function.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
snmp
read, write