cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
525
Views
0
Helpful
1
Replies

configuring bgp route preference

pweinstein
Level 1
Level 1

I have a situation where an outside vendor is hosting some Oracle servers for my company.  I have routers at 2 of their data centers, one west coast and one east coast.  The Oracle servers are hosted at their east coast data center.  The connections from my routers at their DC's connect back into my company's MPLS cloud with ATT.  I am trying to set it up so that my east coast router is the preferred connection into the hosting service.  All my offices  and data centers on the east coast prefer this connection, but my west coast dc and offices prefer the west coast connection. How to I configure my bgp settings on the west coast router to make that route appear to be less desirable.

 

I was told that I should be able to change the as-hops from my west coast router that would make that route less desirable to all devices on my clould, but wouldn't stop it from becoming the primary path if there was a failure at the east coast dc.

 

 

East Coast router bgp configs


router bgp 65466
 bgp log-neighbor-changes
 network 10.23.123.64 mask 255.255.255.192
 network 10.120.23.23 mask 255.255.255.255 (oracle server at host facility)
 network 10.226.200.34 mask 255.255.255.255
 neighbor 10.200.102.50 remote-as 13979

 

West coast router bgp configs

 

router bgp 64565
 bgp log-neighbor-changes
 network 10.23.123.64 mask 255.255.255.192
 network 10.120.23.23 mask 255.255.255.255  (oracle server at host facility)
 network 10.226.200.33 mask 255.255.255.255
 neighbor 10.200.102.46 remote-as 13979

 

Thanks in advance for your assistance,

Paul

1 Reply 1

Hello

yes as-pending would be a viable option on the West cost router to make the advertisement of it's  route less preferred.

Example:

 

aceess-list 10 permit 10.12.23.23

 

route-map prepending permit 10

match IP address 10

set as-path prepend 64565 64565 64565

route-map prepending permit 99

 

Router bgp 64565

neighbour 10.200.102.46 route-map prepending out

 

clear IP bgp *  10.200.102.46 soft out

 

res

paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card