6.0.1

Table Of Contents
3 (Optional) Run the snmp.set --privacy command to congure privacy protocol.
For example, run the following command:
snmp.set --privacy protocol
Here, protocol must be either none, for no privacy, or AES128.
Configure SNMP Users
You can congure up to ve users who can access SNMP v3 information. User names must be no more than
32 characters long.
While conguring a user, you generate authentication and privacy hash values based on the user's
authentication and privacy passwords and on the SNMP agent's engine ID. After conguring users, if you
change the engine ID, the authentication protocol, or the privacy protocol, the users are no longer valid and
must be recongured.
Prerequisites
n
Verify that you have congured the authentication and privacy protocols before conguring users.
n
Verify that you know the authentication and privacy passwords for each user that you plan to
congure. Passwords must be at least seven characters long. Store these passwords in les on the host
system.
Procedure
1 Access the appliance shell and log in as a user who has the administrator or super administrator role.
The default user with super administrator role is root.
2 If you are using authentication or privacy, get the authentication and privacy hash values for the user by
the running snmp.hash --auth_hash --priv_hash command.
For example, run the following command:
snmp.hash --auth_hash secret1 --priv_hash secret2
Here, secret1 is the path to the le containing the user's authentication password and secret2 is the path
to the le containing the user's privacy password. Alternatively, you can specify the ag --raw-secret
and specify the passwords directly on the command line.
The authentication and privacy hash values are displayed.
3 Congure the user by running snmp.set --users.
For example, run the following command:
snmp.set --users userid/authhash/privhash/security
The parameters in the command are as follows.
Parameter Description
userid Replace with the user name.
authhash Replace with the authentication hash value.
privhash Replace with the privacy hash value.
security
Replace with the level of security enabled for that user, which can be auth, for authentication only,
priv, for authentication and privacy, or none, for no authentication or privacy.
vCenter Server Appliance Configuration
40 VMware, Inc.