Command Line Interface Reference Guide > The SLB Configuration Menu
/cfg/slb/virt/service/basic-slb/appshape
AppShape++ Menu
 
[AppShape++ Menu]
add - Add AppShape++ script to service
rem - Remove AppShape++ script from service
alwayson - Enable/Disable service always on when AS++ script attached
arem - Remove all AppShape++ scripts from service
sessmode - Set session entry mode
cur - Display service AppShape++ scripts configuration
 
AppShape++ Menu Options (/cfg/slb/virt/service/basic-slb/appshape) 
Command Syntax and Usage
add <priority (1-16)> <script ID>
 
Adds an AppShape++ script to the virtual service, and defines its priority (1-16). The priority determines the order in which the script runs relative to the other AppShape++ scripts that are associated with the virtual service.
Values: 1–16
rem <priority (1-16)>
 
Removes an AppShape++ script from the virtual service.
alwayson [enable|disable]
 
Specifies whether a virtual service should always be available, even if all servers are down, when an AppShape++ script is attached to the service. This parameter needs to be enabled only when one of the attached AppShape++ scripts contains treatment for the “no server available” state (such as returning the Sorry page or redirecting to a special URL).
Default: disable
arem
 
Removes all AppShape++ scripts from the virtual service.
sessmode [single|multiple]
 
Specifies whether single or multiple back-end session entries are created when AppShape++ is used.
Default: multiple for any SIP service, single for all other services.
This command is not available for HTTP or HTTPS services.
cur
 
Displays the current AppShape++ scripts for the virtual service.