Re: maximum-prefix of RPSL dictionary
- Date: Tue, 8 Oct 2002 17:52:56 +0200
Dear all,
Thus wrote Frank Bohnsack (frank.bohnsack@localhost):
> % rp-attribute: # maximum number of accepted prefixes,
> % # peering will change to "shutdown" if the
> % # value is reached
> % maximum-prefix
> % operator>=(integer[0, 65535])
I'd drop the ">". The "maximum" logically disallows the "more than" already.
You could use something like "prefix-count<=(integer[0, 65535])" if
you wanted to insist on not just a "=".
> which could be used like below:
>
> % import: from AS1 accept AS1 AND NOT maximum-prefix>=3000
>
> % import: { from AS-ANY accept maximum-prefix>=1000;
> % } refine {
> % from AS1 accept AS1;
> % from AS2 accept AS2;
> % }
I think you want:
% import: from AS1
% action maximum-prefix=1000; accept AS1
kind regards,
Petra Zeidler
PS: anyone care to enlighten me why it's "afi" in the rpslng draft
and not just "af"? I wonder what the "i" in "afi" is for :-}
--
|