Adds (and modifies) a MIB view.
hex_view_name | Specifies the MIB view name to add or modify. The value is to be supplies as a colon separated string of hex octets. |
view_name | Specifies the MIB view name to add or modify in ASCII format. |
object_identifier | Specifies a MIB subtree. |
subtree_mask | Specifies a hex octet string used to mask the subtree. For example, f7a indicates 1.1.1.1.0.1.1.1.1.0.1.0. |
included | Specifies that the MIB subtree defined by subtree/mask is to be included. |
excluded | Specifies that the MIB subtree defined by subtree/mask is to be excluded. |
volatile | Specifies volatile storage. |
The default mask value is an empty string (all 1s). The other default values are included and non-volatile.
Use this command to create a MIB view into a subtree of the MIB. If the view already exists, this command modifies the view to additionally include or exclude the specified subtree.
In addition to the created MIB views, there are three default views. They are: defaultUserView, defaultAdminView, and defaultNotifyView.
The following command creates the MIB view allMIB with the subtree 1.3 included as non-volatile:
configure snmpv3 add mib-view allMIB subtree 1.3
The following command creates the view extremeMib with the subtree 1.3.6.1.4.1.1916 included as non-volatile:
configure snmpv3 add mib-view extremeMib subtree 1.3.6.1.4.1.1916
The following command creates a view vrrpTrapNewMaster which excludes VRRP (Virtual Router Redundancy Protocol) notification .1 and the entry is volatile:
configure snmpv3 add mib-view vrrpTrapNewMaster 1.3.6.1.2.1.68.0.1/ff8 type excluded volatile
This command was first available in ExtremeXOS 10.1.
The hex_view_name parameter was added in ExtremeXOS 11.0.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.