Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Single-Homed eBGP

Direct answer

Single-homed eBGP is one BGP session to one ISP: you advertise your prefixes and receive a default route or full/partial routes. It gives route control and a path to multihoming later.

When to use this

Use it when connecting to one provider with BGP, or when the session is down or prefixes are not advertised.

First 30 seconds

1. show ip bgp summary — Established?

2. Not → neighbour address and remote-as correct? Directly connected, or ebgp-multihop set?

3. show ip bgp neighbors <ip> advertised-routes — your prefixes, and only yours?

4. show ip bgp neighbors <ip> routes — the expected prefixes received?

5. Own prefix missing → does the network statement match a route exactly?

Operational verification

neighbour reachable (directly connected or multihop) → remote AS matches → Established → own prefixes in BGP and permitted outbound → advertised → neighbour's prefixes accepted inbound → installed with distance 20

Failure signatureeBGP session to the provider never reaches Established

show ip bgp summary shows the neighbor in Idle, Active or Connect; no routes are received.

Possible stored cause: The remote AS, neighbor address or authentication does not match, or TCP 179 cannot reach the peer.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes

Do not equate Established with usable prefixes. A session can be healthy while policy filters the route, another path wins, the RIB rejects it, or the selected next hop is unresolved in the data plane.

Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE · IOS/IOS XE
Key commandshow ip bgp summary
Scope / prerequisiteUse it when connecting to one provider with BGP, or when the session is down or prefixes are not advertised.
Show · 2
What next?3 suggested next steps
Catalog command links2
Evidence0
On this pageJump to a specific section
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.

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

show ip bgp summary shows the neighbor in Idle, Active or Connect; no routes are received.

Step 1 Verification & evidence Verify boundary

show ip bgp summary; show ip bgp; show ip route; test neighbor reachability and inspect applied policy.

Step 2 Commands & verification Verify boundary
  • show ip bgp — Inspect BGP paths and attributes.
  • show ip bgp summary — Check BGP neighbor session state and prefix counts.

Path: Networking → Infrastructure → Single-Homed eBGP. Local intent: Basic external BGP peering, route exchange and path attributes for a single upstream.

Step 3 Common failure modes Narrow the fault

Remote-AS mismatch, peer unreachable, TCP/179 blocked, update-source/TTL issue or policy suppressing routes.

Step 4 Troubleshooting workflow Narrow the fault

Focus for this topic: Remote-AS mismatch, peer unreachable, TCP/179 blocked, update-source/TTL issue or policy suppressing routes.

Step 5 Branching troubleshooting Narrow the fault

Concrete boundaries: TCP/peer FSM → capability/address-family negotiation → received prefix → inbound policy → best-path attributes → recursive next hop/RIB → FIB/CEF → outbound policy/advertisement → original traffic.

Step 6 eBGP session troubleshooting Narrow the fault

Separate the problem into IP reachability → TCP/179 → BGP neighbor parameters → address-family activation/policy → route installation. A remote-AS mismatch is different from a route-policy problem: the former prevents the session, while the latter can leave an established session with no useful prefixes.

BGP separates TCP session establishment, OPEN capability negotiation, Adj-RIB-In receipt, inbound policy, best-path selection, Loc-RIB installation and outbound advertisement. A route can exist from a neighbor but be rejected by policy, lose best path, fail RIB installation because of recursion or administrative distance, or be selected in the RIB without a usable forwarding adjacency. Close with Verify the same prefix at received, accepted, best-path, RIB and FIB layers; then verify next-hop resolution and the actual forwarding flow instead of relying on Established alone. and state what the evidence does not show.

Command lookup Jump straight to Cisco syntax
Key points

Neighbours must match AS numbers and be reachable (usually directly connected; eBGP TTL 1). network only advertises a prefix that exists exactly in the routing table — add a Null0 static for aggregates. Filter what you send (prefix-list out) so you never advertise others' routes.

