tnSysIpAclPatternIcmpCode
TROPIC-SYSTEM-MIB ·
.1.3.6.1.4.1.7483.2.1.1.2.17.3.1.12
Object
column r/w
Integer32
ICMP code field. It is applicable only when IP protocol is ICMP and is used along with certain ICMP types to further specify the message type. It must also specify the ICMP type when setting this parameter. If specified, the pattern will only match packets with this exact ICMP code value. For example, there are a few ICMPCODEs associated with the ICMPTYPE Redirect [RFC792]: 0 Redirect Datagram for the Network (or subnet) 1 Redirect Datagram for the Host 2 Redirect Datagram for the Type of Service and Network 3 Redirect Datagram for the Type of Service and Host.
Context
- MIB
- TROPIC-SYSTEM-MIB
- OID
.1.3.6.1.4.1.7483.2.1.1.2.17.3.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tnSysIpAclPatternEntry
- Groups
- 1
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 'TROPIC-SYSTEM-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TROPIC-SYSTEM-MIB::tnSysIpAclPatternIcmpCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TROPIC-SYSTEM-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TROPIC-SYSTEM-MIB::tnSysIpAclPatternIcmpCode.<tnSysIpAclPatternID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TROPIC-SYSTEM-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TROPIC-SYSTEM-MIB::tnSysIpAclPatternIcmpCode'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255
Conformance
Member of