rtmRedistNwOrigin
DC-RTM-MIB ·
.1.3.6.1.4.1.629.10.7.1.2.1.40
Object
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
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::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
0 | bgpOriginIgp |
1 | bgpOriginEgp |
2 | bgpOriginIncomplete |
Conformance
Member of