Optional) Enabling The Snmp Extended Error Code Function - Huawei AR150/200 Series Configuration Manual

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
A rule is added to the ACL.
Step 4 Run:
quit
Return to the system view.
Step 5 Run:
snmp-agent mib-view view-name { include | exclude } subtree-name [ mask mask ]
A MIB view is created, and manageable MIB objects are specified.
By default, an NM station has rights to access the objects in the Viewdefault view (1.3.6.1).
l If a few MIB objects on a device or some objects in the current MIB view do not or no longer
l If a few MIB objects on the device or some objects in the current MIB view need to be
Step 6 Run:
snmp-agent community { read | write } community-name [ mib-view view-name | acl acl-
number ]
The NM station's access rights are specified.
l read needs to be configured in the command if the NM station administrator needs the read
l If some of the NM stations that use the community name need to have rights to access the
l If all the NM stations that use the community name need to manage specified objects on the
l If some of the NM stations that use the community name need to manage specified objects
----End
Follow-up Procedure
After the access rights are configured, especially after the IP address of the NM station is
specified, if the IP address changes (for example, the NM station changes its location, or IP
addresses are reallocated due to network adjustment), you need to change the IP address of the
NM station in the ACL. Otherwise, the NM station cannot access the device.

1.3.4 (Optional) Enabling the SNMP Extended Error Code Function

This section describes how to enable the extended SNMP error code function when both the NM
station and managed device are Huawei products. After this function is enabled, more types of
error codes are provided to help you locate and rectify faults more quickly and accurately.
Issue 02 (2012-03-30)
need to be managed by the NM station, exclude needs to be specified in the related command
to exclude these MIB objects.
managed by the NM station, include needs to be specified in the related command to include
these MIB objects.
*
permission in the specified view in some cases. For example, a low-level administrator needs
to read certain data. write needs to be configured in the command if the NM station
administrator needs the read and write permissions in the specified view in some cases. For
example, a high-level administrator needs to read and write certain data.
objects in the Viewdefault view (1.3.6.1), mib-view view-name does not need to be
configured in the command.
device, acl acl-number does not need to be configured in the command.
on the device, both mib-view and acl need to be configured in the command.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 SNMP Configuration
18

Advertisement

Table of Contents
loading

Table of Contents