6.5.1

Table Of Contents
2 Run the snmp.set --port command to congure the port.
For example, run the following command:
snmp.set --port port
Here port is the port for the SNMP agent to use for listening for polling requests.
I The port you specify must not be already in use by other services. Use IP addresses from
the dynamic range, port 49152 and up.
3 (Optional) If the SNMP agent is not enabled, enable it by running the snmp.enable command.
Configure the vCenter Server Appliance for SNMP v1 and v2c
When you congure the vCenter Server Appliance SNMP agent for SNMP v1 and v2c, the agent supports
sending notications and receiving GET requests.
In SNMP v1 and v2c, community strings are namespaces that contain one or more managed objects.
Namespaces can act as a form for authentication, but this does not secure the communication. To secure the
communication, use SNMP v3.
Procedure
1 Congure SNMP Communities on page 42
To enable the vCenter Server Appliance SNMP agent to send and receive SNMP v1 and v2c messages,
you must congure at least one community for the agent.
2 Congure the SNMP Agent to Send v1 or v2c Notications on page 43
You can use the vCenter Server Appliance SNMP agent to send virtual machine and environmental
notications to management systems.
Configure SNMP Communities
To enable the vCenter Server Appliance SNMP agent to send and receive SNMP v1 and v2c messages, you
must congure at least one community for the agent.
An SNMP community denes a group of devices and management systems. Only devices and management
systems that are members of the same community can exchange SNMP messages. A device or management
system can be a member of multiple communities.
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 Run the snmp.set --communities command to congure an SNMP community.
For example, to congure public, east, and west network operation center communities, run the
following command:
snmp.set --communities public,eastnoc,westnoc
Each time you specify a community with this command, the seings you specify overwrite the previous
conguration.
To specify multiple communities, separate the community names with a comma.
vCenter Server Appliance Configuration
42 VMware, Inc.