All MIBs › HUAWEI-ICMP-MIB › icmpInBadCode
icmpInBadCode
Module: HUAWEI-ICMP-MIB
OID (symbolic): HUAWEI-ICMP-MIB::icmpInBadCode
OID (numeric): 1.3.6.1.4.1.2011.1.3.2.1
Node type: OBJECT-TYPE
Type: Counter
Access: read-only
Description: The number of ICMP messages discarde because of an invalid code.
What is icmpInBadCode?
This counter reports the number of ICMP messages this device discarded because they carried an invalid ICMP code value. An admin monitors it as an indicator of malformed or malicious ICMP traffic hitting the device. For example, a rising count could point to a scanning tool sending crafted ICMP packets with invalid code fields toward the device.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.1.3.2.1 snmpwalk -v2c -c public <target> HUAWEI-ICMP-MIB::icmpInBadCode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.1.3.2.1.1 snmpget -v2c -c public <target> HUAWEI-ICMP-MIB::icmpInBadCode.1
Start monitoring Huawei router or switch (extended ICMP error counters) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-ICMP-MIB::icmpInBadCode OID value, configure state conditions and alerts, and monitor any Huawei router or switch (extended ICMP error counters) from a single console.
OID Breakdown
Upper-level ancestors (10 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.1 | hwLocal | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.1.3 | hwInternetProtocol | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.1.3.2 | rIcmp | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.1.3.2.1 | icmpInBadCode | HUAWEI-ICMP-MIB |