IRRToolSet 5.1.2 released , error: possibly undefined macro:

Mark Prior mrp at mrp.net
Mon Oct 21 21:42:52 UTC 2019


Hi Yasir,

It would depend a lot on when you started generating your configuration this way. I spent a lot of effort at AS2764 and AS7575 getting RtConfig to do what I wanted but the only alternative was to roll your own code. Bgpq3 is much more recent and if you were starting out now it would probably be a better starting place. 

Mark. 

Sent from my iPhone

> On 22 Oct 2019, at 06:01, Muhammad Yasir Shamim <muhammadyasirshamim at gmail.com> wrote:
> 
> Thank you Mark for your comments and indeed that how it is and how it works. Relatively not user friendly and not much help available over the Internet, yes but to translate the aut-num to configuration it would be worthy to use it but the question who and how many are still using. For the other tasks like to generate prefix list I believe the bgpq3 would be the more easy and widely use by network folks.
> 
> Thanks for your help.
> 
> Regards
> Yasir
> 
>> On Mon, Oct 21, 2019 at 1:35 AM Mark Prior <mrp at mrp.net> wrote:
>> Hi Yasir,
>> 
>> The complexity with RtConfig is in creating the autnum object, which can 
>> be very time consuming to do. RFC 2650 "Using RPSL in Practice" might be 
>> of some assistance in understanding the RPSL needed to create one. Once 
>> you have done that then Rtconfig "simply" creates router configuration 
>> based on it, for example
>> 
>> @RtConfig set cisco_map_name = "STATIC-EXPORT"
>> @RtConfig static2bgp AS7575 0.0.0.0
>> 
>> will create a route-map to process the import of static routes into BGP 
>> with appropriate filtering and tagging with communities.
>> 
>> Mark.
>> 
>> On 20/10/19 22:39, Muhammad Yasir Shamim wrote:
>> > Thanks Daryl.
>> > 
>> > I am stuck at rtconfig>
>> > 
>> > I am looking to explore the configuration template but didn't find any 
>> > good source for understanding.
>> > 
>> > Regards
>> > Yasir
>> > 
>> > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> 
>> >       Virus-free. www.avast.com 
>> > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> 
>> > 
>> > 
>> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> > 
>> > On Sun, Oct 20, 2019 at 6:32 AM Daryl Collins <daryl at htb.com.au 
>> > <mailto:daryl at htb.com.au>> wrote:
>> > 
>> >     Yeah thats still how it works Mark.
>> > 
>> >     Muhammad I don't use irrtoolset anymore, but last time I was using
>> >     it and contributing to the code base I added a bunch of examples on
>> >     how to generate config with rtconfig for IOS/JunOS/IOS XR.  I assume
>> >     they've made it into a released version, but if not see
>> >     https://github.com/irrtoolset/irrtoolset/tree/master/examples
>> > 
>> >     No guarantees the examples still function because they may rely on
>> >     objects in RADB that no longer exist, but they will point you in the
>> >     right direction.
>> > 
>> >     Daryl
>> > 
>> >     On Sun, Oct 20, 2019 at 10:06 AM Mark Prior <mrp at mrp.net
>> >     <mailto:mrp at mrp.net>> wrote:
>> > 
>> >         Assuming it hasn’t changed then it is going to use the policy in
>> >         the autnum object you specify to generate some router
>> >         configuration fragment and the default is probably still IOS.
>> > 
>> >         Mark.
>> > 
>> >         Sent from my iPhone
>> > 
>> >          > On 20 Oct 2019, at 07:04, Muhammad Yasir Shamim
>> >         <muhammadyasirshamim at gmail.com
>> >         <mailto:muhammadyasirshamim at gmail.com>> wrote:
>> >          >
>> >          > Hi Nick
>> >          >
>> >          > How can I parse the output for the rtconfig query, @RtConfig
>> >         export or any other query that runs over RtConfig.
>> >          >
>> >          > I am deviating from topic, but your input would be appreciated.
>> >          >
>> >          > Regards
>> >          > Yasir
>> >          >
>> >          >> On 19-Oct-2019, at 10:39 PM, James W. Laferriere
>> >         <babydr at baby-dragons.com <mailto:babydr at baby-dragons.com>> wrote:
>> >          >>
>> >          >>   Hello Nick ,
>> >          >>
>> >          >>>> On Sat, 19 Oct 2019, Nick Hilliard (INEX) wrote:
>> >          >>>> James W. Laferriere wrote on 19/10/2019 18:25:
>> >          >>>> -prompt         Prompt
>> >          >>>>                Default value: "rpslcheck> "
>> >          >>>
>> >          >>> right.  This is a side effect of the PrintUsage() function,
>> >         which is library function generic to all the binaries.  It
>> >         doesn't make sense in the context of rpslcheck though, because
>> >         this command accepts and parses RPSL objects on stdin, rather
>> >         than accepting commands and printing output.  It's a minor
>> >         display bug that the "-help" parameter shows "rpslcheck> ", but
>> >         I don't think it's worth fixing.
>> >          >>>
>> >          >>> Nick
>> >          >>
>> >          >>   Thank You !  For all your time & efforts in keeping these
>> >         tools alive .
>> >          >>   And all your explanations to those of us (Like myself) who
>> >         have been either out of the field for far too long or are just
>> >         plain new to it .
>> >          >>
>> >          >>       Twyl ,  JimL
>> >          >> --
>> >          >>
>> >         +---------------------------------------------------------------------+
>> >          >> | James   W.   Laferriere    | System    Techniques | Give
>> >         me VMS     |
>> >          >> | Network & System Engineer  | 3237     Holden Road |  Give
>> >         me Linux  |
>> >          >> | jiml at system-techniques.com
>> >         <mailto:jiml at system-techniques.com> | Fairbanks, AK. 99709 | 
>> >           only  on  AXP |
>> >          >>
>> >         +---------------------------------------------------------------------+
>> >          >> _______________________________________________
>> >          >> irrtoolset mailing list
>> >          >> irrtoolset at lists.isc.org <mailto:irrtoolset at lists.isc.org>
>> >          >> https://lists.isc.org/mailman/listinfo/irrtoolset
>> >          > _______________________________________________
>> >          > irrtoolset mailing list
>> >          > irrtoolset at lists.isc.org <mailto:irrtoolset at lists.isc.org>
>> >          > https://lists.isc.org/mailman/listinfo/irrtoolset
>> > 
>> >         _______________________________________________
>> >         irrtoolset mailing list
>> >         irrtoolset at lists.isc.org <mailto:irrtoolset at lists.isc.org>
>> >         https://lists.isc.org/mailman/listinfo/irrtoolset
>> > 
>> > 
>> > 
>> > -- 
>> > Cheers
>> > 
>> > Yasir
>> > 
>> > 
>> > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> 
>> >       Virus-free. www.avast.com 
>> > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> 
>> > 
>> > 
>> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> 
> 
> 
> -- 
> Cheers
> Yasir
> 
> 	Virus-free. www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/irrtoolset/attachments/20191022/51b91bec/attachment-0001.htm>


More information about the irrtoolset mailing list