RtConfig&PrefixList

Dmitry Kozorez dmitry.kozorez at gmail.com
Wed Sep 30 12:17:40 UTC 2009


Hello everybody,

I have a few simple questions about using a prefixes list (cisco) in
RtConfig.

Q1) How can I change the name of a prefix list?
I can only change the number of a prefix list : @RtConfig set
cisco_prefix_acl_no = 220, as result it looks like: ip prefix-list pl100
etc.
I wish to use something like:  ip prefix-list CUSTOMERS-AS1286 permit ....

Q2) How can I change the style of the prefix list from: ip prefix-list pl100
permit ....   to: ip prefix-list pl100 seq 15 permit .... ip
prefix-list pl100 seq 20 permit ....
it will be useful to numerate the strings into a prefix list...

Q3) How to get the aggregated the prefexes instead of using all prefixes
from RIPE route-object?
for example:
RtConfig> @RtConfig access_list filter AS-EDPNET
!
no ip prefix-list pl220
...
ip prefix-list pl220 permit 77.109.64.0/18
ip prefix-list pl220 permit 77.109.64.0/20
ip prefix-list pl220 permit 77.109.64.0/21
ip prefix-list pl220 permit 77.109.80.0/21
ip prefix-list pl220 permit 77.109.90.0/23
ip prefix-list pl220 permit 77.109.93.0/24
ip prefix-list pl220 permit 77.109.94.0/23 ge 24 le 24
ip prefix-list pl220 permit 77.109.96.0/19
...
I wish to get ip prefix-list pl220 permit 77.109.64.0/18.
I am not sure about this idea, but I am trying to make the prefixes lists
shorter...

--
Thank you in advance,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/irrtoolset/attachments/20090930/26e951df/attachment.html>


More information about the irrtoolset mailing list