If you configure the vCenter Server Appliance SNMP agent for polling, it can listen for and respond to requests from SNMP management client systems, such as GET, GETNEXT, and GETBULK requests.
- 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.
- Run the snmp.set --port command to configure the port.
For example, run the following command:
snmp.set --port portHere port is the port for the SNMP agent to use for listening for polling requests.Important: The port you specify must not be already in use by other services. Use IP addresses from the dynamic range, port 49152 and up.
- (Optional) If the SNMP agent is not enabled, enable it by running the snmp.enable command.