sample BGP Configuration

Unanswered Question
Dec 12th, 2007


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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
prasanta.ray Mon, 12/17/2007 - 06:19

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

Network 210.x.x.x

Network 210.x.x.x

Network 221.x.x.x

Network 221.x.x.x

Network 221.x.x.x

Network # LAN#

ip prefix-list zz deny LAN

ip prefix-list zz permit le 32

ip prefix-list zz permit le 32

ip route 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



This Discussion