6.7

Table Of Contents
Here target_address, port, and community are the address of the target system, the port number to
send the notifications to, and the community name, respectively. The port value is optional. If you do
not specify a port, the default port,161, is used.
Each time you specify a target with this command, the settings you specify overwrite all previously
specified settings. To specify multiple targets, separate them with a comma.
For example, run the following command for configuring the targets 192.0.2.1@678/targetcommunity
and 2001:db8::1/anothercom:
snmp.set --targets 192.0.2.1@678/targetcommunity,2001:db8::1/anothercom
3 (Optional) If the SNMP agent is not enabled, enable it by running the snmp.enable command.
4 (Optional) To send a test trap to verify that the agent is configured correctly, run the snmp.test
command.
The agent sends a warmStart trap to the configured target.
Configure vCenter Server Appliance for SNMP v3
When you configure the SNMP agent for SNMP v3, the agent supports sending traps. SNMP v3 also
provides stronger security than v1 or v2c, including cryptographic authentication and encryption.
In vSphere 6.0, SNMP v3 informs are not supported. The vCenter Server Appliance supports only
notifications such as v1/v2c traps and v3 traps with all security levels.
Procedure
1 Configure the SNMP Engine ID
Every SNMP v3 agent has an engine ID, which serves as a unique identifier for the agent. The
engine ID is used with a hashing function to generate localized keys for authentication and
encryption of SNMP v3 messages.
2 Configure SNMP Authentication and Privacy Protocols
SNMP v3 optionally supports authentication and privacy protocols.
3 Configure SNMP Users
You can configure up to five users who can access SNMP v3 information. User names must be no
more than 32 characters long.
4 Configure SNMP v3 Targets
Configure SNMP v3 targets to allow the SNMP agent to send SNMP v3 traps.
Configure the SNMP Engine ID
Every SNMP v3 agent has an engine ID, which serves as a unique identifier for the agent. The engine ID
is used with a hashing function to generate localized keys for authentication and encryption of SNMP v3
messages.
vCenter Server Appliance Configuration
VMware, Inc. 43