SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Tool to convert "show configure" to "show configuration | display set"?

    Posted 01-11-2012 22:01

    Hi all,

     

    Is there a (online or offline) tool to convert "show configure" to "show configuration | display set"?

     

    Pls help.



  • 2.  RE: Tool to convert "show configure" to "show configuration | display set"?

    Posted 01-12-2012 14:53

    Grab a lab/test SRX and try this:

     

    srx> conf
    
    srx# delete
    
    srx# load replace terminal relative
    
    <paste in the entire configuration>
    
    srx# show | display set | no-more
    
    <copy this output and paste it all back into your text editor> 
    
    srx# rollback

     

    There you have it.  Smiley Happy



  • 3.  RE: Tool to convert "show configure" to "show configuration | display set"?

    Posted 01-18-2012 19:53
    haha! lols! 🙂

    Anyway to convert it using a PC?


  • 4.  RE: Tool to convert "show configure" to "show configuration | display set"?

    Posted 01-19-2012 11:32

    @michael.saw wrote:
    haha! lols! 🙂

    Anyway to convert it using a PC?

    It *can* be done, I just don't know if it has been.  You might want to check over in the scripting forum to see if anyone has anything.  I could see it being done with some clever Perl/Python/whatever your flavor-du-jour scripting language is, but honestly, I think it would take a good deal of work to do it, and the engineers at Juniper have already solved that problem for you and bulit it into Junos.  

     

    I've often used a spare SRX for things like this... the beauty is that I can do all that and then just rollback when I'm done.  No harm, no foul.



  • 5.  RE: Tool to convert "show configure" to "show configuration | display set"?

    Posted 01-25-2012 18:22

    Hi Keithr,

     

    Thanks for your suggestions! 



  • 6.  RE: Tool to convert "show configure" to "show configuration | display set"?

    Posted 08-26-2012 22:13

    Found this in another forum post on here, figured I'd share in case you haven't found it yet: http://www.suphammer.net/juniper/jtext/

     

    Works great.



  • 7.  RE: Tool to convert "show configure" to "show configuration | display set"?

    Posted 10-17-2012 20:31
    Thanks, PerBlue
    Cheers!


  • 8.  RE: Tool to convert "show configure" to "show configuration | display set"?

    Posted 03-15-2019 06:39

    see http://www.stewartb.com/cgi-bin/juniper.pl

     

    not testing it properly though...



  • 9.  RE: Tool to convert "show configure" to "show configuration | display set"?

    Posted 03-15-2019 17:00

     Hi 

     

    I have used this one, you might want to check the link it has other cool junos tools:

     

    http://www.junostools.com/exttoolsd 

     

    hope it helps!