BGP4-MIB :: bgp4PathAttrIpAddrPrefixLen

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsBGP4-MIBbgp4PathAttrIpAddrPrefixLen

bgp4PathAttrIpAddrPrefixLen

Module: BGP4-MIB

OID (symbolic): BGP4-MIB::bgp4PathAttrIpAddrPrefixLen

OID (numeric): 1.3.6.1.2.1.15.6.1.2

Node type: OBJECT-TYPE

Type: Integer32

Access: read-only

Description: Length in bits of the IP address prefix in the Network Layer Reachability Information field.

What is bgp4PathAttrIpAddrPrefixLen?

This Integer32 (0-32) specifies the prefix length in bits for the IPv4 destination address. Example: a value of 24 means the prefix is a /24 network (255.255.255.0 mask).

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.15.6.1.2
snmpwalk -v2c -c public <target> BGP4-MIB::bgp4PathAttrIpAddrPrefixLen

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.15.6.1.2.1
snmpget -v2c -c public <target> BGP4-MIB::bgp4PathAttrIpAddrPrefixLen.1

Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4-MIB::bgp4PathAttrIpAddrPrefixLen OID value, configure state conditions and alerts, and monitor any BGP-speaking routers from a single console.

OID Breakdown

Upper-level ancestors (7 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.2mgmtAXON-MIB
1.3.6.1.2.1mib_2AXON-MIB
1.3.6.1.2.1.15bgpBGP-MIB
Numeric OIDNameModule
1.3.6.1.2.1.15.6bgp4PathAttrTableBGP4-MIB
1.3.6.1.2.1.15.6.1bgp4PathAttrEntryBGP4-MIB
1.3.6.1.2.1.15.6.1.2bgp4PathAttrIpAddrPrefixLenBGP4-MIB