All MIBs › HUAWEI-SNMP-EXT-MIB › hwSnmpExtErrorCodeEnable
hwSnmpExtErrorCodeEnable
Module: HUAWEI-SNMP-EXT-MIB
OID (symbolic): HUAWEI-SNMP-EXT-MIB::hwSnmpExtErrorCodeEnable
OID (numeric): 1.3.6.1.4.1.2011.5.25.164.1.1
Node type: OBJECT-TYPE
Type: EnabledStatus
Access: read-write
Description: Enabled or disabled SNMP extended error status.
What is hwSnmpExtErrorCodeEnable?
This setting turns on or off extended SNMP error-code reporting on the device, and is disabled by default. An admin enables it when troubleshooting SNMP management sessions, since extended error codes give more specific detail about why an SNMP request failed than the standard SNMPv2 error codes alone. Enabling it might change a generic 'no such object' failure into a more specific extended code pinpointing which part of the request was invalid.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.164.1.1 snmpwalk -v2c -c public <target> HUAWEI-SNMP-EXT-MIB::hwSnmpExtErrorCodeEnable
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.164.1.1.1 snmpget -v2c -c public <target> HUAWEI-SNMP-EXT-MIB::hwSnmpExtErrorCodeEnable.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.164.1.1.1 s <value>
Start monitoring Huawei router or switch (SNMP access-control/view extensions) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-SNMP-EXT-MIB::hwSnmpExtErrorCodeEnable OID value, configure state conditions and alerts, and monitor any Huawei router or switch (SNMP access-control/view extensions) from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.164 | hwSnmpExtMIB | HUAWEI-SNMP-EXT-MIB |
| 1.3.6.1.4.1.2011.5.25.164.1 | hwSnmpExtMIBObjects | HUAWEI-SNMP-EXT-MIB |
| 1.3.6.1.4.1.2011.5.25.164.1.1 | hwSnmpExtErrorCodeEnable | HUAWEI-SNMP-EXT-MIB |