Users Guide

Table Of Contents
Switch Management Commands 2273
Default Configuration
The default configuration is 3 retries, and 15 seconds timeout. No hosts are
configured by default. No notifications are sent by default.
If you enter this command with no keywords, the default is to send all trap
types to the host in SNMPv1 format. No informs are sent to the host. If no
version keyword is present, the default is Version 1.
Command Mode
Global Configuration mode
User Guidelines
If a DNS host name is entered instead of an IP address, the switch attempts
to resolve the host name immediately using DNS. Use the ip domain-lookup
command and the ip name-server command to enable resolution of DNS
host names. Once resolved, the host name is not resolved again.
The hostname parameter may be a fully or partially qualified domain name. A
hostname consists of a series of labels separated by periods. Each label may be
a maximum of 63 characters in length. The maximum length of the
hostname parameter is 256 characters. Refer to RFC 1035 Section 2.3.1 for
more information.
Example
The following example enables SNMP traps for host 192.16.12.143.
console(config)# snmp-server host 192.16.12.143 Dell EMC Networking traps
version 2
The following example enables the MAC notification, sets the buffer size to
255, and enables MAC notification traps. An SNMP host is configured to
receive SNMPv2 traps. At least one SNMP host must be configured for traps
or informs to be sent.
console(config)#mac address-table notification change
console(config)#mac address-table notification change history 255
console(config)#smnp-server enable traps mac-notification
console(config)#smnp-server host 10.1.1.2 traps version 2 community-string
“MyCommunity”