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

SNMP configuration for ESXi requires the vSphere Command-Line Interface. See Getting Started with vSphere Command-Line Interfaces.

1

From the vSphere CLI, vicfg-snmp.pl --server hostname --username username --password password -n oid_list

oid_list is a list of OIDs for the traps to filter, separated by commas. This list replaces any OIDs that were previously specificed using this command.

oid_list is a list of OIDs for the traps to filter, separated by commas. This list replaces any OIDs that were previously specificed using this command.

For example, to filter out coldStart (OID 1.3.6.1.4.1.6876.4.1.1.0) and warmStart (OID 1.3.6.1.4.1.6876.4.1.1.1) traps, type vicfg-snmp.pl --server hostname --username username --password password -n 1.3.6.1.4.1.6876.4.1.1.0,1.3.6.1.4.1.6876.4.1.1.1 .

2

(Optional) If the SNMP agent is not enabled, enable it by typing vicfg-snmp.pl --server hostname --username username --password password --enable.

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.

To clear all trap filters, typevicfg-snmp.pl --server hostname --username username --password password -n reset.