a.
Configure the community name and the access authority.
The read community name is
public
, and the write community name is
private
.
NOTE
The configurations of the read community name and the write community name must be
the same as the configurations on the U2000.
huawei(config)#
snmp-agent community read public
huawei(config)#
snmp-agent community write private
b.
(Optional) Set the ID and the 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.
Set the SNMP version.
–
The SNMP version is SNMP V1.
huawei(config)#
snmp-agent sys-info version v1
–
The SNMP version is SNMP V2.
huawei(config)#
snmp-agent sys-info version v2c
NOTE
The SNMP version must be the same as the SNMP version set on the U2000.
4.
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
5.
Configure the IP address of the destination host for the traps.
–
When the SNMP V1 is used, 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
,
SNMP version is
V1
, and the parameter security name is
private
(the parameter
security name is the SNMP community name).
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 v1 securityname private
–
When the SNMP V2 is used, 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
,
SNMP version is
V2
, and the parameter security name is
private
(the parameter
security name is the SNMP community name).
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
v2c securityname private
6.
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.
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.
151