a.
Configure the SNMP user, group, and view.
The user name is
user1
, the group name is
group1
, the user authentication mode
is
SHA
, the authentication password is
authkey123
, the user encryption mode
is
aes128
, the encryption password is
prikey123
, the read and write view names
are
hardy
, and the view includes the internet subtree.
huawei(config)#
snmp-agent usm-user v3 user1 group1
authentication-mode sha authkey123 privacy-mode aes128 prikey123
huawei(config)#
snmp-agent group v3 group1 privacy read-view hardy
write-view hardy
huawei(config)#
snmp-agent mib-view hardy include internet
NOTE
AES128 is recommended because it has higher security than DES56.
b.
(Optional) Set the ID and contact means of the administrator.
The contact means of the administrator is
HW-075528780808
.
huawei(config)#
snmp-agent sys-info contact HW-075528780808
c.
(Optional) Set the location of the device.
The location of the device is
Shenzhen_China
.
huawei(config)#
snmp-agent sys-info location Shenzhen_China
d.
(Optional) Configure the engine ID of the SNMP entity.
The engine ID of the SNMP entity is set to 0123456789.
NOTE
The context engine ID of the SNMP must be the same as that on the U2000.
huawei(config)#
snmp-agent local-engineid 0123456789
e.
Set the SNMP version.
The SNMP version is SNMP V3.
NOTE
The SNMP version must be the same as the SNMP version set on the U2000.
huawei(config)#
snmp-agent sys-info version v3
5.
Enable the function of sending traps.
On the MA5600T/MA5603T/MA5608T, enable the function of sending traps to the
U2000.
huawei(config)#
snmp-agent trap enable standard
6.
Configure the IP address of the destination host for the traps.
The host name is
huawei
, the IP address of the host is
10.10.1.10/24
(IP address of
the U2000), the trap parameter name is
ABC
, the SNMP version is
V3
, the parameter
security name is
user1
(when the SNMP V3 is used, the parameter security name is
the USM user name), and the traps are authenticated and encrypted.
huawei(config)#
snmp-agent target-host trap-hostname huawei
address 10.10.1.10 trap-paramsname ABC
huawei(config)#
snmp-agent target-host trap-paramsname
ABC v3 securityname user1 privacy
7.
Configure the IP address of the VLAN interface as the source address for sending
traps.
Enable the forwarding of the SNMP packets from the L3 interface of VLAN 1000 of
the MA5600T/MA5603T/MA5608T.
huawei(config)#
snmp-agent trap source vlanif 1000
8.
Save the data.
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
1 Commissioning
Issue 01 (2014-04-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
158