juniBgpAggregateIpAddrPrefixLen
Juniper-BGP-MIB ·
.1.3.6.1.4.1.4874.2.2.29.1.17.1.5
Object
column Integer32
Length in bits of the IP address prefix in the Network Layer Reachability Information field.
Context
- MIB
- Juniper-BGP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.29.1.17.1.5- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- juniBgpAggregateEntry
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::juniBgpAggregateIpAddrPrefixLen'
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::juniBgpAggregateIpAddrPrefixLen.<juniBgpAggregateVrfName>.<juniBgpAggregateAfi>.<juniBgpAggregateSafi>.<juniBgpAggregateIpAddrPrefix>.<juniBgpAggregateIpAddrPrefixLen>'
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::juniBgpAggregateIpAddrPrefixLen'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-32