< Home

snmp-agent extend error-code enable

Function

The snmp-agent extend error-code enable command enables extended error codes.

The undo snmp-agent extend error-code enable command disables extended error codes.

Format

snmp-agent extend error-code enable

undo snmp-agent extend error-code enable

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

By default, extended error codes are disabled.

Usage Scenario

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.

Huawei devices support the extended error code. An NMS and a managed device made by Huawei can be configured with the SNMP extended error code to extend the standard error code so that users can locate faults quickly.

Example

# Enable the extended error code.

<sysname> system-view
[sysname] snmp-agent extend error-code enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >