Describes the available methods to configure application-aware routing policies.
Use one of these steps to configure application-aware routing policies:
Cisco Catalyst SD-WAN Policies Configuration Guide, Releases 26.x and Later
Cisco Catalyst SD-WAN Policies Configuration Guide, Releases 26.x and Later
Describes the available methods to configure application-aware routing policies.
Use one of these steps to configure application-aware routing policies:
Use these steps to control how application traffic is routed across overlay networks, ensuring that traffic meets specific SLA criteria such as latency, jitter, and loss.
| 1. | Create lists of overlay network sites to which the policy will be applied. Example:
|
|
| 2. | Define SLA classes with traffic characteristics to apply to matching application data traffic. Example:
|
|
| 3. | Create Lists of Applications, IP Prefixes, and VPNs. Example:
|
|
| 4. | Create an application-aware routing policy instance and associate it with a list of VPNs. Example:
|
|
| 5. | Create match-action sequences: Define one or more numbered sequences that match data traffic and apply SLA classes. |
|
| 6. | Configure action options for SLA classes: |
|
| 7. | If a packet does not match any of the conditions in one of the sequences, configure the default action. Example:
For application-aware routing policy, the default action is to accept nonmatching traffic and forward it with no consideration of SLA. You can configure the default action so that SLA parameters are applied to nonmatching packets. |
|
| 8. | Apply the policy to a site list. Example:
|
To configure application-aware routing policy, use the Cisco SD-WAN Manager policy configuration wizard. For Centralized Policy configuration details, refer to Configure Centralized Policies.
The wizard consists of four sequential windows that guide you through the process of creating and editing policy components:
| 1. | Create applications or groups of interest. Create lists that group related items and reference them in the match or action components of a policy. For configuration details, see Configure Groups of Interest. |
|
| 2. | Configure traffic rules. Define the match and action conditions of the policy. |
|
| 3. | Apply policies to sites and VPN. Associate the created policy blocks with sites and VPNs in the overlay network. In the first three policy configuration wizard windows, you create the policy components or blocks. In the final window, you apply these policy blocks to sites and VPNs |
|
| 4. | Activate the policy, to make an application-aware routing policy effective. |
This task enables you to configure application-aware routing policy on a Cisco Catalyst SD-WAN Controller. The policy directs ICMP traffic to links with latency of 50 milliseconds or less.
You configure application-aware routing policy on a Cisco Catalyst SD-WAN Controller.
The order in which you configure these components is immaterial from the point of view of the CLI. However, from an architectural design point of view, a logical order is to first define all the parameters that are invoked in the application-aware routing policy itself or that are used to apply the policy to various sites in the overlay network. Then, you specify the application-aware routing policy itself and the network sites to which you want to apply the policy.
| 1. | Define the SLA parameters to apply to matching ICMP traffic. Example:
This example directs ICMP traffic to links with latency of 50 milliseconds or less. |
|
| 2. | Define the site and VPN lists to which you want to apply the application-aware routing policy. Example:
|
|
| 3. | Configure the application-aware routing policy and specify the protocol numbers for ICMP, TCP, and UDP. Example:
In this example, protocol 1 is ICMP, protocol 6 is TCP, and protocol 17 is UDP. |
|
| 4. | Apply the policy to the desired sites in the Cisco IOS XE Catalyst SD-WAN overlay network. Example:
|
|
| 5. | Display the configuration changes. Example:
|
|
| 6. | Validate that the configuration contains no errors. Example:
|
|
| 7. | Activate the configuration. Example:
|
|
| 8. | Exit from configuration mode. Example:
|
Complete configuration example:
vSmart# show running-config policy
policy
sla-class test_sla_class
latency 50
!
app-route-policy test_app_route_policy
vpn-list vpn_1_list
sequence 1
match
protocol 6
!
action sla-class test_sla_class strict
!
sequence 2
match
protocol 17
!
action sla-class test_sla_class
!
sequence 3
match
protocol 1
!
action sla-class test_sla_class strict
!
!
!
lists
vpn-list vpn_1_list
vpn 1
!
site-list site_500
site-id 500
!
site-list site_600
site-id 600
!
!
!
apply-policy
site-list site_500
app-route-policy test_app_route_policy
!
!
Multicast protocol example:
policy
!
sla-class SLA_BEST_EFFORT
jitter 900
!
sla-class SLA_BUSINESS_CRITICAL
loss 1
latency 250
jitter 300
!
sla-class SLA_BUSINESS_DATA
loss 3
latency 400
jitter 500
!
sla-class SLA_REALTIME
loss 2
latency 300
jitter 60
!
app-route-policy policy_multicast
vpn-list multicast-vpn-list
sequence 10
match
source-ip 10.0.0.0/8
destination-ip 10.255.255.254/8
!
action
count mc-counter-10
sla-class SLA_BUSINESS_CRITICAL
!
!
sequence 15
match
source-ip 172.16.0.0/12
destination-ip 172.31.255.254/12
!
action
count mc-counter-15
sla-class SLA_BEST_EFFORT
!
!
sequence 20
match
destination-ip 192.168.0.1
!
action
count mc-counter-20
sla-class SLA_BUSINESS_CRITICAL
!
!
sequence 25
match
protocol 17
!
action
count mc-counter-25
sla-class SLA_REALTIME
!
!
sequence 30
match
source-ip 192.168.0.0/16
destination-ip 192.168.255.254
protocol 17
!
action
count mc-counter-30
sla-class SLA_BUSINESS_DATA preferred-color lte
!
!
default-action sla-class SLA_BEST_EFFORT
!
sequence 35
match
source-ip 10.0.0.0/8
destination-ip 10.255.255.254/8
protocol 17
!
action
count mc-counter-35
sla-class SLA_BUSINESS_DATA preferred-color lte
backup-sla-preferred-color 3g
!
!
lists
vpn-list multicast-vpn-list
vpn 1
vpn 60
vpn 4001-4010
vpn 65501-65510
!
site-list multicast-site-list
site-id 1100
site-id 500
site-id 600
!
!
!
apply-policy
site-list multicast-site-list
app-route-policy policy_multicast
!
!
Remote color preference example:
vSmart# show running-config policy
policy
sla-class SLA1
latency 100
!
app-route-policy AAR1
vpn-list vpn1
sequence 1
match
destination-ip 10.1.1.0/24
!
action
sla-class SLA1 preferred-color mpls lte
sla-class remote-preference
remote-color mpls lte
remote-color-restrict
Ranking color preference example:
app-route-policy SAMPLE _AAR
vpn-list ONE
sequence 10
match
dscp 46
!
action
sla VOICE_SLA strict preferred-color-group GROUP2_COLORS
!
!
sequence 20
match
dscp 34
!
action
sla VOICE_SLA preferred-color-group GROUP1_COLORS
!
!
sequence 30
match
dscp 28
!
action
sla VOICE_SLA preferred-color-group GROUP3_COLORS
!
!
!
policy lists
preferred-color-group GROUP1_COLORS
primary-preference
color-preference biz-internet
path-preference direct-tunnel
!
secondary-preference
color-preference mpls
path-preference multi-hop-path
!
tertiary-preference
color-preference lte
!
!
preferred-color-group GROUP2_COLORS
primary-preference
color-preference mpls
!
secondary-preference
color-preference biz-internet
!
!
preferred-color-group GROUP3_COLORS
primary-preference
color-preference mpls biz-internet lte
!
You can configure path-preference option only if you enable the Multi-Region Fabric option in Cisco SD-WAN Manager.
AAR policy for IPv6 applications example:
policy
sla-class Default
jitter 100
latency 300
loss 25
!
app-route-policy _VPN1_AAR-Policy-for-IPv6-Traffic
vpn-list VPN1
sequence 1
match
app-list Msft-0365
!
action
sla-class Default preferred-color public-internet
!
!
!
lists
app-list Msft-0365
app ms-office-web-apps
!
site-list SITE-100
site-id 100
!
vpn-list VPN1
vpn 1
!
!
!
apply-policy
site-list SITE-100
app-route-policy _VPN1_AAR-Policy-for-IPv6-Traffic
!
!