Command Line Reference Guide
SNMP and Syslog | 985
Defaults
As shown
Command Modes
CONFIGURATION
Command
History
Usage
Information
In order to configure the router to send SNMP notifications, you must enter at least one snmp-server
host
command. If you enter the command with no keywords, all trap types are enabled for the host. If
you do not enter an snmp-server host command, no notifications are sent.
In order to enable multiple hosts, you must issue a separate snmp-server host command for each
host. You can specify multiple notification types in the command for each host.
version 1 | 2c | 3
(OPTIONAL) Enter the keyword version to specify the security model
followed by the security model version number
1, 2c, or 3.
• Version
1 is the least secure version
• version
3 is the most secure of the security modes.
• Version
2c allows transmission of informs and counter 64, which allows for
integers twice the width of what is normally allowed.
Default: Version
1
auth (OPTIONAL) Enter the keyword auth to specify authentication of a packet
without encryption.
noauth (OPTIONAL) Enter the keyword noauth to specify no authentication of a
packet.
priv (OPTIONAL) Enter the keyword priv to specify both authentication and then
scrambling of the packet.
community-string
Enter a text string (up to 20 characters long) as the name of the SNMP
community.
Note: For version 1 and version 2c security models, this string
represents the name of the SNMP community. The string can be set
using this command, however it is recommended that you set the
community string using the snmp-server community command
before executing this command. For version 3 security model, this string
is the USM user security name.
udp-port port-number (OPTIONAL) Enter the keywords udp-port followed by the port number of
the remote host to use.
Range: 0 to 65535.
Default: 162
notification-type
(OPTIONAL) Enter one of the following keywords as the type of trap to be sent
to the host:
•
bgp - allow BGP state change traps
•
envmon - allows environment monitor traps
•
snmp - Allows SNMP-type notification (RFC 1157) traps.
•
stp - Allow Spanning Tree protocol notification (RFC 1493)
•
xstp - Allow MSTP (802.1s), RSTP (802.1w), and PVST+ state change
traps
Default: All trap types are sent to host
Version 8.3.5.0 Introduced on S55
Version 7.6.1.0 Support added for S-Series; Added support for STP and xSTP notification types.
Version 7.5.1.0 Support added for C-Series
E-Series legacy command










