[j-nsp] route-filter prefix-length-range on inet6 prefixes

Daniel Roesen dr at cluenet.de
Fri Feb 13 06:48:20 EST 2004


On Fri, Feb 13, 2004 at 04:20:57AM -0500, Jeff Wheeler wrote:
> root at router# show 
> from {
>     family inet6;
>     route-filter 0:0:0:0::0/128 prefix-length-range /16-/32;
> }
> then accept;
> 
> [edit policy-options policy-statement foo term length6]
> root at router# commit check 
> [edit policy-options policy-statement foo term length6 from]
>   'route-filter 0:0:0:0::0/128 route-filter /16-/32'
>     Policy: invalid minimum prefix length /16
> error: configuration check-out failed

Your /128 is wrong. Correct:

root# show
from {
    family inet6;
    route-filter ::0/0 prefix-length-range /16-/32;
}
then accept;
 
[edit policy-options policy-statement foo]
root# commit check
configuration check succeeds

> Note that the syntax checker's output is "route-filter <addr6>
> route-filter", NOT "route-filter <addr6> prefix-length-range". I see
> this behavior on JunOS 6.1R1.4, 6.1R2.2, and 6.2R1.5.

This looks indeed like a bug.


Regards,
Daniel


More information about the juniper-nsp mailing list