RE: [j-nsp] route-filter

From: Paul Goyette (pgoyette@juniper.net)
Date: Sun Dec 23 2001 - 20:38:20 EST


One could even say:

    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;
        }

There is an implicit "then next-policy" at the end, so you
don't need to specify it.



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