Name
snmp-server user — global
Synopsis
snmp-server username
group
version
[encrypted] [authhash
auth-pwd
[priv des56priv-pwd
]] [accessaccess-list
] no snmp-server username
Configures
SNMP users
Default
None
Description
This command defines SNMP users, associates them with a group (which in turn defines the information they’re allowed to view), and specifies encryption requirements together with the appropriate passwords.
-
name
The name of the user you are defining.
-
group
The SNMP group the user is associated with.
-
version
The version of SNMP that is in use. Possible values are
v1
,v2c
, andv3
;v3
is the only version that supports encryption.-
encrypted
If this keyword is present, the
auth-pwd
andpriv-pwd
passwords are present as an MD5 hash rather than in plain text.-
auth
hash
auth-pwd
SNMPv3 only. Configures an authentication key for the user.
hash
is the name of the hashing algorithm used to create the key; possibilities aremd5
andsha
.auth-pwd
is the actual password assigned to the user. The router stores this password in encrypted form.-
priv
des56
priv-pwd
SNMPv3 only. Configures an encryption key for the user, using the
des56
algorithm. (Currently,des56
is the only algorithm supported.)priv-pwd
is the actual password assigned to the user. The router stores this password in encrypted form.-
access
access-list
Optional. An access list that restricts the hosts from which the user can access the group.
The encryption of the password and the authentication key depend on the router’s ...
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.