juniBgpNetworkIpAddrPrefix

Juniper-BGP-MIB · .1.3.6.1.4.1.4874.2.2.29.1.16.1.4

Object

An IP address prefix in the Network Layer Reachability Information
field.  This object is an IP address containing the prefix with length
specified by bgpRouteIpAddrPrefixLen.  Any bits beyond the length
specified by bgpRouteIpAddrPrefixLen are zeroed.

Context

MIB
Juniper-BGP-MIB
OID
.1.3.6.1.4.1.4874.2.2.29.1.16.1.4
Type
column
Access
noaccess
Status
current
Parent
juniBgpNetworkEntry

Walk 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::juniBgpNetworkIpAddrPrefix'
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::juniBgpNetworkIpAddrPrefix.<juniBgpNetworkVrfName>.<juniBgpNetworkAfi>.<juniBgpNetworkSafi>.<juniBgpNetworkIpAddrPrefix>.<juniBgpNetworkIpAddrPrefixLen>'
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::juniBgpNetworkIpAddrPrefix'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4