Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BGP Questions

Status
Not open for further replies.

NewToo

Technical User
Joined
Jun 11, 2001
Messages
136
Hello

My company have one ISP right now. I wanted to run BGP on my cisco 7200's. My question is Do I HAVE TO SET A
LOCAL-PREFERENCE? ALSO IF THERES ANYTHING WRONG PLEASE LET ME KNOW THANK YOU...

Here's My config.

router bgp xxxxx
no synchronization
bgp log-neighbor-changes
network 66.xxx.xxx.0 mask 255.255.248.0
neighbor 64.xxx.xxx.113 remote-as xxxx
neighbor 64.xxx.xxx.113 description BGP egress to ISP
neighbor 64.xxx.xxx.113 update-source Loopback0
neighbor 64.xxx.xxx.113 version 4
neighbor 64.xxx.xxx.113 soft-reconfiguration inbound
neighbor 64.xxx.xxx.113 route-map ISP-inbound in
neighbor 64.xxx.xxx.113 filter-list 10 out


ip route 0.0.0.0 0.0.0.0 64.xxx.xxx.113

ip as-path access-list 5 permit .*
ip as-path access-list 10 permit ^$

route-map ISP-inbound permit 5
match as-path 5
set local-preference 250
 
you don't have to specify a local-preference. local-preference is used to prefer one exit point over another exit point when you have multiple exit points out of your AS.

Although, I am a little confused as to why you are wanting to run BGP at all. It seems that you only have a single connection to a single ISP. You might find it better simply to use the default route that you have configured rather than worrying about running BGP.

Just a thought...hope it helps.... Erik Rudnick, CCIE No. 9545
mailto:erik@kuriosity.com
 
ccie9545


Thanks you for the thread.

We are running bgp right now because we are getting one more ISP... One last question what "ip as-path access-list" comamnd do i use to only push AS# to my ISP instand of using " ip as-path access-list 5 permit .* " because they called and they don't want me to use "
ip as-path access-list 5 permit .* "


Again thank you for the help.....
 
if you want to match everything to set the local preference you don't need to use any type of access-list. for example if you use the following:

route-map ISP-inbound permit 5
set local-preference 250


the above route-map would match all traffic....

i think that is what you were asking...let me know if this helps... Erik Rudnick, CCIE No. 9545
mailto:erik@kuriosity.com
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top