6.7

Table Of Contents
Configure SNMP Communities
To enable the vCenter Server Appliance SNMP agent to send and receive SNMP v1 and v2c messages,
you must configure at least one community for the agent.
An SNMP community defines 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 configure an SNMP community.
For example, to configure 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 settings you specify overwrite the
previous configuration.
To specify multiple communities, separate the community names with a comma.
Configure the SNMP Agent to Send v1 or v2c Notifications
You can use the vCenter Server Appliance SNMP agent to send virtual machine and environmental
notifications to management systems.
To send SNMP v1 and v2c notifications with the SNMP agent, you must configure the target, that is the
receiver, unicast address, community, and an optional port. If you do not specify a port, the SNMP agent
sends notifications to UDP port 162 on the target management system by default.
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 --targets command:
snmp.set --targets target_address@port/community
vCenter Server Appliance Configuration
VMware, Inc. 42