User guide

configure domain default
ExtremeWarePx1 1.2 Command Reference Guide 113
configure domain default
configure domain default
Description
ConÞgures the default domain for the current layer 7 service.
Syntax Description
This command has no parameters or options.
Default
N/A.
Usage Guidelines
You must have administrator privileges to issue this command.
This command applies to the service that was speciÞed in the most recently issued configure service
L7
command. That service is called the current service.
You must conÞgure a default domain for every layer 7 service that does not conÞgure the single special
domain name "*".
This command establishes the context for the subsequent commands that conÞgure pattern rules for the
default domain.
You must conÞgure pattern rules for the default domain:
¥ For a service whose class is https, the default domain must contain only the default pattern rule
(created with the configure pattern-rule default command).
¥ The default domain of other services may contain zero or more non-default pattern rules (created
with the configure pattern-rule command) and must contain one default pattern rule. If the
service uses cookies, you use the configure pattern-rule default cookie-name command to
conÞgure the default pattern rule; otherwise, you use the configure pattern-rule default
command.
You must use the build command to commit the conÞguration changes made by this command.
Example
This example conÞgures two named domains and a default domain for a service. All domains for this
service contain a default pattern rule only.
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 www.mydomain.com
* SummitPx1::16 # config pattern-rule default server-group-name group1
* SummitPx1::17 # config domain default
* SummitPx1::18 # config pattern-rule default server-group-name mainpage
* SummitPx1::19 # build