view-subtree-family
This command configures the View Subtree Family table, which defines access authorization rules to MIB OIDs for a View Tree Family. The table is a child of the View Tree Family table.
The View Subtree Family table is applicable only to the advanced SNMP mode.
Syntax
(config-system)# snmp settings (snmp)# view-tree-family <Index> (view-tree-family-<Index>)# view-subtree-family <Index>
(view-subtree-family-<Index/Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
family-subtree |
Defines the OID subtree. |
mask |
Defines the bit string mask, which couples with the OID subtree to make MIB view subtrees. |
type {excluded|included} |
Defines if the view subtree family is included in the MIB view. |
Command Mode
Privileged User
Note
For your settings to take effect, run the activate or exit commands.
Related Commands
view-tree-family
Example
This example configures authorized access to the entire MIB tree ("iso"), except one specific MIB OID:
(config-system)# snmp settings (snmp)# view-tree-family 1 (view-tree-family-1) view-name AdminSNMP (view-tree-family-1)# view-subtree-family 0
(view-subtree-family-1/0)# family-subtree iso
(view-subtree-family-1/0)# type included
(view-subtree-family-1/0)# exit
(view-tree-family-1)# view-subtree-family 1
(view-subtree-family-1/1)# family-subtree 1.3.6.1.4.1.5003.9.10.10.3.1.1.5
(view-subtree-family-1/1)# type excluded
(view-subtree-family-1/1)# exit
(view-tree-family-1)# exit
(snmp)#