Configure a cache redirection virtual server
add a cache redirection virtual server in transparent mode by using the cli
- add cr vserver <name> <serviceType> [<IPAddress> <port> ] [-cacheType <cacheType>] [-redirect <redirect>]
- show cr vserver [<name>]
add cr vserver Vserver-CRD-1 HTTP * 80 -cacheType TRANSPARENT -redirect POLICY
> show cr vserver Vserver-CRD-1
Vserver-CRD-1 (*:80) - HTTP Type: CONTENT
State: UP ARP:DISABLED
Client Idle Timeout: 180 sec
Down state flush: ENABLED
Disable Primary Vserver On Down : DISABLED
Default: Content Precedence: RULE Cache: TRANSPARENT
On Policy Match: ORIGIN L2Conn: OFF OriginUSIP: OFF
Redirect: POLICY Reuse: ON Via: ON ARP: OFF
Done
Modify or remove a cache redirection virtual server by using the CLI
-
To modify a virtual server, use the set cr vserver command, which is just like using the add cr vserver command, except that you enter the name of an existing virtual server.
-
To remove a virtual server, use the
rm cr vservercommand, which accepts only the \<name\> argument.
Add a cache redirection virtual server in transparent mode by using the GUI
-
Navigate to Traffic Management > Cache Redirection > Virtual Servers.
-
In the details pane, click Add.
-
In the Create Virtual Server (Cache Redirection) dialog box, specify values for the following parameters as shown:
-
Name*—name
-
Port*—port
*A required parameter -
-
In the Protocol drop-down list, select a supported protocol (for example, HTTP). If the virtual server is to receive traffic on a port other than the standard port for the selected protocol, enter a new value in the Port field.
-
Click the Advanced tab.
-
Verify that Cache Type is set to TRANSPARENT and Redirect is set to POLICY.
-
Click Create, and then click Close. The Cache Redirection Virtual Servers pane displays the new virtual server.
-
Select the new cache redirection virtual server to display the details of its configuration.