Value
Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista
Value
specifies a value for ValidCommunity.
Note
This element does not appear in the Properties pane of Windows® System Image Manager (Windows SIM) until you add ValidCommunity to the answer file.
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.
Values
1 |
Specifies that the community name has no permissions. |
2 |
Specifies that the community name has a notify permission. |
4 |
Specifies that the community name has a read-only permission. |
8 |
Specifies that the community name has read/write permissions. |
16 |
Specifies that the community name has read/create permissions. |
Valid Passes
generalize
specialize
Parent Hierarchy
Microsoft-Windows-SNMP-Agent-Service | ValidCommunities | ValidCommunity | Value
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.
<PermittedManagers>
<A1>networkhost</A1>
</PermittedManagers>
<RFC1156Agent>
<sysContact>MyContact</sysContact>
<sysLocation>MyLocation</sysLocation>
<sysServices>65</sysServices>
</RFC1156Agent>
<TrapConfiguration>
<TrapConfigurationItems wcm:action="add">
<Community_Name>Private</Community_Name>
<Traps>ComputerName</Traps>
</TrapConfigurationItems>
<TrapConfigurationItems wcm:action="add">
<Community_Name>Public</Community_Name>
<Traps>207.46.197.32</Traps>
</TrapConfigurationItems>
</TrapConfiguration>
<ValidCommunities>
<ValidCommunity wcm:action="add" wcm:keyValue="Community1">2</ValidCommunity>
<ValidCommunity wcm:action="add" wcm:keyValue="Community2">4</ValidCommunity>
</ValidCommunities>