Configure an SNMP Community
You can configure SNMP read-only (ro) communities to authorize communication between your managed appliances and your SNMP manager.
SNMP communities use community strings to act as a type of password to authenticate access to SNMP data. Your SNMP service has a default community string of "unguessable", which is automatically enabled with your SNMP service.
You can configure unique ro communities to restrict access to a specific OID tree or SNMP view. For information about SNMP views, see Configure SNMP Views.
For complete information about the View-based Access Control Model (VACM) used by the SNMP service on your StorNext appliance, see http://www.net-snmp.org/docs/man/snmpd.conf.html.
Note: For a list of all the Appliance Controller commands, see the Command Index.
Community String Values
SNMP community string values are limited to no less than 1 and no more than 255 of the following ASCII characters:
- Lowercase characters (a-z)
- Uppercase characters (A-Z)
- Numbers (0-9)
- Dash (-)
- Underscore (_)
- Log in to the Appliance Controller CLI.
- Enter:
snmp community add ro <community-name> [default | <host-id> | <subnet/(mask | bits)> [<oid> | view=<view-name>]]
The parameters are:
|
The name to assign the SNMP community. |
|
(Optional) The single source parameter, which defines the addresses from which the node can be queried. We strongly recommend using the default community string of |
|
(Optional) The single source parameter, which defines the addresses from which the node can be queried. Set the community string to the network's host ID, either with an IP address or fully qualified domain name. |
|
(Optional) The single source parameter, which defines the addresses from which the node can be queried. Set the community string to a specific subnet / mask or CIDR notation (bits). |
|
(Optional) Define a specific OID tree or SNMP view that the SNMP manager can access on the managed appliances. |
Example:
> snmp community add ro unguessable
- Log in to the Appliance Controller CLI.
- Enter:
snmp community remove ro <community-name>
The parameter is:
|
The name of the SNMP community that you are removing. |