The default maximum number of times to resend an inform request is 3.
Command Mode
Global Configuration mode
User Guidelines
When configuring an SNMPv1 or SNMPv2 notification recipient, a notification view for that
recipient is automatically generated for all the MIB.
When configuring an SNMPv1 notification recipient, the Inform option cannot be selected.
If a trap and inform are defined on the same target, and an inform was sent, the trap is not
sent.
To define an SNMP recipient on the out-of-band port, use the out-of-band IP address format
oob/ip-address.
Example
The following example enables SNMP traps for host 10.1.1.1 with community string
"management" using SNMPv2.
Console (config)# snmp-server host 10.1.1.1 management 2
SNMPv3 Commands
snmp-server user
The snmp-server user global configuration command configures a new SNMP Version 3 user. To
delete a user, use the no form of this command.
Syntax
snmp-server user username groupname [remote engineid-string] [ auth-md5 password | auth-
sha password | auth-md5-key md5-des-keys | auth-sha-key sha-des-keys ]
no snmp-server user username [remote engineid-string]
•
username—Specifies the name of the user on the host that connects to the agent. (Range:
1-30 characters)
•
groupname—Specifies the name of the group to which the user belongs. (Range: 1-30
characters)
•
engineid-string—Specifies the engine ID of the remote SNMP entity to which the user
belongs. The engine ID is a concatenated hexadecimal string. Each byte in the
hexadecimal character string is two hexadecimal digits. Each byte can be separated by a
period or colon. If the engine ID is not specified, the local engine ID is used. (Range: 5-32
characters)
363
SNMP Commands