User guide
120 ExtremeWarePx1 1.2 Command Reference Guide
Commands for Configuring Servers and Services
Default
N/A.
Usage Guidelines
You must have administrator privileges to issue this command.
This command applies to the default domain of the current service. The current service is the service
that was speciÞed in the most recently issued configure service L7 command. The class of the
current service must be http.
The current domain must be the default domain. That is, the configure domain default command
must have been issues after any configure domain command for the current service.
The conÞgured pattern rule speciÞes the server group to be used whenever the service gets a client
request that includes a cookie with the speciÞed nameÑregardless of the domain name or URL
speciÞed in the request. The contents of the cookie is used to select the speciÞc server within the server
group, according to the cookie persistence mode speciÞed by the cookie-type parameter.
If you end the command with the noqos keyword, the headers are left unchanged in the incoming trafÞc
that include cookies. If you do not specify this keyword, you can specify tags for incoming trafÞc. You
can specify different tags for two Þelds: the 802.1p header and the DiffServ code point (DSCP) in the
TCP header. For either Þeld, you can specify different tags for trafÞc towards the server and trafÞc
towards the network. You must specify values for all four parameters dot1p-to-svr, dot1p-to-net,
diffserv-to-svr, and diffserv-to-net. If the value of one of these parameters is a hexadecimal
number, that number is used as a tag, overwriting any tag that is used on the trafÞc; if the value is the
keyword preserve, any existing tag in the incoming trafÞc is left unchanged.
You must use the build command to commit the conÞguration changes made by this command.
Example
This example conÞgures a service to use learned cookie persistence.
SummitPx1::12 # config service vip 10.10.31.1 port 8080 proto tcp l7 class http
* SummitPx1::13 # config domain name mydomain.com
* SummitPx1::14 # config pattern-rule default server-group-name group1
* SummitPx1::15 # config domain name default
* SummitPx1::16 # config pattern-rule default server-group-name group1 cookie-name
"session-id" cookie-type self
* SummitPx1::17 # build
History
This command was available in ExtremeWarePx 1.1.
diffserv-to-net tag Specifies whether to apply a tag to the DiffServ code point for packets directed to the
network; one of the following values:
• The keyword preserve indicates that no tag is applied to this type of traffic.
• A hexadecimal number from 0x00 to 0x3F, inclusive, is the tag to be applied to this type
of traffic.










