BGP - Changing a preferred route

Answered Question
Jul 11th, 2008


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 network goes out over the T3 AS 65203. As you can see from the Tracert its now going out over:


Tracing route to GMACCM []

over a maximum of 30 hops:

1 2 ms 1 ms 1 ms

2 1 ms 1 ms 1 ms

3 151 ms 32 ms *

4 * * * Request timed out.

5 180 ms * 318 ms

6 305 ms 119 ms 119 ms GMACCM []

But I want it to go out over the path to as the next hop.

How can I set this route a higher priority as in the case with say the ip

Clo-IR-7206a#sh ip route

Routing entry for, supernet

Known via "bgp 65203", distance 20, metric 0

Tag 65100, type external

Last update from 7w0d ago

Routing Descriptor Blocks:

*, from, 7w0d ago

Route metric is 0, traffic share count is 1

AS Hops 1

The current sh ip bgp :

* i208.203.222.64/27 0 100 0 19855 65110 i

*>i 0 100 0 19855 65110 i

* 0 65100 19855 65110 i

Network Next Hop Metric LocPrf Weight Path

How do i change it so it goes out over the route and that AS

I have this problem too.
0 votes
Correct Answer by rajeshk200_2 about 8 years 3 months ago

you need to run

"neighbor x.x.x.x soft-reconfiguration nbound" on config-router prompt.



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
rajeshk200_2 Fri, 07/11/2008 - 02:40


You can set higher local preferene for routes learned from preferrred provider.




rodonohu1 Fri, 07/11/2008 - 02:46

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?

bvsnarayana03 Fri, 07/11/2008 - 03:19

For to be preferred as the next-hop, you need to increase the local preference for routes learnt from this neighbor.

access-list 15

route-map t3 permit 10

match ip address 10

set local-preference 200

route-map t3 permit 20

router bgp xxxx

neighbor route-map t3 in

rodonohu1 Fri, 07/11/2008 - 03:29

thats brilliant.

does this change take effect straight away or do i need to make a change for the routes to update? do a clear ip * ???

Thanks again

Correct Answer
rajeshk200_2 Fri, 07/11/2008 - 03:40

you need to run

"neighbor x.x.x.x soft-reconfiguration nbound" on config-router prompt.



Harold Ritter Fri, 07/11/2008 - 05:43


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.


rajeshk200_2 Fri, 07/11/2008 - 07:36


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.



rodonohu1 Fri, 07/11/2008 - 07:39

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.

Thanks again,



This Discussion