When
SNMP V3 is used, the MA5600T /MA5626 can be interconnected with the NMS in inband
or outband networking mode.
Configure
the SNMP user, group, and view.
The
user name is user1, the group name is group1, the user authentication mode is
MD5, the authentication password is authkey123, the user encryption mode is
des56, 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 md5 authkey123 privacy-mode des56
prikey123
huawei(config)#snmp-agent
group v3 group1 privacy read-view hardy write-view hardy
huawei(config)#snmp-agent
mib-view hardy include internet
(Optional)
Set the information about the administrator and the device.
Run
the snmp-agent sys-info command to set the contact of the SNMP Agent administrator
and the physical position of the device.
Contact
of the administrator: HW-075528780808. Physical position of the device:
Shenzhen_China.
huawei(config)#snmp-agent
sys-info contact HW-075528780808
huawei(config)#snmp-agent
sys-info location Shenzhen_China
(Optional)
Configure the engine ID of the SNMP entity.
Run
the snmp-agent local-engineid command to configure the engine ID of the SNMP
environment to 0123456789.
NOTE:
The
engine ID of the SNMP environment must be the same as that configured on the
U2000.
huawei(config)#snmp-agent
local-engineid 0123456789
Set
the SNMP version.
Run
the snmp-agent sys-info command to set the required SNMP version.
huawei(config)#snmp-agent
sys-info version v3
NOTE:
The
SNMP version on the device must be the same as that configured Huawei MA5600 on the U2000.