(Optional) Enabling the SNMP Extended Error Code Function
Context
If both the NMS and managed device are Huawei products, enabling this function extends error codes and defines more scenarios. This enables users to locate and troubleshoot faults quickly and accurately.
Procedure
Run system-view
The system view is displayed.
Run snmp-agent extend error-code enable
The extended error code function is enabled.
By default, SNMP sends only standard error codes. More error codes will be sent to the NMS after the extended error code function is enabled.