![Huawei NetEngine5000E Скачать руководство пользователя страница 84](http://html.mh-extra.com/html/huawei/netengine5000e/netengine5000e_configuration-manual_169429084.webp)
The SNMP agent function is enabled.
By default, the SNMP agent function is disabled. By executing the
snmp-agent
command with
any parameters can enable the SNMP agent function.
Step 3
(Optional) Run:
snmp-agent sys-info
version
v3
The SNMP version is set.
By default, SNMPv3 is enabled. So, this step is optional.
Step 4
Run:
snmp-agent group
v3
group-name
[
authentication
|
privacy
]
An SNMPv3 user group is configured.
If the network or network devices are in an insecure environment (for example, the network is
vulnerable to attacks),
authentication
or
privacy
can be configured in the command to enable
data authentication or privacy.
The available authentication and privacy modes are as follows:
l
No authentication and no privacy: Neither
authentication
nor
privacy
is configured in the
command. This mode is applicable to secure networks managed by a specified administrator.
l
Authentication without privacy: Only
authentication
is configured in the command. This
mode is applicable to secure networks managed by many administrators who may frequently
perform operations on the same device. In this mode, only the authenticated administrators
can access the managed device.
l
Authentication and privacy:
privacy
is configured in the command. This mode is applicable
to insecure networks managed by many administrators who may frequently perform
operations on the same device. In this mode, only the authenticated administrators can access
the managed device, and transmitted data is encrypted to guard against interception and data
leaking.
Step 5
Run:
snmp-agent usm-user v3
user-name
group-name
[
authentication-mode
{
md5
|
sha
}
password
[
privacy-mode
des56
password
] ]
A user is added to the SNMPv3 user group.
After a user is added to the user group, the NM station that uses the name of the user can access
the objects in the Viewdefault view (1.3.6.1).
If authentication and privacy have been enabled for the user group, the following authentication
and privacy modes can be configured for the data transmitted on the network.
l
Authentication mode
–
Message Digest 5 (MD5): generates a 128-bit message digest for an input message of any
length.
–
Secure Hash Algorithm (SHA-1): generates a 160-bit message digest for an input message
of less than 2
64
bits.
MD5 is faster than SHA-1, but is considered less secure.
l
Privacy mode
DES uses a 56-bit key to encrypt a 64-bit plain text block.
Step 6
Choose one of the following commands as needed to configure the destination IP address for
the alarms and error codes sent from the device.
HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
3 SNMP Configuration
Issue 01 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
76