rtmRibConnected
DC-RTM-MIB ·
.1.3.6.1.4.1.629.10.7.1.7.1.22
Object
column SNMPv2-TCTruthValue
Indicates whether the route destination is directly
connected.
A directly connected route can be reached without going
through any IP routers.
Route destinations that are local IP addresses
are not considered to be directly connected.
This field can only be true if rtmRibType is set to
'local'.
Context
- MIB
- DC-RTM-MIB
- OID
.1.3.6.1.4.1.629.10.7.1.7.1.22- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rtmRibEntry
- 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 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmRibConnected'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmRibConnected.<rtmRibFteIndex>.<rtmRibDestType>.<rtmRibDest>.<rtmRibDestLen>.<rtmRibTos>.<rtmRibNextHopType>.<rtmRibNextHop>.<rtmRibIfIndex>.<rtmRibProto>.<rtmRibRpmIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-RTM-MIB::rtmRibConnected'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of