User guide

116 ExtremeWarePx1 1.2 Command Reference Guide
Commands for Configuring Servers and Services
Usage Guidelines
You must have administrator privileges to issue this command.
This command applies to the current 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 current domain is the
domain that was speciÞed in the most recently issued configure domain or configure domain default
command.
The conÞgured pattern rule speciÞes the server group that the current service should use when a client
request includes the current domain and a URL that matches the speciÞed pattern string.
If you end the command with the noqos keyword, the headers are left unchanged in the incoming trafÞc
that matches the conÞgured pattern rule. 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 the images server group for Þles with the extensions gif or jpg,
the media server group for Þles with the extensions mov or mp3, and the mydomain server group for all
other Þles.
SummitPx1::14 # config service vip 64.1.2.10 port 80 protocol tcp L7 class http
* SummitPx1::15 # config domain name *
* SummitPx1::16 # config pattern-rule "*.gif" server-group-name images noqos
* SummitPx1::17 # config pattern-rule "*.jpg" server-group-name images noqos
* SummitPx1::18 # config pattern-rule "*.mov" server-group-name media noqos
* SummitPx1::19 # config pattern-rule "*.mp3" server-group-name media noqos
* SummitPx1::20 # config pattern-rule default server-group-name mydomain noqos
* SummitPx1::21 # build
History
This command was available in ExtremeWarePx 1.1.
Platform Availability
This command is available on the Px-series application switch.