Use it when connecting to one provider with BGP, or when the session is down or prefixes are not advertised.
Single-Homed eBGP
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.
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?
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
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
Operational reference
Fast context before you go deeper.
show ip bgp summaryShow 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 [prefix]ShowInspect BGP paths and attributes.
Use when: Best-path/policy analysis.
IOS/IOS XE · mixed · verifiesVerification & 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.
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.
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.
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
Important terms and limits
Important terms: neighbor, remote AS, address family, NLRI/prefix, next hop, Weight, Local Preference, AS_PATH, origin, MED, eBGP/iBGP, best path, RIB and recursive next hop.
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
| Layer | Check | Command |
|---|---|---|
| IP reachability | Can the peer address be reached from the right source? | ping 203.0.113.1 source 203.0.113.2 |
| TCP 179 | Is a session listening or connecting? ACLs? | show tcp brief | include 179 |
| BGP parameters | AS numbers, hold time, router ID, authentication | show bgp ipv4 unicast neighbors |
| Address family | Is IPv4 or IPv6 unicast activated? | show bgp ipv4 unicast summary |
| Policy | Which routes are accepted and sent? | received-routes, routes, advertised-routes |
| Installation | Are the routes in the RIB? | show ip route bgp |
What to advertise and accept
| Direction | Typical policy |
|---|---|
| Outbound | Only your own prefixes (prefix list) |
| Inbound | A default route only, or a full table if you need path choice |
| Both | Maximum-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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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
How to read the evidence
Design & tradeoffs
ENCOR design tradeoffs
Single homing is operationally simpler but provides limited upstream redundancy.