BGP4-MIB

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsBGP4-MIB

Organization: IETF IDR Working Group

Last Updated: 2006-01-11

Category: Routing Protocols

Description: Defines managed objects for managing Border Gateway Protocol version 4, including BGP peer status, route information, and session attributes.

IPNetwork Monitor uses several OIDs from this MIB in network discovery and polling the applicable devices. Start monitoring BGP4-MIB with a free 30-day trial of IPNetwork Monitor.

What Is BGP4-MIB?

BGP4-MIB, standardized in RFC 4273, is the vendor-neutral IETF MIB module for managing and monitoring Border Gateway Protocol version 4, the routing protocol underlying inter-domain routing on the Internet. It exposes a BGP peer table with per-peer session state, negotiated attributes, and traffic/error counters, along with tables describing received path attributes for individual routes. It is used chiefly to monitor the software/protocol status of a router's BGP process — peer session establishment state, session uptime, and update/notification message counters that reveal a flapping or misconfigured peering session. As a foundational routing MIB it has no dependency on other MIBs beyond standard SNMP conventions, though it is commonly deployed alongside the newer BGP4V2-TC-MIB and vendor-specific BGP extension MIBs for IPv6/VPN address families. It's typically deployed on any vendor's core or edge router or route reflector participating in BGP peering, especially at ISPs, Internet exchange points, and large enterprise WAN edges. Network engineers frequently look up the bgp4 mib support matrix when selecting monitoring tools, since it remains the most universally implemented BGP telemetry source across router vendors.

IPNetwork Monitor allows you to monitor SNMP objects defined in BGP4-MIB. Use the built-in SNMP Monitoring Browser to explore available variables, view their current values and descriptions, and select the objects you want to monitor. You can then create SNMP monitors, configure thresholds, and receive alerts when monitored values change.

Supported Devices

  • vendor-neutral, standards-based MIB (RFC 4273), not tied to a specific manufacturer
  • any BGP-speaking router or route reflector

Monitoring Examples

An administrator would poll bgpPeerTable's bgpPeerState (e.g., Idle, Active, Established) and bgpPeerFsmEstablishedTime to confirm a peer session is stable and compute its uptime. bgpPeerInUpdates and bgpPeerOutUpdates track update-message volume, revealing route flapping, while bgpPeerLastError surfaces the cause of an unexpected session reset. bgpPeerRemoteAs and bgpPeerRemoteAddr identify which neighboring AS and router are involved when troubleshooting a specific peering relationship.

What Can Be Monitored

  • BGP peer session state (Idle/Connect/Established)
  • peer session established time/uptime
  • update and notification message counts
  • last error/reset cause
  • negotiated peer AS number and remote address
Imported Objects

From SNMPv2-CONF

MODULE-COMPLIANCE
NOTIFICATION-GROUP
OBJECT-GROUP

From SNMPv2-SMI

Counter32
Gauge32
Integer32
IpAddress
MODULE-IDENTITY
NOTIFICATION-TYPE
OBJECT-TYPE
mib-2
OIDs

RFC description

RFC 1657 standard MIB for managing Border Gateway Protocol version 4 (BGP4); defines objects for BGP routing protocol state, statistics, and configuration.

Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Import MIBs, browse SNMP OIDs, create custom SNMP monitors, configure alerts, and monitor any SNMP-enabled network device from a single console.

Download BGP4-MIB