Parameter | Description | Value |
---|---|---|
exclude | Displays all MIB views that have excluded MIB subtrees configured. | - |
include | Displays all MIB views that have included MIB subtrees configured. | - |
viewname view-name | Displays a specified MIB view. | The value is a string of 1 to 32 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
The snmp-agent mib-view command creates or updates a MIB view. To check the current MIB view, you can run the display snmp-agent mib-view command.
Precautions
The snmp-agent command has been run to enable the SNMP Agent. Otherwise, an error message is displayed.
# Display the current MIB view.
<HUAWEI> display snmp-agent mib-view
View name:ViewDefault
MIB Subtree:internet
Subtree mask:F0(Hex)
Storage-type: nonVolatile
View Type:included
View status:active
Item |
Description |
---|---|
View name |
MIB view name. You can run the snmp-agent mib-view command to configure this parameter. |
MIB Subtree |
MIB subtree. You can run the snmp-agent mib-view command to configure this parameter. |
Subtree mask |
MIB subtree mask. |
Storage type |
Mode in which information is stored. Only nonVolatile is supported currently. In this mode, configuration can be restored after the device restarts. |
View Type |
Whether the MIB subtree can be accessed by a MIB view:
You can run the snmp-agent mib-view command to configure this parameter. |
View status |
Indicates the status of the MIB view. |