sysServices

sysServices 指定最多五个简单网络管理协议 (SNMP) 服务的任意组合。

整数值派生自以下二进制值:

服务 二进制值

物理

0x01

数据链接和子网

0x02

Internet

0x04

端到端

0x08

应用程序

0x40

例如,“物理”和“应用程序”组合的值为0x41 (65)。

可以在 Windows Server 2008、Windows Server 2008 R2 和 Windows server 2012 的核心安装中使用此设置,方法是在 Windows Foundation 包中启用 SNMP-SC

SysServices

指定最多五个 SNMP 服务的任意组合。 SysServices 是一个整数。 默认值为 76。

有效配置阶段

generalize

specialize

父层次结构

Microsoft-Windows-SNMP-Agent-Service | RFC1156Agent | sysServices

应用于

有关此组件支持的受支持 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-SNMP-Agent-Service

XML 示例

以下 XML 示例输出演示了如何设置 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>

RFC1156Agent