BGP Fundamentals: eBGP and iBGP
BGP overview
BGP is a path-vector protocol used between autonomous systems and for large-scale policy-based routing. eBGP typically connects different AS numbers; iBGP distributes external routes within an AS. BGP neighbors are configured explicitly and use TCP port 179.
router bgp 65001
neighbor 192.0.2.2 remote-as 65002
address-family ipv4
neighbor 192.0.2.2 activate
network 10.10.10.0 mask 255.255.255.0
The network statement normally requires the exact prefix to exist in the local routing table. Verify with show ip bgp summary and show ip bgp.
Quick revision
- Explain the concept in your own words.
- Run the relevant verification commands in a lab.
- Record one common failure and how you would isolate it.
Want to learn this professionally?
Explore practical IT training at Cyber Code Academy.
View Academy Courses