Switch Management Commands 2116
• username — Specifies user name used to generate the notification.
(Range: 1-30 characters.)
• traps — Indicates that SNMP traps are sent to this host.
• informs — Indicates that SNMPv2 informs are sent to this host.
• noauth — Specifies sending of a packet without authentication.
• auth — Specifies authentication of a packet without encrypting it
• priv — Specifies authentication and encryption of a packet.
• seconds — Number of seconds to wait for an acknowledgment before
resending informs. This is not allowed for hosts configured to send traps.
The default is 15 seconds. (Range: 1-300 seconds.)
• retries — Maximum number of times to resend an inform request. This
is not allowed for hosts configured to send traps. The default is 3
attempts. (Range: 0-255 retries.)
• port — UDP port of the host to use. The default is 162. (Range: 1-
65535.)
• filtername — A string that is the name of the filter that define the filter
for this host. If unspecified, does not filter anything. (Range: 1-30
characters.)
Default Configuration
The default configuration is 3 retries and 15 seconds timeout.
Command Mode
Global Configuration mode
User Guidelines
The username can include any printable characters except a question mark.
Enclose the string in double quotes to include spaces within the key. The
surrounding quotes are not used as part of the key. The CLI does not filter
illegal characters but may accept entries up to the first illegal character or
reject the entry entirely.
Example
The following example configures an SNMPv3 host, and sets it to send SNMP
INFORMS with user name John using authentication without encryption.