Toolpack:Creating an SNMPv1/SNMPv2 Community C
From TBwiki
(Difference between revisions)
(→List of Parameters) |
(Added northbound content) |
||
Line 38: | Line 38: | ||
'''Path''' | '''Path''' | ||
<pre> | <pre> | ||
+ | /configurations/@[configuration_name]/snmp_services/configuration/snmp_v1_v2_communities/private | ||
+ | |||
+ | /configurations/@[configuration_name]/snmp_services/configuration/snmp_v1_v2_communities/public | ||
</pre> | </pre> | ||
'''Parameters (text)''' | '''Parameters (text)''' | ||
<pre> | <pre> | ||
+ | /configurations/@[configuration_name]/snmp_services/configuration/snmp_v1_v2_communities/private | ||
+ | community_name = "private" | ||
+ | write_operation_allowed = true | ||
</pre> | </pre> | ||
'''Parameters (json)''' | '''Parameters (json)''' | ||
<pre> | <pre> | ||
− | </pre> | + | { |
+ | "community_name" : "private", | ||
+ | "write_operation_allowed" : false | ||
+ | }</pre> | ||
</div> | </div> | ||
Revision as of 13:35, 19 October 2015
Applies to version(s): v2.9.
New communities can be created for SNMP versions 1 or 2, By default, the standard communities public (read-only access), and private (read-write access) have been created.
To create a new SNMPv1/SNMPv2 community:
1-Click Services in the navigation panel.
2-Select the SNMP tab.
3-Click Create new community
4-In the community creation window:
- Enter a unique name for the community
- Select or clear the Write operation allowed check box to allow or disallow a write privilege for the current community
- Click Create
5-Verify that the SNMP community was successfully created message is displayed and that the new community in SNMPv1 SNMPv2 Communities list.
Path
/configurations/@[configuration_name]/snmp_services/configuration/snmp_v1_v2_communities/private /configurations/@[configuration_name]/snmp_services/configuration/snmp_v1_v2_communities/public
Parameters (text)
/configurations/@[configuration_name]/snmp_services/configuration/snmp_v1_v2_communities/private community_name = "private" write_operation_allowed = true
Parameters (json)
{ "community_name" : "private", "write_operation_allowed" : false }