sysServices

sysServices 指定最多五個簡單網路管理通訊協定 (SNMP) 服務的任何組合。

整數值衍生自下列二進位值:

服務 二進位值

實體

0x01

DataLink 和子網

0x02

網際網路

0x04

端對端

0x08

Application

0x40

例如, 實體應用程式 的組合值為 0x41 (65) 。

您可以在 Windows Server 2008、Windows Server 2008 R2 和 Windows Server 2012的核心安裝中使用這項設定,方法是在 Windows Foundation 套件中啟用SNMP-SC

SysServices

指定最多五個 SNMP 服務的任何組合。 SysServices 是整數。 預設值為 76

有效的設定階段

generalize

特殊化

父階層

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