The snmp-agent extend error-code enable command enables the device to send extended error codes to the NMS.
The undo snmp-agent extend error-code enable command disables the function of sending extended error codes to the NMS.
By default, the function of sending extended error codes to the NMS is disabled.
With the increasing number of features and scenarios supported by the system, the current types of SNMP standard error codes can hardly meet requirements in diversified scenarios. Therefore, the extended error code is introduced. The extended error code can define more scenarios for the NMS to correctly analyze the fault type of the current NE.
If both the NMS and managed device are Huawei products, error codes are extended and more scenarios are defined after the function of sending extended error codes is enabled. As a result, users are enabled to locate and troubleshoot faults quickly and accurately.
Support of the MIB for the extended error code: