Set origin should also, that's what the AS argument is for. Perhaps there are some restrictions for it's use. I will have to lab and see.
On Sun, Jul 5, 2009 at 5:56 PM, prakash patel <[email protected]>wrote: > In the output with changing origin ,65003 does not appear as origin AS. > That is not per task. It shows the Origin changed(IGP vs EGP) > > so as-path prepend is the solution. :-) > > Regards > > Prakash > > > ------------------------------ > From: [email protected] > To: [email protected] > Date: Sun, 5 Jul 2009 16:57:59 -0500 > > Subject: Re: [OSL | CCIE_RS] v10, vol1, task 11.18 (page 337-338 PG) > > Do both work? Set origin doesn’t appear to modify the source AS as the > task demands… ? > > > > *From:* Bryan Bartik [mailto:[email protected]] > *Sent:* Sunday, July 05, 2009 2:44 PM > *To:* prakash patel > *Cc:* [email protected]; [email protected] > *Subject:* Re: [OSL | CCIE_RS] v10, vol1, task 11.18 (page 337-338 PG) > > > > Both should work in this case. I prefer AS path prepending. > > On Sun, Jul 5, 2009 at 12:05 PM, prakash patel <[email protected]> > wrote: > > Seems as-path prepending as the best approach. > > > From: [email protected] > > To: [email protected] > > Date: Sun, 5 Jul 2009 12:13:56 -0500 > > Subject: [OSL | CCIE_RS] v10, vol1, task 11.18 (page 337-338 PG) > > > > > > Another goofy one? > > > > TASK 11.18 - R1 should add these 4 loopbacks. When they hit other > routers, > > they should appear as if originated by AS 65003 > > > > 92.1.80.1/24 > > 92.1.81.1/24 > > 92.1.82.1/24 > > 92.1.83.1/24 > > > > PG Solution: > > > > ! R1 (AS60000) > > Access-list 21 permit 92.1.80.0 0.0.3.255 > > > > Route-map task18 permit 10 > > Match ip addr 21 > > Set origin egp 65003 > > Route-map task 18 permit 20 > > > > What PG solution gets you: > > > > *> 92.1.80.0/24 150.100.12.1 0 0 60000 e > > *> 92.1.81.0/24 150.100.12.1 0 0 60000 e > > *> 92.1.82.0/24 150.100.12.1 0 0 60000 e > > *> 92.1.83.0/24 150.100.12.1 0 0 60000 e > > > > AS has not been modified? Just looks like origin was flipped to egp. > > > > So rather do it just using path prepending: > > > > R2(config-router)#do sh ip bgp | i 92.1.8 > > *> 92.1.80.0/24 150.100.12.1 0 0 60000 65003 i > > *> 92.1.81.0/24 150.100.12.1 0 0 60000 65003 i > > *> 92.1.82.0/24 150.100.12.1 0 0 60000 65003 i > > *> 92.1.83.0/24 150.100.12.1 0 0 60000 65003 i > > > > Yes? No? > > > > > > > ------------------------------ > > Hotmail® has ever-growing storage! Don’t worry about storage limits. Check > it > out.<http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009> > > > > > -- > Bryan Bartik > CCIE #23707 (R&S), CCNP > Sr. Support Engineer - IPexpert, Inc. > URL: http://www.IPexpert.com <http://www.ipexpert.com/> > > ------------------------------ > Windows Live™ SkyDrive™: Get 25 GB of free online storage. Get it on your > BlackBerry or > iPhone.<http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009> > -- Bryan Bartik CCIE #23707 (R&S), CCNP Sr. Support Engineer - IPexpert, Inc. URL: http://www.IPexpert.com
