SNMP Commands
snmp-server user
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
447
32
Syntax
snmp-server user
username groupname
[auth {md5 | sha}
AUTHPASSWD
]
snmp-server user
username groupname
auth {md5 | sha}
AUTHPASSWD
priv
PRIVPASSWD
no snmp-server user
username
Parameters
•
username
—Specifies the name of the user on the host that connects to the
SNMP agent. (Range: 1 to 30 characters). For SNMP v1 or v2c, this
username must match the community string entered in the snmp-server
host command.
•
groupname
—Specifies the SNMP group to which the SNMP user belongs.
The SNMP group should be configured using the snmp-server group
command with v1 or v2c parameters. (Range: 1 to 30 characters)
•
auth {md5 | sha}—(Optional) Specifies the protocol to authenticate the
SNMP user. The options are:
-
md5—Uses the HMAC-MD5-96 authentication protocol.
-
Sha—Uses the HMAC-SHA-96 authentication protocol.
•
AUTHPASSWD
—(Optional) The authentication password. (Length: 8 to 32
characters)
•
priv
PRIVPASSWD
—Specifies the private password for the privacy key.
(Length: 8 to 64 characters)
Default Configuration
N/A
Command Mode
Global Configuration mode
Example
switchxxxxxx(config)#
snmp-server user tom acbd