(Optional) Enabling the SNMP Extended Error Code Function
Context
This section describes how to enable the extended error code function on the SNMP agent when both the NMS and managed device are Huawei products. After this function is enabled, more types of error codes are provided to help you locate and rectify 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 on the SNMP agent.
By default, SNMP sends standard error codes. It can send extended error codes to the NMS only after the extended error code function is enabled.