[c-nsp] BGP prepend with route-map in input

Mick O'Rourke mkorourke at gmail.com
Wed Dec 12 06:29:31 EST 2012


A slightly modified but simple example of a route-map we have in
production.

route-map RM_AS1234_IN permit 400

 match as-path 400
 set metric 10
 set origin igp
 set as-path prepend 1234
!

The function of it is to balance traffic for a particular HA scenario
by matching a particular as-path, adding a pre-pend and doing some
other things with MED values.




On Wed, Dec 12, 2012 at 10:16 PM, Mick O'Rourke <mkorourke at gmail.com> wrote:

> It does yes.
> On Dec 12, 2012 9:54 PM, "Riccardo S" <dim0sal at hotmail.com> wrote:
>
>>
>> Hi
>>
>> Does it works BGP prepending applied
>> with a route-map in incoming direction ?
>> I admit I saw it only in outbond
>> direction….
>>
>>
>>
>> ie:
>>
>> router bgp 65221
>>
>> neighbor 10.111.232.62 remote-as
>> 65010
>>
>> neighbor 10.111.232.62 route-map
>> prepend in
>>
>>
>>
>>
>> route-map prepend permit 10
>>
>> set as-path prepend 65221 65221
>> 65221 65221 65221
>>
>>
>>
>>
>>
>> Tks
>>
>> Ric
>>
>>
>> _______________________________________________
>> cisco-nsp mailing list  cisco-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-nsp
>> archive at http://puck.nether.net/pipermail/cisco-nsp/
>>
>


More information about the cisco-nsp mailing list