Policy Basics

Policy Overview

Policy influences the flow of data traffic and routing information among Cisco IOS XE SD-WAN devices in the overlay network. Policy comprises:

  • Routing policy—which affects the flow of routing information in the network's control plane

  • Data policy—which affects the flow of data traffic in the network's data plane

To implement enterprise-specific traffic control requirements, you create basic policies, and deploy advanced features that are activated by means of the policy configuration infrastructure.

Just as the Cisco SD-WAN overlay network architecture clearly separates the control plane from the data plane and control between centralized and localized functions, the Cisco SD-WAN policy is cleanly separated. Policies apply either to control plane or data plane traffic, and they are configured either centrally on Cisco vSmart Controllers or locally on Cisco IOS XE SD-WAN devices. The following figure illustrates the division between control and data policy, and between centralized and local policy.

Figure 1. Policy Architecture

Control and Data Policy

Control policy is the equivalent of routing protocol policy, and data policy is equivalent to what are commonly called access control lists (ACLs) and firewall filters.

Centralized and Localized Policy

The Cisco SD-WAN policy design provides a clear separation between centralized and localized policy. In short, centralized policy is provisioned on the centralized Cisco vSmart Controllers in the overlay network, and the localized policy is provisioned on Cisco IOS XE SD-WAN devices, which sit at the network edge between a branch or enterprise site and a transport network, such as the Internet, MPLS, or metro Ethernet.

Centralized Policy

Centralized policy refers to policy provisioned on Cisco vSmart Controllers, which are the centralized controllers in the Cisco SD-WAN overlay network. Centralized policy comprises two components:

  • Control policy, which affects the overlay network–wide routing of traffic

  • Data policy, which affects the data traffic flow throughout the VPN segments in the network

Centralized control policy applies to the network-wide routing of traffic by affecting the information that is stored in the Cisco vSmart Controller's route table and that is advertised to the Cisco IOS XE SD-WAN devices. The effects of centralized control policy are seen in how Cisco IOS XE SD-WAN devices direct the overlay network's data traffic to its destination.


Note

The centralized control policy configuration itself remains on the Cisco vSmart Controller and is never pushed to local devices.

Centralized data policy applies to the flow of data traffic throughout the VPNs in the overlay network. These policies can permit and restrict access based either on a 6-tuple match (source and destination IP addresses and ports, DSCP fields, and protocol) or on VPN membership. These policies are pushed to the selected Cisco vEdge device Cisco IOS XE SD-WAN devices.

Localized Policy

Localized policy refers to a policy that is provisioned locally through the CLI on the Cisco IOS XE SD-WAN devices, or through a Cisco vManage device template.

Localized control policy is also called as route policy, which affects (BGP and OSPF) routing behavior on the site-local network.

Localized data policy allows you to provision access lists and apply them to a specific interface or interfaces on the device. Simple access lists permit and restrict access based on a 6-tuple match (source and destination IP addresses and ports, DSCP fields, and protocol), in the same way as with centralized data policy. Access lists also allow provisioning of class of service (CoS), policing, which control how data traffic flows out of and in to the device's interfaces and interface queues.

The design of the Cisco SD-WAN policy distinguishes basic and advanced policies. Basic policy allows you to influence or determine basic traffic flow through the overlay network. Here, you perform standard policy tasks, such as managing the paths along which traffic is routed through the network, and permitting or blocking traffic based on the address, port, and DSCP fields in the packet's IP header. You can also control the flow of data traffic into and out of a Cisco IOS XE SD-WAN device's interfaces, enabling features such as class of service and queuing, and policing.

  • Application-aware routing, which selects the best path for traffic based on real-time network and path performance characteristics.

  • Cflowd, for monitoring traffic flow.

By default, no policy of any kind is configured on Cisco IOS XE SD-WAN devices, either on the centralized Cisco vSmart Controllers or the local Cisco IOS XE SD-WAN devices. When control plane traffic, which distributes route information, is unpolicied:

  • All route information that OMP propagates among the Cisco IOS XE SD-WAN devices is shared, unmodified, among all Cisco vSmart Controllers and all Cisco IOS XE SD-WAN devices in the overlay network domain.

  • No BGP or OSPF route policies are in place to affect the route information that Cisco IOS XE SD-WAN devices propagate within their local site network.

