Use it when an iBGP session between loopbacks does not come up or an address family is not activated.
iBGP Neighbor Relationships
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.
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
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
neighbor <ip> remote-as <asn>Primary Commands
Configuration and operational commands for this Topic.
neighbor <ip> remote-as <asn>ReferenceDefine a BGP neighbor and its autonomous system number.
Use when: Define an eBGP peer and the ASN expected in BGP OPEN negotiation.
Quick note: Verify transport, summary state and neighbor detail before route policy.
Cisco IOS / IOS XE · mixedneighbor <peer> update-source <interface>ReferenceUses a chosen local interface/address as the source for a BGP session.
Cisco IOS XE · mixedaddress-family ipv4 unicastReferenceEnter the IPv4 unicast address family under an OSPFv3 process.
Use when: Enter the IPv4-unicast address family for AF-specific neighbor/network policy.
Quick note: Verify AF-specific summary/table after changes.
Cisco IOS / IOS XE · mixedneighbor <ip> activateReferenceActivate a BGP neighbor for the address family.
Use when: Enable IPv4-unicast NLRI exchange with the configured neighbor in AF-oriented syntax.
Quick note: Verify AF summary and exact prefix after activation.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ip bgp summaryShowDisplay BGP peer state and prefix counts.
Use when: Determine BGP FSM/session health quickly.
Quick note: If not Established, stay at transport/session prerequisites.
Cisco IOS XE · control planeshow ip bgp neighborsShowDisplay detailed BGP neighbor state and counters.
Use when: Inspect why a peer is resetting or verify negotiated/session detail.
Quick note: Use after summary localizes the session boundary.
Cisco IOS / IOS XE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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.
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.
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
Official Sources
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 property | Consequence |
|---|---|
| Same AS number | Session is iBGP |
| Loopback peering | Needs IGP route to the loopback and update-source |
| AD 200 | IGP routes win for the same prefix |
| No re-advertisement to iBGP peers | Full 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
Configuration & expected output
Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.
Configuration example
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-familyExpected output
show ip bgp neighbors 10.255.0.2 | include BGP state|Local host|Foreign hostExpected 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: 42135Without 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.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.
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.