juniBgpNewRouteBestInIpRouteTable
Juniper-BGP-MIB ·
.1.3.6.1.4.1.4874.2.2.29.1.23.1.27
Object
column SNMPv2-TCTruthValue
When BGP places a routes in the IP route table, that route may not be used for forwarding traffic if there are other routes (e.g. IGP routes or static routes) to that same prefix with a better administrative distance in the IP route table. This object indicates whether or not the BGP route in the IP route table is the best route (and hence is used for forwarding traffic).
Context
- MIB
- Juniper-BGP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.29.1.23.1.27- Type
- column
- Access
- readonly
- Status
- current
- Parent
- juniBgpNewRouteEntry
- Groups
- 4
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 'Juniper-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-BGP-MIB::juniBgpNewRouteBestInIpRouteTable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-BGP-MIB::juniBgpNewRouteBestInIpRouteTable.<juniBgpNewRouteVrfName>.<juniBgpNewRouteAfi>.<juniBgpNewRouteSafi>.<juniBgpNewRouteIpAddrPrefix>.<juniBgpNewRouteIpAddrPrefixLen>.<juniBgpNewRouteDistinguisher>.<juniBgpNewRoutePeer>.<juniBgpNewRouteRouteType>.<juniBgpNewRouteOriginalRd>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-BGP-MIB::juniBgpNewRouteBestInIpRouteTable'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |