Problem with Export CFG and Juniper vSRX-NG

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
Locutus
Posts: 2
Joined: Wed Aug 28, 2019 8:56 am

Problem with Export CFG and Juniper vSRX-NG

Post by Locutus » Tue Feb 18, 2020 5:37 pm

The only image I could get working for a Juniper vSRX-NG was a 60 day demo I downloaded from Juniper.net (vsrxng-19.2R1.8-eval). The problem is it would not export the config. I figured out that the prompt was not what the python script (/opt/unetlab/scripts/config_vsrxng.py) was expecting. My vSRX eval prompt ends in a # vs. % after login as root before going to cli. I changed the expected return value from handler.expect to reflect this. It is now working except for when the SRX is in configuration mode, the script does not seem to be able to exit out of this mode. Not sure if anyone has run into this and has a better solution.

Post Reply