Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

iBGP Neighbor Relationships

Direct 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.

When to use this

Use it when an iBGP session between loopbacks does not come up or an address family is not activated.

First 30 seconds

1. show ip route 10.0.0.2

2. show ip bgp summary

3. show ip bgp neighbors 10.0.0.2

4. show running-config | section router bgp

Operational verification

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

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Default VRF IPv4 unicast; review deployed IOS / IOS XE feature support.Cisco IOS XECisco IOS / IOS XE
Applicability is projected only from persisted Topic profile and Command metadata.
At a glance

Operational reference

Fast context before you go deeper.

PlatformDefault VRF IPv4 unicast; review deployed IOS / IOS XE feature support. · Cisco IOS XE · Cisco IOS / IOS XE
Key commandneighbor <ip> remote-as <asn>
Scope / prerequisiteUse it when an iBGP session between loopbacks does not come up or an address family is not activated.
Show · 2Reference · 4
What next?3 suggested next steps
Catalog command links6
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification — read-only Verify boundary
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.

Step 2 Failure Signatures Narrow the fault
  • 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.
Command lookup Jump straight to Cisco syntax
Key points

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.

Key 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.

ReferenceWhat it is1 section · depth on demand

Direct 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.

ReferenceHow it works1 section · depth on demand

Technical Mechanics

The router initiates TCP toward the configured peer; update-source Loopback0 binds the intended local source. The remote side must define that source as its peer and have a return route. iBGP does not require directly connected neighbors and does not need eBGP-multihop for normal routed loopback peering.

BGP OPEN negotiation validates AS identity, router IDs, timers and capabilities. A session can be Established while IPv4 unicast is inactive or while policy accepts no routes. no bgp default ipv4-unicast makes activation explicit in this example. TTL security, authentication and filters are additional deployment decisions; do not infer them from Established.

ReferenceImportant terms & boundaries4 sections · depth on demand

Proof Boundaries

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.

Common mistakes

  • iBGP session up but no IGP route to the peer's loopback after a change.
  • Forgetting update-source loopback0.

In depth

iBGP neighbors are routers in the same AS that exchange BGP routes. They usually peer between loopback addresses reached through the IGP, so sessions survive single link failures, and they do not change NEXT_HOP or AS_PATH when passing routes on.

router bgp 65010
 neighbor 10.255.255.2 remote-as 65010
 neighbor 10.255.255.2 update-source Loopback0
show bgp ipv4 unicast summary

Documented example, not captured output.

iBGP propertyConsequence
Same AS numberSession is iBGP
Loopback peeringNeeds IGP route to the loopback and update-source
AD 200IGP routes win for the same prefix
No re-advertisement to iBGP peersFull mesh or route reflectors needed
ReferenceConfiguration & state1 section · depth on demand

Configuration — Cisco IOS / IOS XE

Assume local Loopback0 10.0.0.1/32 and peer Loopback0 10.0.0.2/32 are already reachable in the default VRF. On the peer use local router ID 10.0.0.2 and neighbor 10.0.0.1.

router bgp 65000
 bgp router-id 10.0.0.1
 no bgp default ipv4-unicast
 neighbor 10.0.0.2 remote-as 65000
 neighbor 10.0.0.2 update-source Loopback0
 address-family ipv4 unicast
  neighbor 10.0.0.2 activate
 exit-address-family
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical examples

Configuration & expected output

Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.

Configuration example

Cisco IOS / IOS XE IOS XE 17.xiBGP session between loopbacks.

Assumptions: An IGP (for example OSPF) already reaches both loopbacks.

router bgp 65001
 neighbor 10.255.0.2 remote-as 65001
 neighbor 10.255.0.2 update-source Loopback0
 !
 address-family ipv4
  neighbor 10.255.0.2 activate
 exit-address-family

Expected output

Cisco IOS / IOS XE IOS XE 17.xshow ip bgp neighbors 10.255.0.2 | include BGP state|Local host|Foreign host

Expected state: The session is Established and sourced from Loopback0.

BGP state = Established, up for 2d04h
Local host: 10.255.0.1, Local port: 179
Foreign host: 10.255.0.2, Foreign port: 42135
Without update-source the router sources from the egress interface, and the peer rejects the session because it expects the loopback address. Illustrative authored output: field layout matches the tool, values will differ in your environment.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
iBGP neighboriBGP update-source
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Expected Output — illustrative

Authored illustration; not a device capture. Field wording varies with IOS / IOS XE release.

BGP neighbor is 10.0.0.2, remote AS 65000, internal link
  BGP state = Established, up for 00:20:00
  For address family: IPv4 Unicast
    0 accepted prefixes

An internal Established peer with zero accepted prefixes is a valid empty session. Check expected NLRI and policy rather than repeatedly resetting a working TCP session.

Confirmation

Confirm action

Continue?