[f-nsp] What should be a simple route-map...

Gerald Krause gk at ax.tc
Thu Oct 19 05:07:39 EDT 2006


On Wednesday 18 October 2006 18:03, you wrote:
> > On Wednesday 18 October 2006 15:43, Tuc at T-B-O-H.NET wrote:
> > > Hi,
> > >
> > > 	What should be a simple route map is kicking my backside this morning.
> > >
> > > ip community-list extended as22822-customer seq 5 permit 4...
> > > ip community-list extended as22822-customer seq 10 permit 5...
> > >
> > > ip prefix-list  filter24 seq 5 deny 0.0.0.0/0 ge 25
> > > ip prefix-list  filter24 seq 10 permit 0.0.0.0/0 le 32
> > >
> > > route-map  bgp-from-as22822-primary permit  20
> > >  match community  as22822-customer
> > >  set metric 100
> > >  set local-preference 160
> > >  set community  35954:1000 35954:1004 35954:10041 additive
> > > route-map  bgp-from-as22822-primary permit  25
> > >  match ip address prefix-list filter24
> > > route-map  bgp-from-as22822-primary permit  30
> > >  set metric 100
> > >  set local-preference 110
> > >  set community  35954:1000 35954:1004 additive
> > >
> > >
> > > 	It seems to not be throwing the route away. (I can't tell, the
> > > reason I'm implementing is that my max-pref gets triggered constantly.
> > > I can't take it off since its hitting the max the unit can take).
> >
> > Maybe this would work in your setup:
> >
> > !
> > ip prefix-list  filter24 seq 5 permit 0.0.0.0/0 ge 25
> > ip prefix-list  filter24 seq 10 deny 0.0.0.0/0 le 32
> > !
> > route-map  bgp-from-as22822-primary deny  25
> >   match ip address prefix-list filter24
> > !
> >
> 	:-/ No...
>
> #sho ip route bgp  | inc 255.255.255.224
>         4.78.192.96     255.255.255.224 69.28.152.229   1
>         63.209.69.32    255.255.255.224 69.28.152.229   1
>         63.209.69.160   255.255.255.224 69.28.152.229   1
>         63.209.70.0     255.255.255.224 69.28.152.229   1
>         64.156.191.96   255.255.255.224 69.28.152.229   1
>         166.90.144.32   255.255.255.224 69.28.152.229   1
>         209.247.191.160 255.255.255.224 69.28.152.229   1
>
> 		Tuc

How about a direct prefix-filter, like:

!
ip prefix-list  filter24 seq 5 deny 0.0.0.0/0 ge 25
ip prefix-list  filter24 seq 10 permit 0.0.0.0/0 le 32
!
router bgp
  ...
  neighbor x.x.x.x prefix-list filter24 in
  ...
!

-- 
Gerald    (ax/tc)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/foundry-nsp/attachments/20061019/da90c2be/attachment.sig>


More information about the foundry-nsp mailing list