Thanks for that Erwin! Was a great help J
From: De Munter, Erwin [mailto:erwin.de_mun...@atos.net] Sent: 09 January 2012 07:34 To: spectrum Subject: RE:[spectrum] NCM Scripts for Palo Alto firewalls David, I will send you a perl script, for palo directly to your mail. We use it direct, but can be easily modified to bring it into Spectrum config Regards, Erwin From: David Game [mailto:david.g...@uk.logicalis.com] Sent: vrijdag 6 januari 2012 13:34 To: spectrum Subject: [spectrum] NCM Scripts for Palo Alto firewalls Has anyone here been able to successfully code a config collection script for a Palo Alto firewall? I've been working on one for the last couple of days but it's just not working. I know the commands are valid, because I can type them into a SSH session from BASH, they're just not working in a script. I've seen scripts for other apps and have attempted to emulate those but it's just not working. I know I need to log in (that bit is working) then: set cli pager off show config running But the script terminates with SSHProcessError and it seems the ssh session itself it terminating. I can see a "set cli scripting-mode on" command which I think may be required but a Google search for that command turns up nothing! I don't know what exactly it does and I'm not going to run it until I do! Any help would be greatly appreciated ! Dave David K. Game Consultant - Enterprise Performance Management Logicalis UK Ltd 110 Buckingham Avenue Slough, Berkshire, SL1 4PF <http://www.logicalis.com/> www.uk.logicalis.com _________________________________________________ Business and technology working as one Cisco Managed Services Channel Partner Cisco UK Services Partner of the Year 2010 Cisco UK & European Cloud Services Partner of the Year 2010 Cisco Global Architectural Excellence Partner of the Year 2010 HP Data Protector Partner of the Year 2010 IBM Centre of Technical Excellence Award - IBM Breadth IBM Centre of Technical Excellence Award - Power AIX & System z * --To unsubscribe from spectrum, send email to lists...@unc.edu with the body: unsubscribe spectrum david.g...@uk.logicalis.com ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________
smime.p7s
Description: S/MIME cryptographic signature