About RIPE NCC | Contact  | Search | Sitemap    
Homepage RIPE NCC  
RIPE NCC Mail Archives
     
Mailing Lists:
RIPE NCC Navigation Ends
Link to NCC Lists Archive NCC Lists Archive
Link to RIPE Lists Archive RIPE Lists Archive
RIPE NCC Navigation Ends
Next Section
<<< Chronological >>> Author Index    Subject Index <<< Threads >>>

[irrtoolset]generating import filters with RtConfig

  • From: Francesco Ferreri < >
  • Date: Thu, 04 Nov 2004 16:36:49 +0100

Dear all,
I'm quite new to RtConfig, I would like to know how I can generate import filters both using prefix lists and as-path lists.

Playing around with RIPE test database I got this:
if I specify an import policy in such a way:

import: from ASx accept ASy

(having a route object for ASy),
then "@RtConfig import ASx <ip-addr-x> ASy <ip-addr-y>" gives me back a filter based on prefix lists.

Otherwise, if I specify an import policy (or similar):

import: from ASx accept <^ASy+$>

then I get back a filter based on an as-path.

So the main difference seems to reside in the way the aut-num object is written: using simple AS names gives prefix list filters, using regular expressions on AS names gives as-path based filters, am I right ?
Is there a way to combine both things to obtain both types of filters for the same peering relationship ?

Thank you in advance and best regards,
Francesco Ferreri


--
-----------------------------------------
Francesco Ferreri

NaMeX - Nautilus Mediterranean Exchange

Via dei Tizii 6b, 00185 - Roma
Tel. +39-0644486.302
E-mail: f.ferreri@localhost
WWW http://www.namex.it
-----------------------------------------



<<< Chronological >>> Author    Subject <<< Threads >>>
 

Next Section
     About RIPE NCC | Service Announcements | Site Map | LIR Portal | About RIPE | Contact | Legal | Copyright Statement
RIPE NCC Homepage Go to the RIPE NCC LIRPortal Go to the RIPE Community pages