l
cipher
is used to display the community name in cipher text. It can be configured in the
command to improve security. If the parameter is configured, the administrator needs to
remember the community name. If the community name is forgotten, it cannot be obtained
by querying the device.
l
If some of the NM stations that use the community name need to have rights to access the
objects in the Viewdefault view (1.3.6.1),
mib-view
view-name
does not need to be
configured in the command.
l
If all the NM stations that use the community name need to manage specified objects on the
device,
acl
acl-number
does not need to be configured in the command.
l
If some of the NM stations that use the community name need to manage specified objects
on the device, both
mib-view
and
acl
need to be configured in the command.
----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.
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.3.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.
Procedure
Step 1
Run:
system-view
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
1 SNMP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
21