05-17-2013 02:29 PM
I'm in the process of moving our ASAs from an IPSec tunnel to EZVPN. I've got a CCS script that pulls the hostname and works for one Trigger but it creates a second Trigger writing the wrong information over the correct one. There is a large number of devices that need to be changed with unique usernames.
05-15-2013 02:00 PM
Try this :
05-16-2013 09:06 AM
Thank you very much for the response. After changing the Trigger-Variables it still had the same result where it replaced the $EZname with "context" on a second run.
I did make some progress by adding a second "exit" line at the end of the script. The only downside with that is it reports as an error but I am pretty sure I can live with that by creating a group that doesn't include the new line and re-run the script on those devices.
Thank you again for your help. It's great to know now that I can get different outputs from the running config. That will help in the rest of the lines I need added!
05-16-2013 11:04 AM
Would you mind adding the all.zip file for the job that your running.
If you do, then post the show command so I can create the RegEX statement for you
05-17-2013 06:20 AM
Could it be that your running config has hostname on two lines?
I suggest adding a flag to only allow the hostname to be changed once.