CLI Guide
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, Dell Networking OS recommends setting 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 then the port number of the remote host to
use. The range is from 0 to 65535. The default is 162.
notication-type (OPTIONAL) Enter one of the following keywords for the type of trap to send to the host:
• ecfm — Notication of ECFM state changes.
• entity — Notication of entity changes.
• envmon — Environment monitor trap.
• eoam — Noticaiton of EOAM state changes.
• ets — Notication of ets trap changes.
• fips — Notication of FIP snooping state changes.
• lacp — Noticaiton of LACP state changes.
• snmp — SNMP notication (RFC 1157).
• stp — Spanning tree protocol notication (RFC 1493).
• vrrp — State change in a VRRP group.
• xstp — State change in MSTP (802.1s), RSTP (802.1w), and PVST+.
The default is all trap types are sent to host.
Defaults As above.
Command Modes CONFIGURATION
Supported Modes Full–Switch Mode
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information
In order to congure the router to send SNMP notications, 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 notications are sent.
In order to enable multiple hosts, issue a separate snmp-server host command for each host. You can specify
multiple notication types in the command for each host.
When multiple snmp-server host commands are given for the same host and type of notication (trap or
inform), each succeeding command overwrites the previous command. Only the last snmp-server host
command is in eect. For example, if you enter an snmp-server host inform command for a host and then
enter another snmp-server host inform command for the same host, the second command replaces the
rst command.
1212 Simple Network Management Protocol (SNMP) and Syslog