1.8.4 Configuring MIB-View-based Access Control
This part describes how the NM Station manages the specified feature of the device in the MIB
view.
Context
Do as follows on the switch enabled with the SNMP agent.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
snmp-agent community { read | write } { community-name1 | cipher community-name2 }
[ mib-view view-name | acl acl-number ] *
MIB-view-based access control is configured.
----End
1.8.5 Checking the Configuration
After MIB-view-based access control in SNMPv2c is configured, you can view configurations
of SNMP.
Prerequisite
The configurations of the MIB-View-based Access Control in SNMPv2c are complete.
Procedure
l Run the display snmp-agent mib-view command to view the MIB view.
l Run the display snmp-agent community command to view the community name of the
agent.
l Run the display snmp-agent sys-info version command to view the SNMP version
information.
----End
Example
After the configurations, run the display snmp-agent mib-view command. If information about
the MIB view is displayed, it means that the configuration succeeds.
<Quidway> display snmp-agent mib-view
View name:ViewDefault
MIB Subtree:internet
Subtree mask:
Storage-type: nonVolatile
View Type:included
View status:active
View name:ViewDefault
MIB Subtree:snmpUsmMIB
Subtree mask:
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management 1 SNMP Configuration
Issue 03 (2010-09-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1-23