bgpNetworkPrefixLen
RAD-RadBgp-MIB ·
.1.3.6.1.4.1.164.11.4.6.1.5
Object
column SNMPv2-SMIInteger32
Destination IP address filter prefix length (in bits). Do not match the source routing information to this entry if one of these fails: - the destination IP address in the source routing information, with the IP address filter prefix length applied, matches the IP address filter with the IP address filter prefix length applied - the destination IP address prefix length is greater than or equal to the IP address filter prefix length. If the IP address filter prefix length is L, then applying the length to an address means taking the first L bits of the address. To avoid having any destination IP address filtering, set the IP address filter to all zeroes and the IP address filter prefix length to zero.
Context
- MIB
- RAD-RadBgp-MIB
- OID
.1.3.6.1.4.1.164.11.4.6.1.5- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- bgpNetworkEntry
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::bgpNetworkPrefixLen'
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::bgpNetworkPrefixLen.<bgpNetworkAfiType>.<bgpNetworkSafi>.<bgpNetworkAddrType>.<bgpNetworkPrefixAddr>.<bgpNetworkPrefixLen>'
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::bgpNetworkPrefixLen'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647