Product Documentation

Service Class Configuration

Sep 07, 2012

show service-classes

Syntax: show service-classes
[{-modified-only, -names “name”,...}] 
[-verbose]

Displays either all the currently defined service classes, only the modified ones, or only the ones with names that have been requested. The verbose parameter if specified will output a detailed listing of the settings for each service class being displayed.

show service-class

Syntax: show service-class
-name “name”

Displays a detailed listing of the settings for the service class specified by the name parameter.

enable service-class

Syntax: enable service-class
-name “name”

Enables the service class specified by the name parameter. By default newly created service classes are disabled so that filter rules can be added.

disable service-class

Syntax: disable service-class
-name “name”

Disables the service class specified by the name parameter. Disabled service classes will not match any connections and therefore will not provide any acceleration.

rename service-class

Syntax: rename service-class
-old “oldname” 
-new “newname”

Renames the specified service class.

remove service-class

Syntax: remove service-class
{-all, -name “name”}

Deletes either the named service class or all service classes.

remove service-class-filter

Syntax: remove service-class-filter
-service-class “name” 
{-all, -filter-position “number”}

Removes either all filters for the specified service class or the filter at the position specified by “number”.

Valid filter positions range from 1 to N (where N is the number of filters in the list).

move service-class

Syntax: move service-class
-name “name” 
{ -direction {up, down} -count “count”, 
-position {bottom, top, “number”} }

Moves the named service class either relative to the current position (using the direction parameter) or absolutely (using the position parameter).

Valid integer positions range from 1 to N (where N is the number of service classes in the list).

add service-class

Syntax: add service-class
[-position {bottom, top, “number”}] 
-name “name” 
-acceleration {disk, flow-control, memory, none} 
-traffic-shaping-policy {default, “policy-name”} 
[-per-link-policies (“link-name” “policy-name”),...]

Creates a new service class with the specified acceleration type and traffic shaping policy. Double quotes can be used as delimiters for the service class name (which may contain spaces). A newly added service class will always be created in a disabled state and must have at least one service class filter added to it before it can be enabled.

If no position parameter is specified, the new service class will be inserted at the top of the current list of service classes. Valid integer positions range from 1 to N (where N is the number of service classes in the list).

The specified traffic shaping policy will be used for this service class on all links. Per-link traffic shaping policies only need to be specified for links which have a traffic shaping policy that is different for this service class than the policy specified by the “-traffic-shaping-policy” setting.

add service-class-filter

Syntax: add service-class-filter
-service-class “name” 
[-filter-position {bottom, top, “number”}] 
[-bidirectional {enable, disable}] 
[-applications ([-exclude] “name”),...] 
[-source-ips ([-exclude] “ip”),...] 
[-destination-ips ([-exclude] “ip”),...] 
[-diffserv-dscps ([-exclude] “dscp”),...] 
[-vlans ([-exclude] “vlan”),...] 
[-ssl-profiles ([-exclude] “profile”),...]

Creates a new service class filter in the service class specified. If no filter position parameter is specified, the new filter will be inserted at the bottom of the current list of filters. If a filter position is specified, then the new filter will be inserted at that position in the list. Valid integer positions range from 1 to N (where N is the number of filters in the list).

If the bi-directional parameter is enabled then the filter will also match connection setup messages that have a source IP address that matches the filter’s destination-ips setting and a destination IP address that matches the filter’s source-ips setting. Please note that this setting only applies to which connections can be accelerated, it does not apply to traffic shaping.

For the applications, source-ips, destination-ips, diffserv-dscps and vlans parameters, if a setting is not provided, then any value for these fields will be considered a match.

All of these parameters provide the ability to specify a comma separated list of items. Each item may indicate that instead of a match operation on the item being performed that an exclude operation is done instead.

Valid DiffServ DSCP values range from 0 to 63. VLANs are specified by VLAN group numbers which range from 1 to 4094. SSL profile names which are specified must already be configured in the system or they will be rejected.

At least one ssl profile name must be configured in the ssl-profiles parameter for SSL connections to be matched.

set service-class

Syntax: set service-class
-name “name” 
[-acceleration {disk, flow-control, memory, none}] 
[-traffic-shaping-policy {default, “policy”}] 
[-per-link-policies (“link-name” “policy-name”),...]

Changes the definition of an existing service class. Double quotes can be used as delimiters for the service class name (which may contain spaces). At least one of the service class attributes must be set.

The specified traffic shaping policy will be used for this service class on all links. Per-link traffic shaping policies only need to be specified for links which have a traffic shaping policy that is different for this service class than the policy specified by the “-traffic-shaping-policy” setting.

set service-class-filter

Syntax: set service-class-filter
-service-class “name” 
-filter-position “number” 
{-match-all-traffic, “filter-criteria-list”}
where “filter-criteria-list” is
[-bidirectional {enable, disable}] 
[-applications {match-all, ([-exclude] “name”),...}] 
[-source-ips {match-all, ([-exclude] “ip”),...}] 
[-destination-ips {match-all, ([-exclude] “ip”),...}] 
[-diffserv-dscps {{match-all, ([-exclude] “dscp”),...}] 
[-vlans {match-all, ([-exclude] “vlan”),...}] 
[-ssl-profiles {disable, ([-exclude] “profile”),...}]

Change the definition of the existing service class filter rule specified by the name and filter-position parameters. Valid filter positions range from 1 to N (where N is the number of filters in the current list).

Multiple filter settings may be changed at once and the other settings will be left unchanged. At least one of the service class filter attributes must be set.

If the bi-directional parameter is enabled then the filter will also match connection setup messages that have a source IP address that matches the filter’s destination-ips setting and a destination IP address that matches the filter’s source-ips setting. Please note that this setting only applies to which connections can be accelerated, it does not apply to traffic shaping.

Valid DiffServ DSCP values range from 0 to 63. VLANs are specified by VLAN group numbers which range from 1 to 4094. SSL profile names which are specified must already be configured in the system or they will be rejected.