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
Received on Wed Jan 08 2014 - 07:47:48 ART
This archive was generated by hypermail 2.2.0 : Sat Feb 01 2014 - 10:24:52 ART