tmnxOamTrProbeHistoryLastRC
TIMETRA-OAM-TEST-MIB ·
.1.3.6.1.4.1.6527.3.1.2.11.2.5.1.8
Object
column SNMPv2-SMIInteger32
The value of tmnxOamTrProbeHistoryLastRC indicates the last
test-type-specific reply code received.
The relevance of tmnxOamTrProbeHistoryLastRC depends on
tmnxOamTrCtlTestMode, as follows.
tmnxOamTrCtlTestMode Relevant?
-------------------- ---------
'bierTrace' no
'ethCfmLinkTrace' no
'icmpTraceRoute' yes
'ldpTreeTrace' no
'lspTraceRoute' yes
'macTraceRoute' yes
'mcastTraceRoute' no
'p2mpLspTrace' yes
'vccvTraceRoute' yes
'vprnTraceRoute' no
For 'icmpTraceRoute',
a) Zero indicates no reply code is available (e.g. in the timeout
case).
b) 1..65535 indicates the value is the ICMP|ICMPv6 Code and ICMP|ICMPv6
Type copied from the reply packet header.
tmnxOamTrProbeHistoryLastRC bits 0 to 7 (i.e. the least significant
byte) contain the ICMP|ICMPv6 Type.
Bits 8 to 15 contain the ICMP|ICMPv6 Code.
c) 65536 indicates (for a test with tmnxOamIcmpTrCtlProtocol='tcp') the
TCP port probed on the destination node is open.
d) 65537 indicates (for a test with tmnxOamIcmpTrCtlProtocol='tcp') the
TCP port probed on the destination node is closed.
Context
- MIB
- TIMETRA-OAM-TEST-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.11.2.5.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- tmnxOamTrProbeHistoryEntry
- Groups
- 4
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 'TIMETRA-OAM-TEST-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-OAM-TEST-MIB::tmnxOamTrProbeHistoryLastRC'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-OAM-TEST-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-OAM-TEST-MIB::tmnxOamTrProbeHistoryLastRC.<tmnxOamTrCtlOwnerIndex>.<tmnxOamTrCtlTestIndex>.<tmnxOamTrResultsTestRunIndex>.<tmnxOamTrProbeHistoryIndex>.<tmnxOamTrProbeHistoryHopIndex>.<tmnxOamTrProbeHistoryProbeIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-OAM-TEST-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-OAM-TEST-MIB::tmnxOamTrProbeHistoryLastRC'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647