juniBgpRouteIpAddrPrefix
Juniper-BGP-MIB ·
.1.3.6.1.4.1.4874.2.2.29.1.13.1.15
Object
The IP address prefix of the route. This object is an IP address containing the prefix with length specified by juniBgpNewRouteIpAddrPrefixLen. Any bits beyond the length specified by juniBgpNewRouteIpAddrPrefixLen are zeroed.
Context
- MIB
- Juniper-BGP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.29.1.13.1.15- Type
- column
- Access
- noaccess
- Status
- obsolete
- Parent
- juniBgpRouteEntry
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::juniBgpRouteIpAddrPrefix'
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::juniBgpRouteIpAddrPrefix.<juniBgpRouteVrfName>.<juniBgpRouteAfi>.<juniBgpRouteSafi>.<juniBgpRouteIpAddrPrefix>.<juniBgpRouteIpAddrPrefixLen>.<juniBgpRouteDistinguisher>.<juniBgpRoutePeer>.<juniBgpRouteRouteType>'
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::juniBgpRouteIpAddrPrefix'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4