bgpAdjRibOutPrfx
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.4.4.1.5
Object
column OctetString
An address prefix in the Network Layer Reachability
Information field for this Adj-RIB Out route.
The prefix length is specified by bgpAdjRibOutPrfxLen.
Any bits beyond the length specified by
bgpAdjRibOutPrfxLen are zeroed.
This field contains the full line format BGP NLRI omitting
any NLRI length field.
For SAFI 128 the NLRI includes the MPLS label and Route
Distinguisher as well as the IPv4 or IPv6 address prefix.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.4.4.1.5- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- bgpAdjRibOutEntry
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::bgpAdjRibOutPrfx'
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::bgpAdjRibOutPrfx.<bgpRmEntIndex>.<bgpPeerIndex>.<bgpAdjRibOutAfi>.<bgpAdjRibOutSafi>.<bgpAdjRibOutPrfx>.<bgpAdjRibOutPrfxLen>.<bgpAdjRibOutPathId>'
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::bgpAdjRibOutPrfx'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-64