About RIPE | Contact  | Search | Sitemap    
Homepage RIPE  
RIPE Community Mail Archives
search  
     
RIPE Navigation Ends
About RIPE Maillists
Maillists Archive
Global Lists
Non Active Lists
RIPE NCC Navigation Ends
Next Section
<<< Chronological >>> Author Index    Subject Index <<< Threads >>>

Re[2]: maximum-prefix of RPSL dictionary, irrtoolset@localhost

  • To: Petra Zeidler < >
  • From: Frank Bohnsack < >
  • Date: Tue, 08 Oct 2002 23:41:14 +0200
  • Organization: WorldCom/DE
  • Reply-to:

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




  • Post To The List:
<<< Chronological >>> Author    Subject <<< Threads >>>
 

Next Section
     About RIPE | Site Map | LIR Portal | About the RIPE NCC | Contact | © RIPE Community. All rights reserved.
RIPE.NET Homepage LIR Portal RIPE Community