SROS Command Line Interface Reference Guide
Global Configuration Mode Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
514
snmp-server user
Use the
snmp-server user
command to configure Simple Network Management Protocol (SNMP) users to
control access to SNMP information. Use the
no
form of this command to remove a specified host.
Variations of this command include:
snmp-server user
<username> <groupname>
v1
snmp-server user
<username> <groupname>
v1 access
<listname>
snmp-server user
<username> <groupname>
v2c
snmp-server user
<username> <groupname>
v2c access
<listname>
snmp-server user
<username> <groupname>
v3
snmp-server user
<username> <groupname>
v3 access
<listname>
snmp-server user
<username> <groupname>
v3 auth md5
<password>
snmp-server user
<username> <groupname>
v3 auth md5
<password>
access
<listname>
snmp-server user
<username> <groupname>
v3 auth md5
<password>
priv des
<password>
snmp-server user
<username> <groupname>
v3 auth md5
<password>
priv des
<password>
access
<listname>
snmp-server user
<username> <groupname>
v3 auth sha
<password>
snmp-server user
<username> <groupname>
v3 auth sha
<password>
access
<listname>
snmp-server user
<username> <groupname>
v3 auth sha
<password>
priv des
<password>
snmp-server user
<username> <groupname>
v3 auth sha
<password>
priv des
<password>
access
<listname>
Syntax Description
access
<listname>
Specifies an access control list entry.
<groupname>
Specifies the name of the group the user belongs to.
<username>
Specifies the name of the user.
v1
Uses SNMP version 1 security model.
v2c
Uses SNMP version 2c security model.
v3
Uses SNMP version 3 (user-based security model).
Options if v3 is used:
auth
Indicates that authentication is used.
des56
Use the CBC-DES privacy authentication algorithm.
md5
Uses the HMAC-MD5-96 authentication level.
priv
Indicates that privacy authentication is used.
sha
Uses the HMAC-SHA-96 authentication level.
auth-password
A password string used to build the key for the
authentication level.
Note
If password encryption is used, the running-config changes to include the key-word
encrypted
before each password entry. See the
service password-encryption
command.