After you enable the SNMP extended error code function, the device can send multiple types of error codes to the NMS to facilitate fault location and rectification.
system-view
snmp-agent extend error-code enable
By default, SNMP standard error codes are used. After the extended error code function is enabled, extended error codes can be sent to the NMS.