Managing a content switching setup
Unbinding policies from the content switching virtual server
To unbind a policy from a content switching virtual server by using the CLI
unbind cs vserver <name> -policyname <string>
unbind cs vserver Vserver-CS-1 -policyname Policy-CS-1
To unbind a policy from a content switching virtual server by using the GUI
-
Navigate to Traffic Management > Content Switching > Virtual Servers, and open the virtual server.
-
Click Policies section, select the policy, and click Unbind.
Removing Content Switching Virtual Servers
To remove a content switching virtual server by using the CLI
rm cs vserver <name>
rm cs vserver Vserver-CS-1
To remove a content switching virtual server by using the GUI
Disabling and Re-Enabling Content Switching Virtual Servers
To disable or re-enable a virtual server by using the CLI
-
disable cs vserver <name> -
enable cs vserver <name>
disable cs vserver Vserver-CS-1 enable cs vserver Vserver-CS-1
To disable or re-enable a virtual server by using the GUI
Renaming Content Switching Virtual Servers
To rename a virtual server by using the CLI
rename cs vserver <name> <newName>
`rename cs vserver Vserver-CS-1 Vserver-CS-2`
To rename a virtual server by using the GUI
Managing content switching policies
To modify, remove, or rename a policy by using the CLI
-
set cs policy <policyName> [-rule <expression>] [-action <string>] [-logAction <string>] -
rm cs policy <policyName> -
rename cs policy <policyName> <newPolicyName>
set cs policy pol-CS-1 -rule "CLIENT.IP.SRC.SUBNET(22).EQ(10.100.148.0)"
set cs policy pol-CS-2 -rule "SYS.TIME.BETWEEN(GMT 2010 Jun,GMT 2010 Jul)"
set cs policy pol-CS-1 -rule http.req.url.startswith ("/sports/")
rename cs pol-CS-1 Pol-CS-11
rm cs pol-CS-1
To modify, remove, or rename a policy by using the GUI
-
Navigate to Traffic Management > Content Switching > Policies.
-
Select the policy, and either delete it, edit it or, in the Action list, click Rename.