社群_名稱Community_Name

Community_Name 指定傳送設陷之簡易網路管理通訊協定 (SNMP) 社群名稱。Community_Name specifies the name of the community to which Simple Network Management Protocl (SNMP) sends traps.

Values

Community_NameCommunity_Name

指定社群名稱,這個TrapConfigurationItems項目。Specifies the name of the community for this TrapConfigurationItems element. Community_Name是一個字串。Community_Name is a string.

此字串類型支援空元素。This string type supports empty elements.

有效的設定階段Valid Configuration Passes

將一般化generalize

特製化specialize

父階層Parent Hierarchy

Microsoft-Windows-SNMP-Agent-Service | TrapConfiguration | TrapConfigurationItems | Community_NameMicrosoft-Windows-SNMP-Agent-Service | TrapConfiguration | TrapConfigurationItems | Community_Name

套用至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>

TrapConfigurationItemsTrapConfigurationItems