Pcornel
Networking · Routing › BGP › iBGP vs eBGP Deep Reference

iBGP Neighbor Relationships

Cheat sheet · https://pcornel.dk/topic.php?topic=6113

Back to the Topic

Answer

An iBGP neighbor relationship is a same-AS TCP/BGP session plus the activated address families. When using loopbacks, update-source must select the address that the remote router expects as its neighbor.

Remember

A transport route proves local route resolution, not TCP permission at the far end. Established confirms the negotiated session at that moment; uptime and reset details add stability context but do not establish prefix or forwarding correctness.

First checks

show ip route 10.0.0.2
show ip bgp summary
show ip bgp neighbors 10.0.0.2
show running-config | section router bgp

Read local/foreign host addresses, effective AS, negotiated IPv4 unicast capability and last reset reason. The running-config inspection is read-only; the preceding configuration example is not.

Commands

show ip bgp summary
Display BGP peer state and prefix counts.
neighbor <peer> update-source <interface>
Uses a chosen local interface/address as the source for a BGP session.
address-family ipv4 unicast
Enter the IPv4 unicast address family under an OSPFv3 process.
neighbor <ip> remote-as <asn>
Define a BGP neighbor and its autonomous system number.
neighbor <ip> activate
Activate a BGP neighbor for the address family.
show ip bgp neighbors
Display detailed BGP neighbor state and counters.

Verify in this order

transport → session/AF → accepted path → next-hop resolution → best path → RIB → CEF → bounded traffic

Where it usually breaks

  • Active after selecting Loopback0: the remote neighbor still names the physical interface address, or has no return route.
  • OpenSent then NOTIFICATION: check Bad Peer AS, duplicate IDs and negotiated capabilities using the reset details.
  • IPv4 routes absent with other families healthy: missing neighbor activate or family-specific policy.
  • Repeated resets: correlate hold timer expiry with reachability, packet loss and device logs.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6113

Confirmation

Confirm action

Continue?