Juniper vSRX 3.0 Config Export issues

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
dsd
Posts: 2
Joined: Thu Apr 25, 2019 11:20 pm

Juniper vSRX 3.0 Config Export issues

Post by dsd » Thu Apr 25, 2019 11:30 pm

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

Uldis (UD)
Posts: 5080
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Juniper vSRX 3.0 Config Export issues

Post by Uldis (UD) » Fri Apr 26, 2019 6:23 am

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

dsd
Posts: 2
Joined: Thu Apr 25, 2019 11:20 pm

Re: Juniper vSRX 3.0 Config Export issues

Post by dsd » Fri Apr 26, 2019 8:48 pm

Thanks.

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

Thanks again!
You do not have the required permissions to view the files attached to this post.

Uldis (UD)
Posts: 5080
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Juniper vSRX 3.0 Config Export issues

Post by Uldis (UD) » Sun Apr 28, 2019 7:28 am

As well good choice :)

Post Reply