You can configure the ESXi SNMP agent to filter out notifications if you don't want your SNMP management software to receive those notifications.


Configure the ESXi SNMP agent by using the ESXCLI commands. See Getting Started with vSphere Command-Line Interfaces for more information on how to use ESXCLI.


  1. Run the esxcli system snmp set command to filter notifications:
    esxcli system snmp set --notraps oid_list
    Here, oid_list is a list of OIDs for the notifications to filter, separated by commas. This list replaces any OIDs that were previously specified using this command.
    For example, to filter out coldStart (OID and warmStart (OID traps, run the following command:
    esxcli system snmp set --notraps,
  2. (Optional) If the ESXi SNMP agent is not enabled, run the following command:
    esxcli system snmp set --enable true


The traps identified by the specified OIDs are filtered out of the output of the SNMP agent, and are not sent to SNMP management software.

What to do next

To clear all notification filters, run the esxcli system snmp set --notraps reset command.