cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
373
Views
4
Helpful
1
Replies

sample BGP Configuration

acharyr123
Level 3
Level 3

Hi,

This is basically a call center setup where all external voice connections will get terminated into edge switches.

We need to run iBGP between ASA5540-AIPSSM, 6500 switch having FWSM modules.

eBGP will run b/w ISP & the Internet Routers, rest will be on iBGP.

Can someone help with a sample config for achievening the same??

1 Reply 1

prasanta.ray
Level 1
Level 1

Dear acharyar123,

Please find the below configuration that you can do for both of your internet routers.

router BGP ASN

no synchronization

no auto-summary

bgp log-neighbor-changes

neighbor x.x.x.x remote-as ASN

neighbor x.x.x.x description SIFY_RF_PEERING

neighbor x.x.x.x update-source x.x.x.x neighbor x.x.x.x version 4

neighbor x.x.x.x default-metric 200 #MED#

neighbor x.x.x.x prefix-list zz out

neighbor x.x.x.x prefix-list zz in

neighbor y.y.y.y remote-as ASN

neighbor y.y.y.y description for ibgp

neighbor y.y.y.y version 4

neighbor y.y.y.y update-source t.t.t.t #LAN#

Network 202.x.x.x 255.255.255.248

Network 210.x.x.x 255.255.255.0

Network 210.x.x.x 255.255.255.252

Network 221.x.x.x 255.255.255.240

Network 221.x.x.x 255.255.255.240

Network 221.x.x.x 255.255.255.248

Network 192.192.16.0 255.255.255.240 # LAN#

ip prefix-list zz deny LAN

ip prefix-list zz permit 0.0.0.0/0 le 32

ip prefix-list zz permit 0.0.0.0/0 le 32

ip route 0.0.0.0 0.0.0.0 x.x.x.x

Also to track for redundency you can use SLA Tracking:-

standby 1 track 22 decrement 12

Ip sla 11

Icmp-echo < to the Primary interface to which tracking is done> source-interface Gi0/0

frequency 5

ip sla schedule 11 start-time now life forever

Track 22 rtr 11 reachability

also before you configure IP Sla configure HSRP on the ethernet /gig interface.

Please let me know if you require any more thing

Thanks and Regards

Prasanta

Review Cisco Networking products for a $25 gift card