Re: BGP AS-PATH PREPEND

From: _ _ <krzysiek.zalewski_at_gmail.com>
Date: Wed, 8 Jan 2014 18:10:22 +0100

hi
please send topology

On 1/8/14, Tony Singh <mothafungla_at_gmail.com> wrote:
> Where's your match extended ACL in route-map condition ?
>
> --
> BR
>
> Tony
>
>> On 8 Jan 2014, at 15:47, Cisco Fanatic <ebay_products_at_hotmail.com> wrote:
>>
>> I understand how AS-PATH PREPEND works, but I am not able to make it work
>> if I
>> need to manipulate traffic paths only from a specific source to a
>> specific
>> destination.
>>
>> R1
>> ++
>>
>> !
>> router bgp 65500
>>
>> neighbor 10.255.0.26 route-map AS_CHANGE out
>>
>> !
>> route-map AS_CHANGE permit 10
>>
>> set as-path prepend 65500 65500 65500
>>
>> !
>>
>> R2
>> ++
>>
>> !
>> router bgp 65501
>>
>> neighbor 10.255.0.25 route-map AS_CHANGE out
>>
>> !
>> route-map AS_CHANGE permit 10
>>
>> set as-path prepend 65501 65501 65501
>>
>> !
>>
>> R1#sh ip bgp
>> BGP table version is 196, local router ID is 10.255.255.2
>> Status codes: s suppressed, d damped, h history, * valid, > best, i -
>> internal,
>> r RIB-failure, S Stale, m multipath, b backup-path, x
>> best-external, f RT-Filter
>> Origin codes: i - IGP, e - EGP, ? - incomplete
>> Network Next Hop Metric LocPrf Weight Path
>> *> 10.3.0.0/16 0.0.0.0 0 32768 ?
>> *> 10.7.0.0/24 0.0.0.0 0 32768 ?
>> *> 10.11.0.0/24 0.0.0.0 0 32768 ?
>> *> 10.13.0.0/16 10.255.255.1 0 1 65501 ?
>> * 10.255.0.26 0 0 65501 65501
>> 65501
>> 65501 ?
>> *> 10.16.0.0/24 0.0.0.0 0 32768 ?
>> *> 10.20.0.0/24 10.255.255.1 0 1 65501 ?
>> * 10.255.0.26 28416 0 65501 65501
>> 65501
>> 65501 ?
>>
>> I need specific traffic from 10.100.60.11 (Source) to specific
>> 10.20.80.11
>> (Destination) over the 10.255.0.26 connection.
>>
>>
>> 10.100.60.11
>> _` 10.20.80.11
>>
>>
>> Any thoughts?
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

-- 
Krzysiek
Blogs and organic groups at http://www.ccie.net
Received on Wed Jan 08 2014 - 18:10:22 ART

This archive was generated by hypermail 2.2.0 : Sat Feb 01 2014 - 10:24:52 ART