6.7

Table Of Contents
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 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, run the following command:
esxcli system snmp set --notraps 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 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.
Configure SNMP Management Client Software
After you have configured a vCenter Server instance or an ESXi host to send traps, configure your
management client software to receive and interpret those traps.
To configure your management client software, specify the communities for the managed device,
configure the port settings, and load the VMware MIB files. See the documentation for your management
system for specific instructions for these steps.
Prerequisites
To complete this task, download the VMware MIB files from the VMware website:
http://communities.vmware.com/community/developer/managementapi. On the Web page, search
Downloading MIB modules.
Procedure
1 In your management software, specify the vCenter Server instance or ESXi host as an SNMP-based
managed device.
2 If you are using SNMPv1 or SNMPv2c, set up appropriate community names in the management
software.
These names must correspond to the communities set for the SNMP agent on the vCenter Server
instance or ESXi host.
3 If you are using SNMPv3, configure users and authentication and privacy protocols to match those
configured on the ESXi host.
4 If you configured the SNMP agent to send traps to a port on the management system other than the
default UDP port 162, configure the management client software to listen on the port you configured.
vSphere Monitoring and Performance
VMware, Inc. 192