While the ProxySG CLI provides no single command to delete all entries in the static bypass list, you can create a list of entries to be copied and pasted into the CLI that could be done by following the steps below:
1. Copy the static bypass list into a text editor from the ProxySG sysinfo (https://x.x.x.x:8082/sysinfo).
2. Replace the word “add” with “remove”.
3. Log in to the CLI, enter enable mode, configuration terminal mode and type proxy-services.
4. Type static-bypass and press enter.
5. Paste the edited list into the CLI.
For Example:
static-bypass ;mode
add all 1.1.1.1
add all 2.2.2.2
add all 3.3.3.3
add 4.4.4.4 all
add 5.5.5.5 all
add 6.6.6.6 all
After replacing the word "add" with the word "remove", we will have the following output:
remove all 1.1.1.1
remove all 2.2.2.2
remove all 3.3.3.3
remove 4.4.4.4 all
remove 5.5.5.5 all
remove 6.6.6.6 all
Apply the above output into the CLI console by using the CLI command:
SG300#(config proxy-services)
SG300#(config proxy-services)static-bypass
SG300#(config static-bypass) remove all 1.1.1.1
ok
SG300#(config static-bypass) remove all 2.2.2.2
ok
SG300#(config static-bypass) remove all 3.3.3.3
ok
SG300#(config static-bypass) remove 4.4.4.4 all
ok
SG300#(config static-bypass) remove 5.5.5.5 all
ok
SG300#(config static-bypass) remove 6.6.6.6 all
ok
SG300#(config static-bypass) exit