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.

About this task

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.


  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.