Configuration Mode Commands : SteelHead Configuration Commands : Path Selection Commands : path-selection rule site application
  
path-selection rule site application
Configures path-selection rules for a remote site and application.
Syntax
[no] path-selection rule site {<site-name> | default-site | any} application <application>
        [uplink-1-name <name>] [uplink-1-dscp <value>]
        [uplink-2-name <name>] [uplink-2-dscp <value>]
        [uplink-3-name <name>] [uplink-3-dscp <value>]
        [default-action {drop | relay}] [position <position>]
Parameters
<site-name>
Site name: for example, data center.
default-site
Specifies the default site, which is the match anything, catch-all site that is used if nothing else matches. This site has a subnet of 0.0.0.0/0. You do not need to add a remote site if you only have one remote site and the default site is suitable. The default site cannot be removed.
If you use the default site for path selection, Riverbed recommends defining a peer SteelHead IP address that belongs to the default site. This configuration helps path selection make a more accurate evaluation of the health of the path leading to the default site.
any
Indicates any site applies to traffic bound for all sites, including the default site.
<application>
Application. Enter ? at the system prompt to view a list of predefined applications.
uplink-1-name <name>
Specifies the name of uplink 1 for the path-selection rule.
uplink-1-dscp <value>
Specifies the DSCP value for uplink 1. The DSCP values are 0 to 63 or preserve. Preserve means that the DSCP level or IP ToS value found on the pass-through traffic is unchanged when it passes through the SteelHead.
You must select DSCP values if the service providers are applying QoS metrics based on DSCP marking and each provider is using a different type of metric.
uplink-2-name <name>
Specifies the name of uplink 2 for the path-selection rule.
uplink-2-dscp <value>
Specifies the DSCP value for uplink 2. The DSCP values are 0 to 63 or preserve.
uplink-3-name <name>
Specifies the name of uplink 3 for the path-selection rule.
uplink-3-dscp <value>
Specifies the DSCP value for uplink 3. The DSCP values are 0 to 63 or preserve.
default-action
Specifies the default action for the path-selection rule if the rule is matched and all specified paths are down:
•  drop - Discards all packets matching this rule.
•  relay - Routes packets normally using the default path. If not configured, the default behavior is relay without applying path selection.
position <position>
Specifies the position in which the rule is consulted: 1 - <maximum position>.
Usage
To configure path selection, you define path-selection rules to direct any application to any site. Path selection rules direct matching traffic onto specific uplinks. Traffic is matched by a combination of application and destination site.
You can specify up to three uplinks per path-selection rule and three DSCP values per site. Path selection only uses local uplinks.
Each rule is identified with a destination site and application. You can create multiple rules for a site. When the combination of the site and application does not already exist, the command adds a new rule. Otherwise, it edits the existing path-selection rule. When editing a path-selection rule, fields not entered in the edit command retain their values after the update.
Example
amnesiac (config) # path-selection rule site New_York application http uplink-1-name inpath0_0 uplink-1-dscp preserve uplink-2-name inpath0_1 uplink-2-dscp preserve default-action relay
amnesiac (config) # path-selection rule site Default-Site application ASA uplink-1-name inpath0_0
Product
SteelHead CX, SteelHead EX, SteelHead-v, SteelHead-c
Related Commands
Application Commands, QoS Commands, show path-selection rules