cInetIcmpMsgCode
CISCO-IETF-IP-MIB ·
.1.3.6.1.4.1.9.10.86.1.3.2.1.4
Object
column Integer32
The ICMP code field of the message type being counted by this row, or the special value 256 if no specific ICMP code is counted by this row.
Context
- MIB
- CISCO-IETF-IP-MIB
- OID
.1.3.6.1.4.1.9.10.86.1.3.2.1.4- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- cInetIcmpMsgEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-IETF-IP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-IP-MIB::cInetIcmpMsgCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-IETF-IP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-IP-MIB::cInetIcmpMsgCode.<cInetIcmpMsgAFType>.<cInetIcmpMsgIfIndex>.<cInetIcmpMsgType>.<cInetIcmpMsgCode>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-IETF-IP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-IETF-IP-MIB::cInetIcmpMsgCode'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-256