TrapConfigurationItems specifies details about the community name and traps used by the trap configuration.

You can use this setting in core installations of Windows Server® 2008, Windows Server 2008 R2, and Windows Server 2012, by enabling SNMP-SC in the Windows® Foundation package.

Child Elements


Specifies the name of the community to which Simple Network Management Protocol (SNMP) sends traps.


Specifies the IP addresses to which SNMP sends traps.

Valid Passes



Parent Hierarchy

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-SNMP-Agent-Service.

XML Example

The following XML sample output shows how to set SNMP.

  Copy Code
   <TrapConfigurationItems wcm:action="add">
   <TrapConfigurationItems wcm:action="add">
   <ValidCommunity wcm:action="add" wcm:keyValue="Community1">2</ValidCommunity>
   <ValidCommunity wcm:action="add" wcm:keyValue="Community2">4</ValidCommunity>

See Also