rtmStaticRtUsePathCost

DC-RTM-MIB · .1.3.6.1.4.1.629.10.7.1.3.1.16

Object

column r/w SNMPv2-TCTruthValue
The path cost for this route is by default set to be equal
to the administrative distance (rtmStaticRtAdminDist) for
the route.  If rtmStaticRtUsePathCost is set to AMB_TRUE,
this default value of the path cost is overridden and it is
set to rtmStaticRtPathCost instead.

Context

MIB
DC-RTM-MIB
OID
.1.3.6.1.4.1.629.10.7.1.3.1.16
Type
column
Access
readwrite
Status
current
Parent
rtmStaticRtEntry
Groups
1

Walk 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::rtmStaticRtUsePathCost'
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::rtmStaticRtUsePathCost.<rtmStaticRtFteIndex>.<rtmStaticRtDestAddrType>.<rtmStaticRtDestAddr>.<rtmStaticRtDestLen>.<rtmStaticRtNextHopType>.<rtmStaticRtNextHop>.<rtmStaticRtIfIndex>'
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::rtmStaticRtUsePathCost'

Syntax

Source
SNMPv2-TCTruthValue
Base type
Enumeration
Type Description
Represents a boolean value.

Values & Constraints

Type Values
1true
2false

Conformance