RE: AS-path prepend

From: Faryar Zabihi \(fzabihi\) (fzabihi@cisco.com)
Date: Thu Apr 27 2006 - 21:40:22 GMT-3


access-list 1 permit 167.1.4.0 0.0.0.255
access-list 1 permit 167.1.5.0 0.0.0.255
!
route-map TO_BB3 permit 10
 match ip address 1
 set as-path prepend 100 100
!
route-map TO_BB3 permit 100

BB3#sh ip bgp neighbors 204.12.1.3 routes
BGP table version is 537, local router ID is 31.3.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*> 150.1.0.0 204.12.1.3 0 100 i
* 167.1.4.0/24 204.12.1.3 0 100 100 100
i
* 167.1.5.0/24 204.12.1.3 0 100 100 100
i
*> 205.90.31.0 204.12.1.3 0 100 254 ?
*> 220.20.3.0 204.12.1.3 0 100 254 ?
*> 222.22.2.0 204.12.1.3 0 100 254 ?

I just changed to the std. acl and it works. I guess the prefix list is
wrong

 Faryar

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Faryar Zabihi (fzabihi)
Sent: Thursday, April 27, 2006 7:22 PM
To: Brian McGahan; ccielab@groupstudy.com
Subject: RE: AS-path prepend

Yeah those 2 networks with /24 is what is being advertised.
*>i167.1.4.0/24 150.1.4.4 0 100 0 i
*>i167.1.5.0/24 167.1.135.5 0 100 0 I
 

 Faryar

-----Original Message-----
From: Brian McGahan [mailto:bmcgahan@internetworkexpert.com]
Sent: Thursday, April 27, 2006 6:51 PM
To: Faryar Zabihi (fzabihi); ccielab@groupstudy.com
Subject: RE: AS-path prepend

What exactly are you trying to accomplish? Your prefix-list says match
either the prefix 167.2.4.0 or the prefix 167.2.5.0 where the have masks
of /24 or lower. Is that what you meant to use?

Brian McGahan, CCIE #8593
bmcgahan@internetworkexpert.com

Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987 x 705
Outside US: 775-826-4344 x 705
24/7 Support: http://forum.internetworkexpert.com
Live Chat: http://www.internetworkexpert.com/chat/

> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> Faryar Zabihi (fzabihi)
> Sent: Thursday, April 27, 2006 5:50 PM
> To: ccielab@groupstudy.com
> Subject: AS-path prepend
>
> I am trying to prepend to the as-path(IE lab 14 task 5.5). I tried
with
> ACL first and then tried the IE solution exactly and still no luck any

> ideas?
>
> router bgp 100
> no synchronization
> bgp router-id 150.1.1.1
> bgp log-neighbor-changes
> neighbor 150.1.3.3 remote-as 100
> neighbor 150.1.3.3 update-source Loopback0 neighbor 204.12.1.254
> remote-as 54 neighbor 204.12.1.254 route-map TO_BB3 out no
> auto-summary !
> !
> ip prefix-list TEST seq 5 permit 167.2.4.0/23 le 24 !
> route-map TO_BB3 permit 10
> match ip address prefix-list TEST
> set as-path prepend 100 100
> !
> route-map TO_BB3 permit 100
> !
>
> Faryar
>
>



This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:59 GMT-3