Management Center and Reporting

 View Only
  • 1.  Enable Command

    Posted Jan 19, 2018 12:41 PM

    Hello,

    I would like to know how I can execute, from Management Center, ProxySG/ASG command that are only available in "enable mode (meaning NOT in conf t)" (e.g. clear-cache ...)

    Best Regards,

    Vincent



  • 2.  RE: Enable Command

    Posted Jan 24, 2018 06:39 AM

    any news ?



  • 3.  RE: Enable Command

    Posted Jan 24, 2018 11:10 PM

    Hi Vincent -

    Have you tried starting your script with 'exit' to get out of configure mode?



  • 4.  RE: Enable Command

    Posted Jan 25, 2018 02:54 AM

    Yes with no success ... It seems the script exits definitively.

    The reason why I ask the question is because I cannot, in the same script, create new DNS server and configuring the health-check of those new DNS servers created.

    Its too fast receiving back 'Protocol error detected'.

    So I try to make some delay in the execution by going back enable and coming in conft just to get the one second it needs for SGOS to get Ready configuring health-check of those DNS Servers.

    If I execute the script below manually in conft/ssh there is no issue at all but if I execute it via one script, it fails by finaly changing the hostname of the appliance itself :-)

    dns-forwarding
    edit primary
    clear server
    add server 1.2.3.4
    exit
    exit
    health-check
    edit "dns.1.2.3.4"
    hostname myinternalserver.corp
    exit
    exit

     



  • 5.  RE: Enable Command

    Posted Jun 26, 2018 04:12 PM

    I dont even know how to start a script.  I would like to know how to get a template or some examples to go by to start creating my own.  



  • 6.  RE: Enable Command

    Posted Jun 26, 2018 04:14 PM

    The error reads "cannot execute empty script".