Re[2]: maximum-prefix of RPSL dictionary, irrtoolset@localhost
- Date: Tue, 08 Oct 2002 23:41:14 +0200
- Organization: WorldCom/DE
Dear Petra,
**** On Tue, 08 Oct 2002 17:52:56 +0200 Petra Zeidler zeidlerp@localhost wrote:
PZ> Dear all,
PZ>
PZ> Thus wrote Frank Bohnsack (frank.bohnsack@localhost):
PZ>
PZ> > % rp-attribute: # maximum number of accepted prefixes,
PZ> > % # peering will change to "shutdown" if the
PZ> > % # value is reached
PZ> > % maximum-prefix
PZ> > % operator>=(integer[0, 65535])
PZ>
PZ> I'd drop the ">". The "maximum" logically disallows the "more than" already.
PZ> You could use something like "prefix-count<=(integer[0, 65535])" if
PZ> you wanted to insist on not just a "=".
PZ>
PZ> > which could be used like below:
PZ> >
PZ> > % import: from AS1 accept AS1 AND NOT maximum-prefix>=3000
PZ> >
PZ> > % import: { from AS-ANY accept maximum-prefix>=1000;
PZ> > % } refine {
PZ> > % from AS1 accept AS1;
PZ> > % from AS2 accept AS2;
PZ> > % }
PZ>
PZ> I think you want:
PZ> % import: from AS1
PZ> % action maximum-prefix=1000; accept AS1
not realy, i want to descripe exactly that what will happen if the
maximum-prefix number is reached on a real router: the session will
be rejected.
not sure if your proposal is more understandable. i would read it as
"if FILTER (AS1) is matched action (maximum-prefix) will be set (to 1000)".
how is that:
% import: from AS1
% action proto-status=shutdown
% accept maximum-prefix>=1000
thanks
frank
|