132 ExtremeWare Software 7.3.0 Command Reference Guide
Commands for Managing the Switch
configure snmpv3 add mib-view
configure snmpv3 add mib-view {hex} <view name> subtree <object
identifier> {/<subtree mask>} {type [included | excluded]} {volatile}
Description
Add (and modify) a MIB view.
Syntax Description
Default
The default
mask
value is an empty string (all 1s). The other default values are
included
and
non-volatile.
Usage Guidelines
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 of storage type permanent
and cannot be deleted, but they can be modified. The default views are: defaultUserView,
defaultAdminView, and defaultNotifyView.
Example
Use the following command to create the MIB view allMIB with the subtree 1.3 included as non-volatile:
configure snmpv3 add mib-view allMIB subtree 1.3
Use the following command to create 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
Use the following command to create a view vrrpTrapNewMaster which excludes VRRP 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
hex Specifies that the value to follow is to be supplied as a colon separated string
of hex octets.
view name Specifies the MIB view name to add or modify.
subtree Specifies a MIB 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.