Create and run Management Center script on an Edge SWG (ProxySG) device
search cancel

Create and run Management Center script on an Edge SWG (ProxySG) device

book

Article ID: 199495

calendar_today

Updated On:

Products

Management Center Symantec ProxySG Software - SGOS

Issue/Introduction

You can create a Management Center (MC) script to be pushed to multiple Edge SWG (ProxySG).    Edge SWG (ProxySG) UI "Preview" button expose CLI commands that can be useful if you are unsure of proper syntax when creating  MC script.  

Environment

Edge SWG and Management Center.

Resolution

The Edge SWG provides a "Preview" function in the management GUI that allows you to see the CLI commands being applied to the EdgeSWG (ProxySG) from the changes made via the GUI. These CLI commands can then be used as a script to apply settings to Edge SWG devices from MC.

To create an MC script from the Edge SWG using SGAC:

    1. Log into the Edge SWG SGAC
    2. Make changes via the GUI that you want applied and pushed through an MC script
      • Do not click on the "Save Changes" button as this will apply the changes.
    3. Click on the "Show Pending" button that is located at the right side of the screen
    4. Click on  "Copy"  to copy the commands displayed.  The output is in MC scripting format.
    5. Follow the MC documentation section Create and Execute the Script Object in MC to create a script In MC

Additional Information

Management Center scripts are collection of CLI/SSH commands executed in the order listed. Scripts are NOT in any type of scripting language.

Management Center automatically logs into the Edge SWG device with the "configuration terminal" prompt (i.e. #(config) prompt).  For other managed devices (such as CAS, Reporter etc) , the MC logs in privileged/enable mode (i.e. # prompt).