Community_Name
Community_Name
指定簡單網路管理 Protocl (SNMP) 傳送陷阱的社群名稱。
值
Community_Name |
指定這個專案 |
這種字串支援空的元素。
有效的設定階段
generalize
特殊化
父階層
Microsoft-Windows-SNMP-Agent-Service | TrapConfiguration | TrapConfigurationItems | Community_Name
套用至
如需此元件支援的 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>