Is there a (online or offline) tool to convert "show configure" to "show configuration | display set"?
Grab a lab/test SRX and try this:
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>
There you have it.
@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.
Thanks for your suggestions!
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/
not testing it properly though...
I have used this one, you might want to check the link it has other cool junos tools:
hope it helps!