< Home

display snmp-agent mib-view

Function

The display snmp-agent mib-view command displays the current MIB view.

Format

display snmp-agent mib-view [ exclude | include | viewname view-name ]

Parameters

Parameter Description Value
exclude Excludes the attributes of the set SNMP MIB view. -
include Includes the attributes of the set SNMP MIB view. -
viewname view-name Specifies the view name to be displayed.

It is a string of 1 to 32 characters, which are case sensitive and cannot be blank spaces.

NOTE:

When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

3: Management level

Usage Guidelines

Use this command to display the view specified when configuring the SNMP community name. By default, the system uses the ViewDefault view.

Example

# Display the current MIB view.

<sysname> display snmp-agent mib-view
   View name:ViewDefault
       MIB Subtree:internet
       Subtree mask:
       Storage-type: nonVolatile
       View Type:included
       View status:active
Table 1 Description of the display snmp-agent mib-view command output

Item

Description

View name

View name

MIB Subtree

MIB sub tree

Subtree mask

Subtree mask

Storage-type

Storage type

View Type

Whether to enable or disable the access to an MIB object

View status

Status of the MIB view

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >