CJCCIE Journals
Home › BGP

BGP Stuck in Active: Troubleshooting an Inter-Org Peering That Wouldn't Come Up

BGPData centerTroubleshooting CCIE journals · November 25, 2026

Ping worked, the config looked perfect on both sides, but the neighbor sat in Active for hours. Here's the step-by-step method that found it.

"Active" is the most misleading word in BGP. It sounds good, but it means the router is actively trying, and failing, to build a TCP session to its neighbor. Here's how I worked through a peering between our edge router and a partner organization's router across a dedicated inter-org link.

BGP Stuck in Active: Troubleshooting an Inter-Org Peering That Wouldn't Come Up

Step 1: Know what Active really means

BGP runs over TCP port 179. The state machine goes Idle → Connect → Active → OpenSent → OpenConfirm → Established. If you're stuck in Active, the TCP three-way handshake isn't completing. That tells you to stop looking at BGP policy and start looking at reachability on port 179.

Step 2: Layer 3 reachability

Ping from the correct source. A common mistake is pinging from the default source while BGP uses update-source or a different interface.

rtr-edge-01 — ssh output (lab recreation)

Ping worked, but a telnet to port 179 timed out. So ICMP is allowed and TCP/179 isn't. That's a strong hint that a filter is in the path.

Step 3: Checklist for TCP/179 failures

  • Neighbor IP and remote-AS correct on both sides? (A wrong AS usually gives a NOTIFICATION, not Active, but check anyway.)
  • update-source / ebgp-multihop: needed if peering on loopbacks.
  • MD5 password mismatch: the router silently drops segments; look for %TCP-6-BADAUTH in the logs.
  • Interface ACLs / CoPP on either router.
  • Firewall in the path that allows ICMP but not 179, or allows only one direction.

Step 4: Find the filter

Both routers were clean. A packet capture on our side showed our SYNs leaving and nothing coming back. The partner's capture showed no SYN arriving. The link was supposed to be direct, but it actually passed through a partner-side firewall that had a rule for ICMP monitoring and nothing for BGP.

Step 5: Fix and verify

The partner added a bidirectional rule for TCP/179 between the two peer IPs. Within one connect-retry interval the session went to Established and prefixes started flowing.

Takeaways

  • Active = TCP problem. Idle = config/route problem. Know which one you're looking at.
  • Always test telnet x.x.x.x 179 from the right source interface.
  • Ask for a capture on both ends before spending hours on configs.
  • Document the path, including the firewalls nobody remembers.

Note: device names, IP addresses, AS numbers and user names in this post are pseudonyms or lab values. The problem and the fix are real.

CJ

Written by CCIE journals

Network security engineer sharing hands-on notes from the journey to CCIE.

0 Comments

Post a Comment

Ready to level up your networking career?

Meet the Author →

Welcome to my blog, dedicated to network and security engineering enthusiasts. Here, you can learn about various vendors and gain valuable insights and resources to excel in the field of network engineering!