Path Selection Policy

The load balancing policy can be specified based on the application.

Syntax


router path-selection
policy <dps-policy-name>
<rule key> application-profile <profile-name>
load-balance <load balance policy name> 
<rule key> application-profile <profile-name>
load-balance <load balance policy name>

Sequence numbers are required since a flow can potentially match multiple application profiles. Also, we have “set load-balance” as a sub-mode so we can add other actions for “match application-profile”.

Example


switch(config)#router path-selection
switch(config-dynamic-path-selection)#policy dynamic
switch(config-policy-dynamic)#10 application-profile voice
switch(config-policy-rule-key-10-dynamic)#load-balance voice
switch(config-policy-rule-key-10-dynamic)#20 application-profile best
switch(config-policy-rule-key-20-dynamic)#load-balance best