bgpNlriPrefixPathAttrOrigin
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.4.5.1.11
Object
column BgpOriginCode
The ultimate origin of the path information.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.4.5.1.11- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgpNlriPrefixEntry
- 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-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpNlriPrefixPathAttrOrigin'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpNlriPrefixPathAttrOrigin.<bgpRmEntIndex>.<bgpNlriPrefixAfi>.<bgpNlriPrefixSafi>.<bgpNlriPrefixPrfx>.<bgpNlriPrefixPrfxLen>.<bgpNlriPrefixPeerOrAfm>.<bgpNlriPrefixPeerAfmIndex>.<bgpNlriPrefixPathId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BGP-MIB::bgpNlriPrefixPathAttrOrigin'
Syntax
- Source
- BgpOriginCode
- Base type
Enumeration
Values & Constraints
Type Values
0 | originIgp |
1 | originEgp |
2 | originIncomplete |
Conformance
Member of