To allow a device to communicate with an NMS through SNMPv2c, configure SNMPv2c on the device. The SNMP parameters must be configured on both the managed device (agent) and NMS. This section describes only the SNMP configurations on the agent side. For details about SNMP configurations on an NMS, see the NMS operation guide.
Before configuring a device to communicate with an NMS through SNMPv2c, configure a routing protocol to ensure that at least one route exists between the switch and NMS.
When you configure a device to communicate with the NMS through SNMPv2c, only Configuring Basic SNMPv2c Functions is mandatory. The other steps are optional and can be performed in any sequence.
To allow an NMS that uses a specified community name to manage specified objects on the device, perform the operations in Restricting Management Rights of the NMS.
To allow a specified module on the managed device to report traps to the NMS, perform the operations in Configuring the Trap/Inform Function.
To modify SNMP packet transmission parameters, perform the operations in Enhancing the Reliability for Transmitting SNMP Packets.
If the NMS and managed device are both Huawei products, perform the operations in Enabling the SNMP Extended Error Code Function so that the managed device can send more types of error codes. More error codes facilitate your fault location and rectification.