sysServicessysServices

sysServices 指定最多五個的簡易網路管理通訊協定 (SNMP) 服務的任何組合。sysServices specifies any combination of up to five Simple Network Management Protocol (SNMP) services.

整數值被衍生自下列的二進位值:The integer value is derived from the following binary values:

服務Service 二進位值Binary Value

實體Physical

0x010x01

資料連結和子網路DataLink and Subnet

0x020x02

InternetInternet

0x040x04

端對端End-to-end

0x080x08

應用程式Application

0x400x40

比方說的組合實體應用程式0x41 (65) 的值。For example, a combination of Physical and Application has a value of 0x41 (65).

您可以使用此設定的 Windows Server 2008、 Windows Server 2008 R2 和 Windows Server 2012 core 安裝中啟用SNMP SC Windows Foundation 封裝中。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

SysServicesSysServices

指定最多五個 SNMP 服務的任何組合。Specifies any combination of up to five SNMP services. SysServices是一個整數。SysServices is an integer. 預設值是76The default value is 76.

有效的設定階段Valid Configuration Passes

將一般化generalize

特製化specialize

父階層Parent Hierarchy

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

套用至Applies To

如需支援的 Windows 版本和架構,此元件支援的清單,請參閱Microsoft Windows-SNMP-代理程式-ServiceFor the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-SNMP-Agent-Service.

XML 範例XML Example

下列 XML 範例輸出會顯示如何設定 SNMP。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>

RFC1156AgentRFC1156Agent