< Home

display snmp-agent extend error-code status

Function

The display snmp-agent extend error-code status command displays whether the return of extended error codes is enabled.

Format

display snmp-agent extend error-code status

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

If the NMS does not receive extended error codes from a device supporting the extended error code function, you can run the display snmp-agent extend error-code status command to view whether the extended error codes function is enabled on the device.

Example

# Display whether the return of extended error codes is enabled on the current device.

<sysname> display snmp-agent extend error-code status
Extend error-code status: enabled
Table 1 Description of the display snmp-agent extend error-code status command output

Item

Description

Extend error-code status

Status of the return of extended error codes is as follows:
  • enabled: indicates that the return of extended error codes is enabled.
  • disabled: indicates that the return of extended error codes is disabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >