Re: BGP question

From: Kaiser Anwar (kaiseranwar@sbcglobal.net)
Date: Sat Jan 17 2004 - 01:56:53 GMT-3


I am getting this message when i try to do path prepneding seems like it is
not supported on summ routes.

% "aspath" used as BGP attribute route-map, set as-path prepend not
supported

----- Original Message -----
From: "Alec" <clapun@graduate.hku.hk>
To: "Bob Sinclair" <bsin@cox.net>; <ccielab@groupstudy.com>
Sent: Friday, January 16, 2004 9:42 PM
Subject: Re: BGP question

> Bob,
>
> In fact I am looking for a BLANK local-preference in the bgp table while
> AS-PATH can be retained in R2 (the originated router), not R1. Assuming
R1
> is the backbone router injecting the smaller prefixes.
>
> rgds,
> alec
>
> ----- Original Message -----
> From: Bob Sinclair
> To: Alec ; ccielab@groupstudy.com
> Sent: Saturday, January 17, 2004 11:29 AM
> Subject: Re: BGP question
>
>
> Alec,
>
> I tried the prepend in a route-map referenced by the attribute-map
keyword,
> and that did not work. So I kept it simple. As shown below, I was able
to
> prepend a locally made aggregate using normal route-map methods. Is this
> what you are trying to do?
>
> !
> router bgp 2
> network 192.168.0.0
> aggregate-address 192.168.0.0 255.255.254.0 summary-only
> neighbor 172.16.7.1 remote-as 1
> neighbor 172.16.7.1 route-map PREPEND out
> !
> R2#sh route-map
> route-map PREPEND, permit, sequence 10
> Match clauses:
> ip address (access-lists): 1
> Set clauses:
> as-path prepend 2 2 2
> Policy routing matches: 0 packets, 0 bytes
> route-map PREPEND, permit, sequence 20
> Match clauses:
> Set clauses:
> Policy routing matches: 0 packets, 0 bytes
> !
> R2#sh access-l
> Standard IP access list 1
> permit 192.168.0.0, wildcard bits 0.0.1.255 (9 matches) check=9
> R2#
>
> R1#sh ip b
> BGP table version is 38, local router ID is 1.1.1.1
> 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
> *> 172.16.0.0 172.16.7.2 0 0 2 ?
> *> 172.16.1.0/24 0.0.0.0 0 32768 ?
> *> 172.16.2.0/24 172.16.7.2 0 0 2 i
> *> 172.16.7.0/24 172.16.7.2 0 0 2 i
> *> 172.16.8.0/24 0.0.0.0 0 32768 ?
> *> 172.16.14.0/24 172.16.7.2 0 0 2 i
> *> 192.168.0.0/23 172.16.7.2 0 2 2 2 2 i
>
>
>
> Bob Sinclair
> CCIE #10427, CISSP, MCSE
> www.netmasterclass.net
>
>
>
> ----- Original Message -----
> From: "Alec" <clapun@graduate.hku.hk>
> To: "Bob Sinclair" <bsin@cox.net>; <ccielab@groupstudy.com>
> Sent: Friday, January 16, 2004 9:48 PM
> Subject: Re: BGP question
>
>
> > Bob,
> >
> > I think attribute-map and route-map achieve the same result. Seems can
> not
> > prepend ASN to prefix ORIGINATED from itself.
> >
> > rgds,
> > alec
> >
> > ----- Original Message -----
> > From: "Bob Sinclair" <bsin@cox.net>
> > To: "Alec" <clapun@graduate.hku.hk>; <ccielab@groupstudy.com>
> > Sent: Saturday, January 17, 2004 9:41 AM
> > Subject: Re: BGP question
> >
> >
> > > Alec,
> > >
> > > Have you tried applying the route by using the attribute-map keyword
on
> > the
> > > aggregate-address command?
> > >
> > >
> > > Bob Sinclair
> > > CCIE #10427, CISSP, MCSE
> > > www.netmasterclass.net
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Alec" <clapun@graduate.hku.hk>
> > > To: <ccielab@groupstudy.com>
> > > Sent: Friday, January 16, 2004 8:16 PM
> > > Subject: BGP question
> > >
> > >
> > > > How can I prepend AS number to an aggregate route originating from
> > itself
> > > ?
> > > > I've used a route-map with prepend command but it doesn't work.
> > > >
> > > > thanks
> > > > alec
> > > >
> > > >
> _______________________________________________________________________
> > > > Please help support GroupStudy by purchasing your study materials
> from:
> > > > http://shop.groupstudy.com
> > > >
> > > > Subscription information may be found at:
> > > > http://www.groupstudy.com/list/CCIELab.html
> > >
> > >



This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:47 GMT-3