Re: Remove Private-AS

From: David Luu (wicked01@xxxxxxxxxxxxx)
Date: Tue Jun 25 2002 - 20:48:36 GMT-3


   
if im reading your configuration correctly...the remove-private-as should
be on your 192.168.2.2 (im assuming R2) router on the neighbor command that
points to R4

At 05:43 PM 6/25/2002 -0500, Michael Popovich wrote:
>I have done this before and it has always worked in the past.
>
>The remove-private-AS on the BGP neighbor is supposed to remove Private
>AS numbers in the as-path list on outbound updates.
>
>Notice AS65200 is still in R6 as-path. Private AS's are 64512-65535
>right? Does the route-map have something to do with it, maybe the order
>in which things are processed?
>
>Have reset the peer but nothing changes.
>
>TIA
>
>MP
>
>R4-------R6
>
>R4-192.168.4.4
>R6-192.168.6.6
>
>R4:
>
>router bgp 100
> bgp log-neighbor-changes
> neighbor 192.168.2.2 remote-as 200
> neighbor 192.168.2.2 ebgp-multihop 255
> neighbor 192.168.2.2 update-source Loopback0
> neighbor 192.168.6.6 remote-as 300
> neighbor 192.168.6.6 ebgp-multihop 255
> neighbor 192.168.6.6 update-source Loopback0
> neighbor 192.168.6.6 remove-private-AS
> neighbor 192.168.6.6 route-map add-as out
>
>route-map add-as permit 10
> match ip address 10
> set as-path prepend 350 450 550
>!
>route-map add-as permit 20
>
>R6
>
>router bgp 300
> bgp log-neighbor-changes
> neighbor 192.168.4.4 remote-as 100
> neighbor 192.168.4.4 ebgp-multihop 255
> neighbor 192.168.4.4 update-source Loopback0
>
>r6#sb
>BGP table version is 16, local router ID is 192.168.6.6
>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
>*> 200.200.1.0 192.168.4.4 0 100 200
>65200 i
>*> 200.200.2.0 192.168.4.4 0 100 350 450
>550 200 65200 i
>*> 200.200.3.0 192.168.4.4 0 100 200
>65200 i



This archive was generated by hypermail 2.1.4 : Tue Jul 02 2002 - 08:12:41 GMT-3