rtmRedistNwOrigin

DC-RTM-MIB · .1.3.6.1.4.1.629.10.7.1.2.1.40

Object

column r/w BgpOriginCode
Value to use for the BGP origin code in the routing information
sent to the destination.
              
This field is only used if the redistribution flag is TRUE and
the destination for the routing information is BGP or 'all' or
'all-incl-connected'.

Context

MIB
DC-RTM-MIB
OID
.1.3.6.1.4.1.629.10.7.1.2.1.40
Type
column
Access
readwrite
Status
current
Parent
rtmRedistEntry
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::rtmRedistNwOrigin'
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::rtmRedistNwOrigin.<rtmRedistFteIndex>.<rtmRedistEntryId>'
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::rtmRedistNwOrigin'

Syntax

Source
BgpOriginCode
Base type
Enumeration

Values & Constraints

Type Values
0bgpOriginIgp
1bgpOriginEgp
2bgpOriginIncomplete

Conformance