From: Pun, Alec CL (Alec.CL.Pun@pccw.com)
Date: Sat Dec 27 2003 - 07:01:11 GMT-3
Hi group,
I am confused by the command "set as-path prepend" as the new AS # should be
appended instead of prepended to the originated AS #, right ? My assumption
of prepend is that new AS # should be added to the left of the AS-Path.
rgds,
alec
R1
router bgp 65400
no synchronization
bgp log-neighbor-changes
network 3.3.3.0 mask 255.255.255.0
neighbor 192.168.4.1 remote-as 1
neighbor 192.168.4.1 route-map prepend-as out
no auto-summary
route-map prepend-as permit 10
set as-path prepend 65401 65402
!
R2#sh ip bgp
BGP table version is 8, local router ID is 204.100.100.97
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 3.3.3.0/24 192.168.4.2 0 0 65400 65401
65402 i
This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:45 GMT-3