When data plane traffic is unpolicied, all data traffic is directed towards its destination based solely on the entries in the local Cisco IOS XE SD-WAN device's route table, and all VPNs in the overlay network can exchange data traffic.

This section examines the structural components of routing and data policy in the Cisco SD-WAN overlay network.

Policies in Cisco vManage

Use the Policies screen to create and activate centralized and localized control and data policies for Cisco vSmart Controllers and Cisco IOS XE SD-WAN devices.

Figure 2. Policy Configuration

This screen allows you to perform several tasks related to Policies in Cisco vManage:

  • View centralized or localized policies

  • Copy, edit, or delete policies

  • Create and edit policy components

  • Activate and deactivate a centralized policy on Cisco vSmart controllers

Create and Manage Policies via Cisco vManage

View centralized or localized policies

To view centralized or localized policies, do the following:

  1. From the Centralized Policy or Localized Policy tab, select a policy.

  2. For a policy created using the UI policy builder or via CLI, click More Actions and click View. The policy created using the UI policy builder is displayed in graphical format while the policy created using the CLI method is displayed in text format.

  3. For a policy created using the vManage policy configuration wizard, click More Actionsand click Preview. This policy is displayed in text format.

Copy, edit and delete policies

  1. To copy a policy:

    1. From the Centralized Policy or Localized Policy tab, select a policy.

    2. Click More Actions and click Copy.

    3. In the Policy Copy popup window, enter the policy name and a description of the policy.


      Note

      If you are upgrading to 18.4.4 version, Data Policy names need to be under 26 characters.


    4. Click Copy.

  2. To edit policies created using the vManage policy configuration wizard:

    1. Click More Actions and click Edit.

    2. Edit the policy as needed.

    3. Click Save Policy Changes.

  3. To edit polices created using the CLI method:

    1. In the Custom Options drop-down, click CLI Policy.

    2. Click More Actions and click Edit.

    3. Edit the policy as needed.

    4. Click Update.

  4. To delete policies:

    1. From the Centralized Policy or Localized Policy tab, select a policy.

    2. Click More Actions and click Delete.

    3. Click OK to confirm deletion of the policy.

Edit or Create a Policy Component

You can create individual policy components directly and then use them or import them when you are using the policy configuration wizard:

  1. In the Title bar, click the Custom Options drop-down.

  2. For centralized policies, select the Centralized Policy tab and then select a policy component:

    • CLI policy—Create the policy using the command-line interface rather than the policy configuration wizard.

    • Lists—Create groups of interest to import in the Group of Interest screen in the policy configuration wizard.

    • Topology—Create a hub-and-spoke, mesh, or custom topology or a VPN membership to import in the Topology screen in the policy configuration wizard.

    • Traffic Policy—Create an application-aware routing, traffic data, or cflowd policy to import in the Traffic Rules screen in the policy configuration wizard.

  3. For localized policies, select the Localized Policy and then select a policy component:

    • CLI policy—Create the policy using the command-line interface rather than the policy configuration wizard.

    • Lists—Create groups of interest to import in the Group of Interest screen in the policy configuration wizard.

    • Forwarding Class/QoS—Create QoS mappings and rewrite rules to import in the Forwarding Classes/QoS screen in the policy configuration wizard.

    • Access Control Lists—Create ACLs of interest to import in the Configure Access Lists screen in the policy configuration wizard.

    • Route Policy—Create route policies to import in the Configure Route Policies screen in the policy configuration wizard.

Activate a Centralized Policy on Cisco vSmart Controllers

  1. In the Title bar, click the Custom Options drop-down.

  2. In the Centralized Policy tab, and then select a policy.

  3. Click More Actions and click Activate.

  4. In the Activate Policy popup, click Activate to push the policy to all reachable Cisco vSmart Controllers in the network.

  5. Click OK to confirm activation of the policy on all Cisco vSmart Controllers.

  6. To deactivate the centralized policy, select the = tab, and then select a policy.

  7. 6. Click More Actions and click Deactivate.

  8. In the Deactivate Policy popup, click Deactivate to confirm that you want to remove the policy from all reachable Cisco vSmart Controllers.