bgpIpPreLen
RAD-RadBgp-MIB ·
.1.3.6.1.4.1.164.11.4.8.1.6
Object
The Length (in bits) part of the prefix (as in the 16 in a 128.128/16 prefix).
Context
- MIB
- RAD-RadBgp-MIB
- OID
.1.3.6.1.4.1.164.11.4.8.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bgpIpPreEntry
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 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-RadBgp-MIB::bgpIpPreLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-RadBgp-MIB::bgpIpPreLen.<bgpRouteMapIndex>.<bgpRouteMapNumber>.<bgpIpPreMatch>.<bgpIpPreNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-RadBgp-MIB::bgpIpPreLen'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040