How do I make a route be preferred by one AS over another.
My issues is as follows:
I need to adjust the routing here so that all traffic to the 22.214.171.124 network goes out over the T3 AS 65203. As you can see from the Tracert its now going out over:
Tracing route to GMACCM [126.96.36.199]
over a maximum of 30 hops:
1 2 ms 1 ms 1 ms 172.17.5.2
2 1 ms 1 ms 1 ms 172.17.2.19
3 151 ms 32 ms * 172.17.0.2
4 * * * Request timed out.
5 180 ms * 318 ms 192.168.0.45
6 305 ms 119 ms 119 ms GMACCM [188.8.131.52]
But I want it to go out over the path to 192.168.0.253 as the next hop.
How can I set this route a higher priority as in the case with say the proxy.gmaccm.com ip
Clo-IR-7206a#sh ip route 192.168.176.132
Routing entry for 192.168.0.0/16, supernet
Known via "bgp 65203", distance 20, metric 0
Tag 65100, type external
Last update from 192.168.0.253 7w0d ago
Routing Descriptor Blocks:
* 192.168.0.253, from 192.168.0.253, 7w0d ago
Route metric is 0, traffic share count is 1
AS Hops 1
The current sh ip bgp :
172.17.2.230 0 100 0 19855 65110 i
*>i 172.17.2.230 0 100 0 19855 65110 i
* 192.168.0.253 0 65100 19855 65110 i
Network Next Hop Metric LocPrf Weight Path
How do i change it so it goes out over the 192.168.0.253 route and that AS
Solved! Go to Solution.
Thanks but how do i do that in this instance?
What part of the current config should I provide you to explain my issue better?
For 192.168.0.253 to be preferred as the next-hop, you need to increase the local preference for routes learnt from this neighbor.
access-list 15 184.108.40.206 0.0.0.32
route-map t3 permit 10
match ip address 10
set local-preference 200
route-map t3 permit 20
router bgp xxxx
neighbor 192.168.0.253 route-map t3 in
does this change take effect straight away or do i need to make a change for the routes to update? do a clear ip * ???
Just as side note, "neighbor soft-reconfiguration" is not required if the BGP Soft Reset has been implemented. BGP Soft Reset is somewhat superior as it provides the same benefits as soft-reconfiguration (dinamically reprocessing the inbound updates via a clear ip bgp * soft in) without consuming the additional memory. BGP Soft Reset has been in the IOS for long time.
Please refer to the following document for more information on BGP Soft Reset.
Noted , It's valid point, Basically both the BGP peers must support route refresh feature.
if it supports it will ask the peer to send complete route update and apply policies on updates and subesequestly pushed into route table.
guys thanks for the help on this.I'm tying to get a good understanding of BGP. Do you know any good texts or simulators\examples i could look at to get some experince with it.