A1

A1 specifies whether the computer accepts Simple Network Management Protocol (SNMP) packets from any host.

If a host is specified in A1, the computer accepts SNMP settings only from that host. You can specify either the host computer name or the IP address for the host. It is recommended that Host be used as the host computer name.

Note

You can configure only a single host with the A1 setting. Adding multiple hosts is not supported.

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

Values

A1

Specifies the host from which the computer accepts SNMP packets. A1 is a string. The default value is localhost.

This string type supports empty elements.

Valid Passes

generalize

specialize

Parent Hierarchy

Microsoft-Windows-SNMP-Agent-Service | PermittedManagers | A1

Applies To

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

XML Sample

The following XML 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>123.456.7.89</Traps>
   </TrapConfigurationItems>
</TrapConfiguration>
<ValidCommunities>
   <ValidCommunity wcm:action="add" wcm:keyValue="Community1">2</ValidCommunity>
   <ValidCommunity wcm:action="add" wcm:keyValue="Community2">4</ValidCommunity>
</ValidCommunities>

See Also

Concepts

PermittedManagers