Page 1 of 1

Juniper vSRX 3.0 Config Export issues

Posted: Thu Apr 25, 2019 11:30 pm
by dsd
All,

Juniper has officially released vSRX 3.0 and config export does not appear to work on them. The VMs work great as vsrxng templates but there seems to be an issue with the config script:
scripts/config_vsrxng.py

Specifically, the root prompt has changed from % to #

This appears to be accounted for in the first handler.expect for loop but later when issuing commands to change page length and type "cli" it only looks for the "root@.*%" and not "root@.*#"

Not sure if this is already a known issue, but wanted to report. Not sure how to get this globally fixed.

Thanks!
dsd

Re: Juniper vSRX 3.0 Config Export issues

Posted: Fri Apr 26, 2019 6:23 am
by Uldis (UD)
yes mate it is know issue...
probably best scenario boot such heavy nodes, is to use external TFTP server..like node is set boot from tftp..
It is achievable in EVE

Uldis

Re: Juniper vSRX 3.0 Config Export issues

Posted: Fri Apr 26, 2019 8:48 pm
by dsd
Thanks.

I edited the script and it now works (see attached). Basically, I just replaced 'root@.*%' with 'root@.*[%#]'

Thanks again!

Re: Juniper vSRX 3.0 Config Export issues

Posted: Sun Apr 28, 2019 7:28 am
by Uldis (UD)
As well good choice :)