Regarding your question about using a route-map to set origin AS to
65003.  Check out the Command Reference for the set origin command:
http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_bgp4.html#wp1014471.

Specifically, pay attention to the first paragraph under the usage
guidelines which specifically states:  "Use this command to set a
specific origin when a route is redistributed into BGP."

I haven't read the PG solution, but I did try this out and the only
way I could get it to work was by redistributing the loopbacks using
the route-map as shown in your example.

Interestingly enough, if you read the command history, 12.4(2)T had
the egp option removed.


On Tue, Jul 14, 2009 at 10:50 PM, <[email protected]> wrote:

>
> Message: 1
> Date: Tue, 14 Jul 2009 22:51:05 -0500
> From: "Rob" <[email protected]>
> Subject: [OSL | CCIE_RS] FW:
> To: <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="us-ascii"
>
> For some reason it appears that the route-map is not being applied and I am
> not certain why.  I checked the PG and unless I am blind I have the exact
> same config but as you can see below the address that should show up as
> 65003 are still as 60000.  I also checked the final config file and noticed
> that the file has a typo.  The PG shows it using route-map Task18, however
> the final config has "Task21" as the name of the route-map.  There is no
> Route-map Task21 anywhere within the final config only Task18.
>
> Does anyone see the issue with this config?
>
> R1
>
> router bgp 60000
>  network 92.1.80.0 mask 255.255.255.0
>  network 92.1.81.0 mask 255.255.255.0
>  network 92.1.82.0 mask 255.255.255.0
>  network 92.1.83.0 mask 255.255.255.0
>  network 100.100.100.0 mask 255.255.255.0
>  network 150.100.12.0 mask 255.255.255.0
>  network 200.0.0.1 mask 255.255.255.255
>  neighbor 150.100.12.2 remote-as 109
>  neighbor 150.100.12.2 route-map Task18 out
> !
> ip classless
> !
> access-list 21 permit 92.1.80.0 0.0.3.255
> route-map Task18 permit 10
>  match ip address 21
>  set origin egp 65003
> !
> route-map Task18 permit 20
>
> ----------------------------------------------------------------
> R2
>
> router bgp 64512
>  no synchronization
>  bgp log-neighbor-changes
>  bgp confederation identifier 109
>  bgp confederation peers 64513 64514 64613
>  network 150.100.12.0 mask 255.255.255.0
>  network 150.100.24.0 mask 255.255.255.0
>  network 150.100.25.0 mask 255.255.255.0
>  network 150.100.100.0 mask 255.255.255.0
>  network 200.0.0.2 mask 255.255.255.255
>  neighbor 150.100.12.1 remote-as 60000
>  neighbor 150.100.24.4 remote-as 64512
>  neighbor 150.100.100.5 remote-as 64513
>  no auto-summary
>
>
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to