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

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
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.2.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.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
snmp-agent extend error-code enable
The SNMP extended error code function is enabled.
By default, SNMP standard error codes are used. After the extended error code function is
enabled, extended error codes can be sent to the NM station.
----End

1.2.5 (Optional) Configuring the Trap Function

This section describes how to specify the alarms to be sent to the NM station, which will help
you to locate important problems. After relevant parameters are set, the security of alarm sending
can be improved.
Issue 02 (2012-03-30)
*
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
11

Advertisement

Table of Contents
loading

Table of Contents