Configure SNMP Views
When assigned to an SNMP community, an SNMP view controls access to a defined set of OID trees. For information about SNMP communities, see Configure an SNMP Community .
- Define the systemInfo SNMP view providing access to the following OID tree:
- Assign this view to the sysInfo community:
> snmp view add systemInfo included 1.3.6.1.4.1.3697.1.50
> snmp community add ro unguessable view=systemInfo
The sysInfocommunity can now access data in the .1.3.6.1.4.1.3697.1.50 OID tree.
Note: For a list of all the Appliance Controller commands, see the Command Index.
- Log in to the Appliance Controller CLI.
- Enter:
- Enter
included
to allow access to the specified OID tree.OR
- Enter
excluded
to deny access to the specified OID tree.
snmp view add <name> (included | excluded) <oid> [<mask>] [comment=<description>]
The parameters are:
|
The name to assign the SNMP view. |
|
|
|
Define the OID tree to include or exclude from the view. |
|
(Optional) Define the specific mask to include or exclude from the view. |
|
(Optional) Include a description of the view. |
Example:
> snmp view add SystemInfo included .1.3.6.1.4.1.3697.1.50 comment="This is the StorNext SNMP MIB file's OID tree"
- Log in to the Appliance Controller CLI.
- Enter:
snmp view remove <name> <oid>
The parameters are:
|
The name of the SNMP view that you are removing. |
|
The OID tree defined for the view. |