RE: [j-nsp] filtering on prefix length

From: Daniel Golding (dan@netrail.net)
Date: Fri Mar 23 2001 - 09:29:58 EST


policy-statement bad-routes {
    term good {
        from {
            route-filter 0.0.0.0/0 upto /24;
        }
        then accept;
    term deny-all {
          then reject;
          }

- Daniel Golding
> -----Original Message-----
> From: MarcoH [mailto:marcoh@cistron.nl]
> Sent: Friday, March 23, 2001 5:39 AM
> To: juniper-nsp@puck.nether.net
> Subject: [j-nsp] filtering on prefix length
>
>
> Hi there,
>
> I`ve got some problems with configuring a bgp-import policy which will
> filter out all prefixes with a mask greater then /24.
>
> I`ve been trying several route-filter settings, but can`t seem to find the
> right one, either it drops all prefixes or it accepts the all.
>
> TIA,
>
> MarcoH
>
> --
> Q: What do you call someone with herpes, AIDS, syphilis, and gonorrhea?
> A: An incurable romantic.
>

From gillsr99@yahoo.ÈóÅ; F
Received: from someone claiming to be
        web1101.mail.yahoo.com (web1101.mail.yahoo.com [128.11.23.ÈóÅ;)
        for <juniper-nsp@puck.nether.net>; Fri, 23 Mar 2001 10:35:57ÈóÅ;00
Received-Date: Fri, 23 Mar 2001 10:35:57 -0500
Received: (qmail 17756 invoked by uid ÈóÅ;1)
Message-ID: <20010323153555.17755.qmail@web1101.mail.yahoo.com>
Received: from [63.97.217.210ÈóÅ; w
Date: Fri, 23 Mar 2001 07:35:55 -0800 (PST)
From: Stephen Gill <gillsÈóÅ;ya
Subject: Re: [j-nsp] filtering on prefix length
To: Thierry Pereira <t.pereira@silicomp.fr>, MarcoH <marcoh@cistrÈóÅ;l>
In-Reply-To: <016a01c0b38b$054de170$962c10ac@sandwich>
MIME-Version: 1.0
Content-Type: teÈóÅ;la

Be careful not to use the "through" keyword because
it doesn't do what you think. Use the upto or
ÈóÅ;er
having trouble with. For a general reference, see the
Routing Protocols mÈóÅ;l

Also, be careful with your "then accept" statement and
make sure that is it applies to the list of prefixes
you ÈóÅ;co
cause all kinds of problems, especially when using
terms.

Without the config exaÈóÅ; y
only guesses though...

-- steve

>
> ----- Original Message -----
> From: "MarcoH" <marcoh@cistrÈóÅ;l>
> Sent: Friday, March 23, 2001 11:39 AM
> Subject: [j-nsp] filtering on prefix lengthÈóÅ;>
> >
> > I`ve got some problems with configuring a
> bgp-import policy which will
> > filter out all prefixeÈóÅ;th
> /24.
> >
> > I`ve been trying several route-filter settings,
> but can`t seem to find the
> > rightÈóÅ;,
> accepts the all.
> >
> > TIA,
> >
> > MarcoH
> >
> > --
> > Q: What do you call someoÈóÅ;it
> syphilis, and gonorrhea?
> > A: An incurable romantic.
>

____________________________________________ÈóÅ;__
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:41 EDT