![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 96](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487096.webp)
Pre-configuration Tasks
Before configuring the extended error code function, complete the following task:
l
Configuring a reachable route between the switch and the NM station
Data Preparation
None
1.19.2 Enabling the Extended Error Code Function on the SNMP
Agent
By default, packets sent from the device to the NMS carry standard SNMP error codes. After
the extended SNMP error code function is enabled, packets sent from the device to the NMS
carry extended error codes.
Context
Do as follows on the switch.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
snmp-agent extend error-code enable
The extended error code function on the SNMP agent is enabled.
----End
1.19.3 Checking the Configuration
After the extended SNMP error code function is enabled, you can view the status of extended
SNMP error codes.
Prerequisite
The configurations of the extended error code function are complete.
Procedure
Step 1
Run the
display snmp-agent extend error-code status
command to check whether the extended
error code function is enabled on the SNMP agent.
----End
Example
Run the
display snmp-agent extend error-code status
command to check whether the extended
error code function is enabled on the SNMP agent.
1 SNMP Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
1-68
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)