route-map & BGP question

Ryuksapple84Ryuksapple84 Member Posts: 183
I accepted this circuit yesterday and I configured a bgp peering with the ISP. At the same time, I wanted to check the circuit for any drops for the next 24 hrous so I setup a route-map which would keep the old circuit as the best path for BGP.

I want to know how to remove the prepend path from BGP and make this the best path.

Bassically this is what I configured:


route-map AS-PREPEND permit 20
set as-path prepend 65900 65900 65900
!
Router bgp 65900
Neighbor 10.70.252.49 remote-as 65000
Neighbor 10.70.252.49 route-map AS-PREPEND out
!

Thank you for all your help in advance!
Eating humble pie.

Comments

  • networker050184networker050184 Mod Posts: 11,962 Mod
    Remove he route-map from the peer.
    An expert is a man who has made all the mistakes which can be made.
  • powmiapowmia Users Awaiting Email Confirmation Posts: 322
    With the route-map, you are influencing inbound traffic... you have done nothing to ensure this is not the preferred outbound path.
    Remove he route-map from the peer.

    That will equal the links, you need to remove it here and apply it to the other circuit if you do not wish to prefer the old circuit (with your addition to influence outbound traffic from above).
  • shednikshednik Member Posts: 2,005
    What both of these guys said and if you want it done quickly you'll more than likely need to reset the neighbors.
  • powmiapowmia Users Awaiting Email Confirmation Posts: 322
    shednik wrote: »
    What both of these guys said and if you want it done quickly you'll more than likely need to reset the neighbors.

    Define quickly?
  • Danman32Danman32 Member Posts: 1,243
    I think Ryuk was looking to keep the traffic on the old circuit until the new circuit proved itself.
    Cisco Learning Lab has a lab just on this topic.

    As the others said, prepending AS is to influence the peers to use the circuit you want them to use, rather than dictating which circuit you'll use. And that really only works if the two circuits are on different AS. Basically you're artificially telling the peers one path is longer to you than the other. It's about the only attribute you can push onto others.
    For influencing your outbound choice:
    You can increase the weight on the preferred neighbor if you are using a Cisco router.
    You can also set local-preference, which is a non-proprietary attribute.

    Do a soft reset on the inbound to speed up the change, otherwise it could be several minutes for you to see the effects.
  • EdTheLadEdTheLad Member Posts: 2,111 ■■■■□□□□□□
    Danman32 wrote: »
    Do a soft reset on the inbound to speed up the change, otherwise it could be several minutes for you to see the effects.

    What will happen after several minutes for him to see the effects? He needs to perform either a hard or soft rest for the policy to take affect!
    Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
Sign In or Register to comment.