bgpNlriPrefixReasonNotBest
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.4.5.1.42
Object
column BgpReasonNotBest
If bgpNlriPrefixBest is 'true', then this field is set to
'routeIsBest'. Otherwise, it reports the stage in the
decision process when the route was determined to be
non-best.
This is the reason that the route was discarded from the
decision process. There may be other reasons why this route
is less preferred than the best route.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.4.5.1.42- 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::bgpNlriPrefixReasonNotBest'
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::bgpNlriPrefixReasonNotBest.<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::bgpNlriPrefixReasonNotBest'
Syntax
- Source
- BgpReasonNotBest
- Base type
Enumeration
Values & Constraints
Type Values
0 | notConsidered |
1 | routeIsBest |
2 | weight |
3 | localPref |
4 | localOrigPreferred |
5 | asPathLen |
6 | origin |
7 | med |
8 | localOrigTieBreaker |
9 | ebgpVsibgp |
10 | adminDistance |
11 | pathCostToNextHop |
12 | prefExisting |
13 | identifier |
14 | clusterLen |
15 | peerType |
16 | peerAddress |
17 | peerPort |
18 | pathId |
19 | grStale |
Conformance
Member of