set protocols snmp v3 mib-view subtree type
The set protocols snmp v3 mib-view subtree type command configures type of a MIB view.
Command Syntax
set protocols snmp v3 mib-view <view-name> subtree <oidtree> type <excluded | included>
delete protocols snmp v3 mib-view <view-name> subtree <oidtree> type
Parameter
•<text1> the name of the mib-view
•<text2> a dotted numeric oid
•<type> include or exclude a subtree
• excluded exclude the subtree
• included include the subtree
Parameter | Description |
mib-view <view-name> | Specifies the view name. The value is a string. |
subtree <oidtree> | Specifies the OID for the MIB subtree. oid-tree can be the OID (such as 1.4.5.3.1) . NOTE: It must be a valid MIB subtree. |
type <excluded | included> | Specifies the MIB view type:
|
Usage Guidelines
You can specify the MIB view based on the following rules:
- excluded: If a few MIB objects on the device or some objects in the current MIB view do not or no longer need to be managed by the NM station, excluded needs to be specified in the command to exclude these MIB objects.
- included: If a few MIB objects on the device or some objects in the current MIB view need to be managed by the NM station, included needs to be specified in the command to include these MIB objects.
Example
•This example includes 1.3.6.1.2.1 in the view1.
admin@XorPlus# set protocols snmp v3 mib-view view1 subtree 1.3.6.1.2.1 type included admin@XorPlus# commit