Re: [j-nsp] route-filter

From: Jesper Skriver (jesper@skriver.dk)
Date: Sun Dec 23 2001 - 17:21:15 EST


On Sun, Dec 23, 2001 at 02:15:42PM -0800, Randy Bush wrote:
> to steal your text, can one not say it a bit more simply as

You're right - a lot simpler, thanks.

> policy-statement no-bogons {
> term prefix-length-tests {
> from {
> route-filter 0.0.0.0/1 prefix-length-range /20-/32;
> route-filter 128.0.0.0/2 prefix-length-range /17-/32;
> route-filter 192.0.0.0/3 prefix-length-range /29-/32;
> route-filter 224.0.0.0/3 orlonger;
> }
> then reject;
> }
> term final {
> then next policy;
> }
> }
>
> randy

/Jesper

-- 
Jesper Skriver, jesper(at)skriver(dot)dk  -  CCIE #5456
Work:    Network manager   @ AS3292 (Tele Danmark DataNetworks)
Private: FreeBSD committer @ AS2109 (A much smaller network ;-)

One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them.



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