Articles

Video 20: BGP : Implementation and Tuning Part 1

In BGP on April 27, 2011 by carlosfvc Tagged:

Understanding IBGP Vs EBGP

IBGP – Internal AS – Autonomous System
EBGP – External AS – Autonomous System

-BGP can establish relationship to no neighbors

BGP Neighbor Configuration

————————–
Router 1 -IBGP
————————–
config t
int lo 1
ip address 1.1.1.1 255.255.255.255

router ospf 1
netwrok 1.1.1.1 0.0.0.0 area 0

router bgp 5500
neighbor 4.4.4.4 remote-as 5500
neighbor 4.4.4.4 update-source loopback 1

————————–
Router 4 -IBGP
————————–

– EBGP peering with Router 5
config t
router bgp 5500
neighbor 10.1.45.2 remote-as 6500
neighbor 5.5.5.5 ebgp-multihop 2 *

ip route 5.5.5.5 255.255.255.255 10.1.45.2

Verify
show ip bgp summary

– IBGP (use loopback)

config t
int lo 4
ip address 4.4.4.4 255.255.255.255

router ospf 1
netwrok 4.4.4.4 0.0.0.0 area 0

router bgp 5500
neighbor 1.1.1.1 remote-as 5500
neighbor 1.1.1.1 update-source loopback 4 (Important)

– Verify
show ip bgp summary – uptime
show ip bgp

————————–
Router 5 -EBGP –
————————–

inte lo 5
ip adress 5.5.5.5 255.255.255.255

config t
router bgp 6500
neighbor 10.1.45.1 remote-as 5500

Verify
show ip bgp summary

State/PfxRcd: Active (bad)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: