Creating Domain And Url Switching Rules - Extreme Networks Px Series Installation And Configuration Manual

Px series application switch
Table of Contents

Advertisement

config domain name www.ebooks.com
config pattern-rule "authorsa" server-group-name authorsa
config pattern-rule "authorsb" server-group-name authorsb
config pattern-rule "authorsc" server-group-name authorsc
config pattern-rule default server-group-name mainpage
config domain name ebooks.com
config pattern-rule "authorsa" server-group-name authorsa
config pattern-rule "authorsb" server-group-name authorsb
config pattern-rule "authorsc" server-group-name authorsc
config pattern-rule default server-group-name mainpage
config domain default
config pattern-rule default server-group-name mainpage

Creating Domain and URL Switching Rules

To simplify the creation of pattern rules, you can use wildcard combinations. The
allowable wildcards are described in Table 7-1.
Table 7-1: Wildcard Combinations
Wildcard
Example
/exact-match/
/authors/
/end-wild/*
/authors/*/
/middle/*/wildcard/
/authors/*/cookbooks/
/*.extension
/*.gif/
/entry.*
/index.*/
Every layer 7 rule needs a default domain, which can contain only a default
pattern-rule. This rule is used to decide where to forward traffic in the event that none
of the configured rules match.
You can use a wildcard for the domain when the format of the domain is unknown or
unimportant. For example, the following configuration is for HTTP services with an
unknown domain format:
config service vip 10.65.101.20 port 80 protocol tcp l7 class http
config domain name *
config pattern-rule default server-group-name sg2
7-8
Definition
Match the entry exactly.
Match any ending wildcard.
Match an imbedded wildcard, but exact entry
following the wildcard.
Match any entry with the listed extension.
Match any entry with the listed filename and
a wildcard extension.
Px Series Application Switch Installation and Configuration Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Summitpx1Pxm

Table of Contents