Key checks
  • show ip bgp summary — state and prefixes received.
  • show ip bgp neighbors <ip> advertised-routes — what you announce.
  • show ip bgp neighbors <ip> routes — what you accept.
  • show ip bgp <prefix> — AS path, next hop, best.
  • show ip route bgp — installed routes.
ReferenceWhat it is1 section · depth on demand

Concept overview

Basic external BGP peering, route exchange and path attributes for a single upstream.

Key ideas: eBGP peers exchange reachability between autonomous systems. Reachability to the peer, correct AS numbers and permitted policy are prerequisites.

ReferenceWhy it matters1 section · depth on demand

Why it matters

eBGP peers exchange reachability between autonomous systems. Reachability to the peer, correct AS numbers and permitted policy are prerequisites.

ReferenceHow it works1 section · depth on demand

How it works

BGP first needs IP/TCP reachability to the peer, then the BGP finite-state machine establishes a session. Prefixes are received or originated, policy changes their eligibility/attributes, best-path selection chooses a candidate, the RIB decides whether it installs, and forwarding depends on recursive next-hop resolution.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Single-homed eBGP step by step

A single eBGP session to one provider is the simplest BGP deployment, and it fails in predictable layers. RFC 4271 defines the basics. BGP listens on TCP port 179. Each side's OPEN carries its AS number, a hold time (0, or at least 3 seconds) and its BGP identifier. The session reaches Established only if both sides accept each other's parameters. Routes are then exchanged in UPDATE messages carrying the mandatory ORIGIN, AS_PATH and NEXT_HOP attributes.

Layered checks

LayerCheckCommand
IP reachabilityCan the peer address be reached from the right source?ping 203.0.113.1 source 203.0.113.2
TCP 179Is a session listening or connecting? ACLs?show tcp brief | include 179
BGP parametersAS numbers, hold time, router ID, authenticationshow bgp ipv4 unicast neighbors
Address familyIs IPv4 or IPv6 unicast activated?show bgp ipv4 unicast summary
PolicyWhich routes are accepted and sent?received-routes, routes, advertised-routes
InstallationAre the routes in the RIB?show ip route bgp

What to advertise and accept

DirectionTypical policy
OutboundOnly your own prefixes (prefix list)
InboundA default route only, or a full table if you need path choice
BothMaximum-prefix as protection
R1(config)# ip prefix-list OWN seq 10 permit 192.0.2.0/24
R1(config)# ip prefix-list DEFAULT seq 10 permit 0.0.0.0/0
R1(config)# ip route 192.0.2.0 255.255.255.0 Null0 250
R1(config)# router bgp 65010
R1(config-router)# neighbor 203.0.113.1 remote-as 64500
R1(config-router)# neighbor 203.0.113.1 password <shared-secret>
R1(config-router)# address-family ipv4 unicast
R1(config-router-af)# network 192.0.2.0 mask 255.255.255.0
R1(config-router-af)# neighbor 203.0.113.1 prefix-list OWN out
R1(config-router-af)# neighbor 203.0.113.1 prefix-list DEFAULT in
R1(config-router-af)# neighbor 203.0.113.1 maximum-prefix 10
R1# show bgp ipv4 unicast summary | begin Neighbor
Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
203.0.113.1     4        64500    4410    4401       12    0    0 3d02h           1
R1# show bgp ipv4 unicast neighbors 203.0.113.1 advertised-routes

The network statement

network advertises a prefix only if an exact match exists in the routing table. The Null0 static route guarantees that, so the prefix stays advertised even if internal routes change. A State column showing Idle or Active, rather than a prefix count, means the session isn't Established. Work up the layers from IP reachability.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Infrastructure → Single-Homed eBGP. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
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.

Depth when you need it

Deep reference

Healthy vs suspicious evidence

How to read the evidence

Verification: Verify the same prefix at received, accepted, best-path, RIB and FIB layers; then verify next-hop resolution and the actual forwarding flow instead of relying on Established alone.

Design & tradeoffs

ENCOR design tradeoffs

Single homing is operationally simpler but provides limited upstream redundancy.

Confirmation

Confirm action

Continue?