Cisco Catalyst SD-WAN Policies Configuration Guide, Cisco IOS XE Catalyst SD-WAN Release 17.x - Policy Overview [Cisco SD-WAN] - Cisco Skip to content Skip to search Skip to footer Products and Services Back Products and Services Close Products and Services Home Save on Cisco products Future-proof your network with our full-stack offer. Buy more and save up to 25% on eligible Cisco switching, routing, wireless, and software products. Get started today Cisco Security free trials Get started with the right security solution for you. Try out our security solutions before you buy them. Start a free trial Discover Cisco IQ See more, move faster, go farther. Human expertise meets agentic intelligence in every Cisco Services engagement. Read the blog Networking Security Collaboration Computing Observability Software Services (CX) Back Networking Close Products Switches Routers Wireless Optics and transceivers Silicon Networking software Explore Networking Use cases Access networking Campus and branch networking Data center and cloud networking Industrial IoT Internet, cloud, and endpoint visibility Network security Service provider networking Wide-area networking (WAN) Unified network management Manage your entire network from a single, intuitive cloud interface with the Meraki and Catalyst Center Global Overview. Explore Networking Platform Back Security Close Featured products AI Defense Cisco Duo Email Threat Defense Firewall Hypershield Identity Services Engine (ISE) Secure Access (SSE) Splunk Enterprise Security XDR Explore Security Use cases Agentic SOC AI Security Hybrid Mesh Firewall Industrial security Physical security Secure Access Service Edge (SASE) Threat intelligence (Talos) Zero Trust Access Zero trust for agentic AI Cisco Secure Access live demo Join us live to experience Cisco Secure Access—the smarter way to secure access to the internet, SaaS, and private apps. Choose an upcoming slot Back Collaboration Close Products Phones, headsets, and collaboration devices Webex Customer Experience Webex Suite Explore Collaboration Use cases Workspaces Return to the office Camera intelligence Workspace management Devices for Microsoft Teams Webex AI Control Hub Webex Suite Everything your business needs to collaborate—in the world's first unified, purpose-built suite for hybrid work. Explore Webex Suite View the Webex site Back Computing Close Converged infrastructure Fabric and adapters Hybrid cloud operations Hyperconverged infrastructure Servers Unified Edge View all computing products Cisco Intersight free trial Get simplified IT operations with infrastructure lifecycle management as a service to easily manage your Cisco UCS, converged, and hyperconverged infrastructure. Get started Learn more about Intersight Back Observability Close Products Cloud application security Splunk Observability Cloud Splunk IT Service Intelligence ThousandEyes Explore Observability Use cases Alert noise reduction Cloud monitoring optimization End-user experiences Microservices troubleshooting Splunk Observability Get complete business visibility and real-time troubleshooting across any environment. Explore Splunk Observability Back Software Close Networking Catalyst Center Catalyst SD-WAN Manager IoT Operations Dashboard Meraki Platform Mobility Services Platform Nexus Dashboard All networking software Security Cyber Vision Secure Equipment Access Security Cloud Observability Splunk Observability ThousandEyes Collaboration Webex by Cisco Computing Intersight Explore Cisco buying programs Download software and manage licenses View all software Free trials and demos View and sign up for over 100 products and portfolio solutions for free. Explore trials and demos Back Services (CX) Close Cisco Support Cisco Professional Services Learn with Cisco View all Cisco services Discover Cisco IQ See more, move faster, go farther. Human expertise meets agentic intelligence in every Cisco Services engagement. Read the blog Get expert guidance Cisco Services can help you build the right solution for your needs with the combined power of AI, automation, and human expertise. Transform your data center Build a better workplace Close Solutions Back Solutions Close Solutions Home Artificial intelligence Cisco has the infrastructure to power AI, unmatched breadth and scale of data to feed it, and a portfolio optimized to secure it. Explore Cisco AI Campus and branch Cisco brings together Al, automation, and security into one unified architecture—built to simplify operations, scale intelligently, and protect every connection. Explore campus and branch Small and medium business Protect, connect, and empower your business with Cisco's portfolio tailored to small and medium businesses. Experience simplified IT management, efficiency, cloud-driven flexibility, and 24/7 support. Explore SMB solutions Artificial Intelligence Industries Technologies Campus and Branch Service Providers Small and Medium Business Back Artificial Intelligence Close AI-enhanced security AI-native networking operations AI-ready data centers AI at the edge AI networking in data centers Mass-scale AI infrastructure Secure AI Factory Splunk AI Webex AI Cisco AI hub Cisco AI Assistant Cisco AI Assistant combines the latest generative AI technology with our expertise to responsibly guide and inform the decisions you make every day. Explore Cisco AI Assistant Cisco AI Readiness Assessment AI readiness comprises six pillars: Strategy, Infrastructure, Data, Governance, Talent, and Culture. Is your organization AI ready? Take assessment Browse AI Readiness Index Back Industries Close Cities and Communities Education Financial Services Government Healthcare Manufacturing Mining Oil and Gas Retail Smart Buildings Sports, Media, and Entertainment Transportation Utilities View all industries Industry design guides Discover the portfolio explorer Build the bridge between business outcomes and technology with our new interactive tool. Start exploring Back Technologies Close Networking Cloud and data center networking Cloud-managed networking (Meraki) Industrial IoT Networking App Marketplace SD-WAN Smart buildings All networking solutions Computing Converged infrastructure Hybrid cloud Hyperconverged Virtual desktop infrastructure Security AI for security Data center security Hybrid Mesh Firewall Industrial security Network security Secure Access Service Edge (SASE) Secure Hybrid Work Zero trust Zero trust for agentic AI Collaboration (Webex) Camera intelligence Customer experience Event management Intelligent workspaces Interoperability IT administration Remote work Workspace designer Workspace management Back Campus and Branch Close Secure network architecture Secure campus Unified branch Industrial IoT Campus and branch design guides Back Service Providers Close Empowering your infrastructure 5G network architecture Agile Services Networking Broadband solutions Cable solutions Routed optical networking Routed PON View all service provider solutions Managed services Edge Cloud for Content Delivery IoT Control Center Mobility Services Platform Private 5G Secure access service edge (SASE) Software-defined access Secure Hybrid Work SD-WAN security Accelerate services offerings Provide outsourced IT and consulting services with a broad technology portfolio and robust partner support programs. See services options Back Small and Medium Business Close Products and solutions Networking Security Collaboration Product selector View all small and medium business solutions Buy small and medium business products online Offers and free trials Find the best solutions for your needs and try them before you buy. See all offers and free trials Close Support Back Support Close Support Home Support home Access documentation, security notices, and support tools for Cisco products. View Cisco Support Software downloads Download and manage new software, get updates or patches, or upgrade your current software to the latest release. View Software Central Licensing support Troubleshoot common licensing issues and leverage easy-to-follow documentation for both PAK-based or Smart Licenses. Get licensing support Products and Downloads Documentation Contact Support Licenses and Contracts Tools and Resources Cisco Community Back Products and Downloads Close Find products and downloads Search field edit, type in text Clear Product Support Switches Security Routers Wireless Unified Communications Collaboration endpoints and phones Networking software (IOS and NX-OS) Servers - Unified Computing (UCS) All products Downloads Secure Client 5 Identity Services Engine Software Secure Firewall Management Center Virtual Smart Software Manager Jabber for Windows Modeling Labs Catalyst 9300 Series Switches All downloads Back Documentation Close Technical documentation Configure, operate, and troubleshoot your Cisco products with configuration guides, installation guides, release notes, and more. Trust Portal Get self-service access to security, data privacy, and compliance documents. Product documentation Explore Cisco products and features to empower your purchase with data sheets, white papers, end-of-life notices, and more. Back Contact Support Close Product technical support (TAC) Open a new case (Requires a product or software support contract) Manage support cases Returns Portal (RMAs) Enterprise and Service Provider products 1-800-553-2447 US and Canada Worldwide phone numbers Small and medium business products 1-866-606-1866 US and Canada Worldwide phone numbers Back Licenses and Contracts Close Software licenses Explore key licensing resources Download and manage licenses Manage assets and entitlements Troubleshoot license issues Cisco Enterprise Agreement (EA) Manage Cisco EA licenses Learn about Cisco EA Product support contracts Manage and renew service contracts (CCW-R) Cisco Licensing Hub Enhance your Cisco licensing experience. Access now Back Tools and Resources Close Tools Bug Search Tool My Devices My Saved Content Software Research Device Coverage Checker All Support tools Notifications and advisories My Notifications Security Advisories Field Notices Cisco Cloud Status Services All Cisco Services Technology adoption Cisco Customer Success Back Cisco Community Close Community forums Technology and Support Small Business Support Developers Partners Project Gallery Cisco Insider User Group Explore Cisco Community Community events and webinars Learn from Cisco experts and engage with peers in webinars and live events. View all events and webinars Close Learn Back Learn Close Learn Home Cisco U. Access training tailored to your needs. Work toward a specific role or certification, deploy or support a technology solution, or enhance your career progress. Learn more about Cisco U. Cisco Networking Academy If you're a student, start at Cisco Networking Academy. With free courses and career guidance, your next IT job is closer than you think. Join now Events Join us to take advantage of the latest networking opportunities with Cisco customers, partners, employees, and subject-matter experts. Explore now Training and Certifications Events Webinars Technology Learning Topics Learning Resources and Assets Back Training and Certifications Close Learning Cisco Networking Academy Cisco U. Instructor-led training Cisco Modeling Labs Cisco Packet Tracer Join our community Learn with Cisco blog Learn with Cisco overview Certifications Career certifications Learn about exams Continuing Education (CE credits) Recertification Schedule an exam Track my certifications Training for organizations Enterprise Cisco Learning Credits Training catalog Partners Support Learn with Cisco support bot Back Events Close Cisco Live Partner events calendar View all events Cisco Live 2026 Melbourne Experience the education, inspiration, and fun of Cisco Live 2026 Melbourne. Register now Watch Cisco Live sessions on demand View sessions from Las Vegas in our On-Demand Library. Keynotes, Deep Dives, and Center Stage sessions are available now, with the remaining sessions added by June 19. Watch now Back Webinars Close Trending webinars AI readiness for data centers Simplify IT with SD-WAN Security transformation with Cisco XDR View all webinars McLaren Racing + Cisco Carrie Palin joins McLaren Racing F1 team CEO Zak Brown and driver Oscar Piastri as they unveil the high-tech secrets behind their team's successful 2024 season. Watch on demand Cisco webinars Discover insights that shape the future of technology. Our webinars feature experts and leaders sharing how organizations transform to connect, grow, and succeed. Explore webinars Back Technology Learning Topics Close How to set up a router What is cybersecurity? What is a firewall? What is Industry 4.0? What is IoT (Internet of Things)? What is Wi-Fi 7? What is AIOps? What is cloud security? What is hybrid cloud? What is SASE? What is software as a service (SaaS)? View all technology learning topics 2024 State of Industrial Networking Cisco's survey of more than 1000 professionals reveals how cybersecurity, IT/OT collaboration, and AI are transforming industrial networks. Get report Back Learning Resources and Assets Close Sandboxes and simulators Cisco Packet Tracer DevNet Sandbox Cisco Modeling Labs Cisco Learning Labs News and insights Blogs Cisco Community Executive perspectives Newsroom Developer resources Getting started with DevNet DevNet Tracks Python training Code exchange Developer community Videos and live streams Cisco Video Portal Architecture and design resources Cisco Validated Visio stencils Additional resources Cisco Learning Credits Cisco Multicloud training Black Belt Academy (for partners) Close Why Cisco Back Why Cisco Close Why Cisco Why Cisco Cisco creates the infrastructure you need to transform how you connect, protect, and innovate in the AI era. See the Cisco advantage Our Purpose We Power an Inclusive Future for All. Explore our Purpose Read FY25 Purpose Report Success stories Discover how Cisco technologies drive real-world success for our customers and power Cisco's own operations and innovation. Explore customer stories How we use our technology Outcomes We Deliver Working with Partners About Us Back Outcomes We Deliver Close AI-ready data centers Unleash the power of AI with data centers designed for speed, scale, and agility. Future-proofed workplaces Elevate employee and customer experiences with agile, resilient workplaces. Digital resilience Achieve always-on resilience with trusted security, observability, and assurance. Why Cisco Cisco creates the infrastructure you need to transform how you connect, protect, and innovate in the AI era. See the Cisco advantage Back Working with Partners Close Why choose Cisco partners Learn how our partner ecosystem makes it easier than ever to identify the partners to best meet your needs. Frequently asked questions (PDF) Access answers to your questions about the evolution of Cisco's partner ecosystem and new partner designations. Find a partner Explore our partner ecosystem today. A new way to find partners The Cisco Partner Locator tool has been transformed into an AI-driven hub to match, recommend, and activate partners for every customer outcome. Explore what's new Back About Us Close Overview Newsroom Leadership Purpose and sustainability Career opportunities The Trust Center Investor relations Contact us How to buy Browse options to purchase Cisco products, services, and software offerings. Visit how-to-buy hub Close Partners Close Trials and demos How to buy Partners EN US Log in Trials and demos MENU CLOSE How to buy Partners Log in EN US Search field edit, type in text Clear Speech-to-Text Search Speech-to-Text Powered By Google Speech API We didn't hear that. Try again. Speech-to-Text Search is currently unavailable Downloads Certifications Cisco Validated Training Community Support Close For Partners Partners Home Partner Program Support Tools Already a Partner? Log in Find a Cisco Partner Learn about Partners Become a Cisco Partner Close Log in Don't have an account? Sign up Close Back Country | Language Close Selected country/region: United States English All Countries / Regions North America Africa Asia Pacific Europe Greater China Latin America Middle East United States English English Africa English Français Português عربي English Français Português عربي Argentina Español Español Australia & New Zealand English English Austria Deutsch Deutsch Belgium & Luxembourg English Français Nederlands English Français Nederlands Brazil Português Português Canada English Français English Français Caribbean Español Español Chile Español Español Colombia Español Español Costa Rica Español Español Czech Republic Čeština Čeština Denmark Dansk Dansk Ecuador Español Español Egypt English عربي English عربي France Français Français Germany Deutsch Deutsch Hong Kong English 繁體中文 English 繁體中文 Hungary Magyar Magyar India English English Indonesia English English Israel English English Italy Italiano Italiano Japan 日本語 日本語 Korea 한국어 한국어 Mainland China 简体中文 简体中文 Malaysia English English Mexico Español Español Middle East English عربي English عربي Netherlands Nederlands Nederlands Norway Norsk Norsk Panama Español Español Peru Español Español Philippines English English Poland Polski Polski Portugal Português Português Romania Română Română Singapore English English South Africa English English Spain Español Español Sweden Svenska Svenska Switzerland Français Deutsch Français Deutsch Taiwan 繁體中文 繁體中文 Thailand ภาษาไทย ภาษาไทย Turkey Türkçe Türkçe Ukraine Українська Русский Українська Русский United Kingdom & Ireland English English Vietnam Việt Việt Canada English Français English Français United States English English Africa English Français Português عربي English Français Português عربي Egypt English عربي English عربي South Africa English English Australia & New Zealand English English India English English Indonesia English English Japan 日本語 日本語 Korea 한국어 한국어 Malaysia English English Philippines English English Singapore English English Thailand ภาษาไทย ภาษาไทย Vietnam Việt Việt Austria Deutsch Deutsch Belgium & Luxembourg English Français Nederlands English Français Nederlands Czech Republic Čeština Čeština Denmark Dansk Dansk France Français Français Germany Deutsch Deutsch Hungary Magyar Magyar Israel English English Italy Italiano Italiano Netherlands Nederlands Nederlands Norway Norsk Norsk Poland Polski Polski Portugal Português Português Romania Română Română Spain Español Español Sweden Svenska Svenska Switzerland Français Deutsch Français Deutsch Turkey Türkçe Türkçe Ukraine Українська Русский Українська Русский United Kingdom & Ireland English English Hong Kong English 繁體中文 English 繁體中文 Mainland China 简体中文 简体中文 Taiwan 繁體中文 繁體中文 Argentina Español Español Brazil Português Português Caribbean Español Español Chile Español Español Colombia Español Español Costa Rica Español Español Ecuador Español Español Mexico Español Español Panama Español Español Peru Español Español Middle East English عربي English عربي Close Close Cisco.com Worldwide Products and Services Solutions Support Learn Explore Cisco How to Buy Partners Home Partner Program Support Tools Find a Cisco Partner Meet our Partners Become a Cisco Partner ... Show All Breadcrumbs Home Support Product Support Routers Cisco SD-WAN Configuration Guides Cisco Catalyst SD-WAN Policies Configuration Guide, Cisco IOS XE Catalyst SD-WAN Release 17.x Bias-Free Language Bias-Free Language The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language. Book Contents Book Contents Book Title Page Read Me First What's New in Cisco IOS XE (Catalyst SD-WAN) Policy Overview Centralized Policy Localized Policy Redirect DNS in a Service-Side VPN Default AAR and QoS Policies Device Access Policy Cisco Catalyst SD-WAN Application Intelligence Engine Flow Application-Aware Routing Enhanced application-aware routing Traffic Flow Monitoring Application Performance Monitor Enhanced Policy Based Routing Forward Error Correction Feature history for packet duplication Policy Configuration Tagging Integrate Cisco IOS XE Catalyst SD-WAN Device with Cisco ACI Custom Applications Service Insertion Service Insertion for Equinix Service chaining Lawful Intercept Lawful Intercept 2.0 Troubleshoot Cisco Catalyst SD-WAN Policies Search Find Matches in This Book Save Log in to Save Content Translations Available Languages Japan - 日本語 Download Download Options Book Title Cisco Catalyst SD-WAN Policies Configuration Guide, Cisco IOS XE Catalyst SD-WAN Release 17.x Chapter Title Policy Overview PDF - Complete Book (6.95 MB) PDF - This Chapter (2.04 MB) View with Adobe Reader on a variety of devices Print Results Updated: December 19, 2025 Chapter: Policy Overview Chapter Contents Policy Overview Policy Architecture Centralized Control Policy Architecture Route Types Default Behavior Without Centralized Control Policy Behavior Changes with Centralized Control Policy Examples of Modifying Traffic Flow with Centralized Control Policy Create an Arbitrary Topology Set Up Traffic Engineering Configure Centralized Policy Based on Prefixes and IP Headers Centralized Control Policy Architecture Route Types Default Behavior Without Centralized Control Policy Behavior Changes with Centralized Control Policy Examples of Modifying Traffic Flow with Centralized Control Policy Create an Arbitrary Topology Set Up Traffic Engineering Configure Centralized Policy Based on Prefixes and IP Headers Route Types Default Behavior Without Centralized Control Policy Behavior Changes with Centralized Control Policy Examples of Modifying Traffic Flow with Centralized Control Policy Create an Arbitrary Topology Set Up Traffic Engineering Create an Arbitrary Topology Set Up Traffic Engineering Configure Centralized Policy Based on Prefixes and IP Headers Cisco Catalyst SD-WAN Controller Policy Components TLOC Attributes Used in Policies Cisco Catalyst SD-WAN Route Attributes Used in Policies TLOC Attributes Used in Policies Cisco Catalyst SD-WAN Route Attributes Used in Policies Design Cisco Catalyst SD-WAN Controller Policy Processing and Application Cisco Cisco Catalyst SD-WAN Controller Policy Operation Control Policy Data Policy Restrictions for Data Policy VPN Membership Policy Operation Control Policy Data Policy Restrictions for Data Policy Restrictions for Data Policy VPN Membership Policy Operation Configure and Execute Cisco SD-WAN Controller Policies Monitor Policy Status and Health Close Policy Overview Table 1. Feature History Feature Release Information Description Policy Enforcement Failure Cisco IOS XE Catalyst SD-WAN Release 17.18.1a Cisco Catalyst SD-WAN Manager Release 20.18.1 This feature aims to detect when a policy download fails and raises an alarm (policy-enforcement-status). Additionally, this feature introduces new service-path show commands. Policy influences the flow of data traffic and routing information among Cisco IOS XE Catalyst SD-WAN device s 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 Catalyst SD-WAN overlay network architecture clearly separates the control plane from the data plane and control between centralized and localized functions, the Cisco Catalyst SD-WAN policy is cleanly separated. Policies apply either to control plane or data plane traffic, and they are configured either centrally on Cisco SD-WAN Controller s or locally on Cisco IOS XE Catalyst SD-WAN device s. 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 Catalyst SD-WAN policy design provides a clear separation between centralized and localized policy. In short, centralized policy is provisioned on the centralized Cisco SD-WAN Controller s in the overlay network, and the localized policy is provisioned on Cisco IOS XE Catalyst SD-WAN device s, 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 SD-WAN Controller s, which are the centralized controllers in the Cisco Catalyst 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 SD-WAN Controller's route table and that is advertised to the Cisco IOS XE Catalyst SD-WAN device s. The effects of centralized control policy are seen in how Cisco IOS XE Catalyst SD-WAN device s direct the overlay network's data traffic to its destination. Note The centralized control policy configuration itself remains on the Cisco SD-WAN 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 IOS XE Catalyst SD-WAN device s. Localized Policy Localized policy refers to a policy that is provisioned locally through the CLI on the Cisco IOS XE Catalyst SD-WAN device s, or through a Cisco SD-WAN Manager 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 Catalyst 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 Catalyst 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 Catalyst SD-WAN device s, either on the centralized Cisco SD-WAN Controller s or the local Cisco IOS XE Catalyst SD-WAN device s. When control plane traffic, which distributes route information, is unpolicied: All route information that OMP propagates among the Cisco IOS XE Catalyst SD-WAN device s is shared, unmodified, among all Cisco SD-WAN Controller s and all Cisco IOS XE Catalyst SD-WAN device s in the overlay network domain. No BGP or OSPF route policies are in place to affect the route information that Cisco IOS XE Catalyst SD-WAN device s 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 Catalyst SD-WAN device's route table, and all VPNs in the overlay network can exchange data traffic. Policy Architecture Cisco Catalyst SD-WAN Controller Policy Components Design Cisco Catalyst SD-WAN Controller Policy Processing and Application Cisco Cisco Catalyst SD-WAN Controller Policy Operation Configure and Execute Cisco SD-WAN Controller Policies Monitor Policy Status and Health Policy Architecture This topic offers an orientation about the architecture of the Cisco Catalyst SD-WAN policy used to implement overlay network-wide policies. These policies are called Cisco SD-WAN Validator policy or centralized policy, because you configure them centrally on a Cisco SD-WAN Controller. Cisco SD-WAN Controller policy affects the flow of both control plane traffic (routing updates carried by Overlay Management Protocol (OMP) and used by the Cisco SD-WAN Controller s to determine the topology and status of the overlay network) and data plane traffic (data traffic that travels between the Cisco IOS XE Catalyst SD-WAN device s across the overlay network). With Cisco Catalyst SD-WAN, you can also create routing policies on the Cisco IOS XE Catalyst SD-WAN device s. These policies are simply traditional routing policies that are associated with routing protocol (BGP or OSPF) locally on the devices. You use them in the traditional sense for controlling BGP and OSPF, for example, to affect the exchange of route information, to set route attributes, and to influence path selection. Centralized Control Policy Architecture Centralized Control Policy Architecture In the Cisco IOS XE Catalyst SD-WAN network architecture, centralized control policy is handled by the Cisco SD-WAN Controller, which effectively is the routing engine of the network. The Cisco SD-WAN Controller is the centralized manager of network-wide routes, maintaining a primary route table for these routes. The Cisco SD-WAN Controller builds its route table based on the route information advertised by the Cisco IOS XE Catalyst SD-WAN device s in its domain, using these routes to discover the network topology and to determine the best paths to network destinations. The Cisco SD-WAN Controller distributes route information from its route table to the devices in its domain which in turn use these routes to forward data traffic through the network. The result of this architecture is that networking-wide routing decisions and routing policy are orchestrated by a central authority instead of being implemented hop by hop, by the devices in the network. Centralized control policy allows you to influence the network routes advertised by the Cisco SD-WAN Controller s. This type of policy, which is provisioned centrally on the Cisco SD-WAN Controller, affects both the route information that the Cisco SD-WAN Controller stores in its primary route table and the route information that it distributes to the devices. Centralized control policy is provisioned and applied only on the Cisco SD-WAN Controller. The control policy configuration itself is never pushed to devices in the overlay network. What is pushed to the devices, using the Overlay Management Protocol (OMP), are the results of the control policy, which the devices then install in their local route tables and use for forwarding data traffic. This design means that the distribution of network-wide routes is always administered centrally, using policies designed by network administrators. These policies are always implemented by centralized Cisco SD-WAN Controller s, which are responsible for orchestrating the routing decisions in the Cisco IOS XE Catalyst SD-WAN overlay network. Within a network domain, the network topology map on all Cisco SD-WAN Controller s must be synchronized. To support this, you must configure identical policies on all the Cisco SD-WAN Controller s in the domain. Figure 2. Centralized Control Policy All centralized control plane traffic, including route information, is carried by OMP peering sessions that run within the secure, permanent DTLS connections between devices and the Cisco SD-WAN Controller s in their domain. The end points of an OMP peering session are identified by the system IDs of the devices, and the peering sessions carry the site ID, which identifies the site in which the device is located. A DTLS connection and the OMP session running over it remain active as long as the two peers are operational. Control policy can be applied both inbound, to the route advertisements that the Cisco SD-WAN Controller receives from the devices, and outbound, to advertisements that it sends to them. Inbound policy controls which routes and route information are installed in the local routing database on the Cisco SD-WAN Controller, and whether this information is installed as-is or is modified. Outbound control policy is applied after a route is retrieved from the routing database, but before a Cisco SD-WAN Controller advertises it, and affects whether the route information is advertised as-is or is modified. Route Types Default Behavior Without Centralized Control Policy Behavior Changes with Centralized Control Policy Examples of Modifying Traffic Flow with Centralized Control Policy Configure Centralized Policy Based on Prefixes and IP Headers Route Types The Cisco SD-WAN Controller learns the network topology from OMP routes, which are Cisco IOS XE Catalyst SD-WAN-specific routes carried by OMP. There are three types of OMP routes: Cisco IOS XE Catalyst SD-WAN OMP routes—These routes carry prefix information that the devices learn from the routing protocols running on its local network, including routes learned from BGP and OSPF, as well as direct, connected, and static routes. OMP advertises OMP routes to the Cisco SD-WAN Controller by means of an OMP route SAFI (Subsequent Address Family Identifier). These routes are commonly simply called OMP routes. TLOC routes—These routes carry properties associated with transport locations, which are the physical points at which the devices connect to the WAN or the transport network. Properties that identify a TLOC include the IP address of the WAN interface and a color that identifies a particular traffic flow. OMP advertises TLOC routes using a TLOC SAFI. Service routes—These routes identify network services, such as firewalls and IDPs, that are available on the local-site network to which the devices are connected. OMP advertises these routes using a service SAFI. The difference in these three types of routes can be viewed by using the various show sdwan omp operational commands when you are logged in to the CLI on a Cisco SD-WAN Controller or a Cisco IOS XE Catalyst SD-WAN device. The show sdwan omp routes command displays information sorted by prefix, the show sdwan omp services command displays route information sorted by service, and the show sdwan omp tlocs command sorts route information by TLOC. Default Behavior Without Centralized Control Policy By default, no centralized control policy is provisioned on the Cisco SD-WAN Controller. This results in the following route advertisement and redistribution behavior within a domain: All Cisco IOS XE Catalyst SD-WAN device s redistribute all the route-related prefixes that they learn from their site-local network to the Cisco SD-WAN Controller. This route information is carried by OMP route advertisements that are sent over the DTLS connection between the devices and the Cisco SD-WAN Controller. If a domain contains multiple Cisco SD-WAN Controller s, the devices send all OMP route advertisements to all the controllers. All the devices send all TLOC routes to the Cisco SD-WAN Controller or controllers in their domain, using OMP. All the devices send all service routes to advertise any network services, such as firewalls and IDPs, that are available at the local site where the device is located. Again, these are carried by OMP. The Cisco SD-WAN Controller accepts all the OMP, TLOC, and service routes that it receives from all the devices in its domain, storing the information in its route table. The Cisco SD-WAN Controller tracks which OMP routes, TLOCs, and services belong to which VPNs. The Cisco SD-WAN Controller uses all the routes to develop a topology map of the network and to determine routing paths for data traffic through the overlay network. The Cisco SD-WAN Controller redistributes all information learned from the OMP, TLOC, and service routes in a particular VPN to all the devices in the same VPN. The devices regularly send route updates to the Cisco SD-WAN Controller. The Cisco SD-WAN Controller recalculates routing paths, updates its route table, and advertises new and changed routing information to all the devices. Behavior Changes with Centralized Control Policy When you do not want to redistribute all route information to all Cisco IOS XE Catalyst SD-WAN device s in a domain, or when you want to modify the route information that is stored in the Cisco Catalyst SD-WAN Controller's route table or that is advertised by the Cisco Catalyst SD-WAN Controller, you design and provision a centralized control policy. To activate the control policy, you apply it to specific sites in the overlay network in either the inbound or the outbound direction. The direction is with respect to the Cisco Catalyst SD-WAN Controller. All provisioning of centralized control policy is done on the Cisco Catalyst SD-WAN Controller. Applying a centralized control policy in the inbound direction filters or modifies the routes being advertised by the Cisco IOS XE Catalyst SD-WAN device before they are placed in the route table on the Cisco Catalyst SD-WAN Controller. As the first step in the process, routes are either accepted or rejected. Accepted routes are installed in the route table on the Cisco Catalyst SD-WAN Controller either as received or as modified by the control policy. Routes that are rejected by a control policy are silently discarded. Applying a control policy in outbound direction filters or modifies the routes that the Cisco Catalyst SD-WAN Controller redistributes to the Cisco IOS XE Catalyst SD-WAN device s. As the first step of an outbound policy, routes are either accepted or rejected. For accepted routes, centralized control policy can modify the routes before they are distributed by the Cisco Catalyst SD-WAN Controller. Routes that are rejected by an outbound policy are not advertised. VPN Membership Policy A second type of centralized data policy is VPN membership policy. It controls whether a Cisco IOS XE Catalyst SD-WAN device can participate in a particular VPN. VPN membership policy defines which VPNs of a device is allowed and which is not allowed to receive routes from. VPN membership policy can be centralized, because it affects only the packet headers and has no impact on the choice of interface that a Cisco IOS XE Catalyst SD-WAN device uses to transmit traffic. What happens instead is that if, because of a VPN membership policy, a device is not allowed to receive routes for a particular VPN, the Cisco Catalyst SD-WAN Controller never forwards those routes to that driver. Examples of Modifying Traffic Flow with Centralized Control Policy This section provides some basic examples of how you can use centralized control policies to modify the flow of data traffic through the overlay network. Create an Arbitrary Topology Set Up Traffic Engineering Create an Arbitrary Topology When data traffic is exchanged between two Cisco IOS XE Catalyst SD-WAN device s, if you have provisioned no control policy, the two devices establish an IPsec tunnel between them and the data traffic flows directly from one device to the next. For a network with only two devices or with just a small number of devices, establishing connections between each pair of devices is generally not been an issue. However, such a solution does not scale. In a network with hundreds or even thousands of branches, establishing a full mesh of IPsec tunnels tax the CPU resources of each device. Figure 3. Arbitrary Topology One way to minimize this overhead is to create a hub-and-spoke type of topology in which one of the devices acts as a hub site that receives the data traffic from all the spoke, or branch, devices and then redirects the traffic to the proper destination. This example shows one of the ways to create such a hub-and-spoke topology, which is to create a control policy that changes the address of the TLOC associated with the destination. The figure illustrates how such a policy might work. The topology has two branch locations, West and East. When no control policy is provisioned, these two devices exchange data traffic with each other directly by creating an IPsec tunnel between them (shown by the red line). Here, the route table on the Device West contains a route to Device East with a destination TLOC of 203.0.113.1, color gold (which we write as the tuple {192.0.2.1, gold}), and Device East route table has a route to the West branch with a destination TLOC of {203.0.113.1, gold}. To set up a hub-and-spoke–type topology here, we provision a control policy that causes the West and East devices to send all data packets destined for the other device to the hub device. (Remember that because control policy is always centralized, you provision it on the Cisco Catalyst SD-WAN Controller.) On the Device West, the policy simply changes the destination TLOC from {203.0.113.1, gold} to {209.165.200.225, gold}, which is the TLOC of the hub device, and on the Device East, the policy changes the destination TLOC from {192.0.2.1, gold} to the hub's TLOC, {209.165.200.225, gold}. If there were other branch sites on the west and east sides of the network that exchange data traffic, you could apply these same two control policies to have them redirect all their data traffic through the hub. Set Up Traffic Engineering Control policy allows you to design and provision traffic engineering. In a simple case, suppose that you have two devices acting as hub devices. If you want data traffic destined to a branch Cisco IOS XE Catalyst SD-WAN device to always transit through one of the hub devices, set the TLOC preference value to favor the desired hub device. Figure 4. Traffic Engineering Topology The figure shows that Site ID 100 has two hub devices, one that serves the West side of the network and a second that serves the East side. Data traffic from the Device West must be handled by the Device West hub, and similarly, data traffic from the Device East branch must go through the Device East hub. To engineer this traffic flow, you provision two control policies, one for Site ID 1, where the Device West device is located, and a second one for Site ID 2. The control policy for Site ID 1 changes the TLOC for traffic destined to the Device East to {209.165.200.225, gold}, and the control policy for Site ID 2 changes the TLOC for traffic destined for Site ID 1 to {198.51.100.1, gold}. One additional effect of this traffic engineering policy is that it load-balances the traffic traveling through the two hub devices. With such a traffic engineering policy, a route from the source device to the destination device is installed in the local route table, and traffic is sent to the destination regardless of whether the path between the source and destination devices is available. Enabling end-to-end tracking of the path to the ultimate destination allows the Cisco Catalyst SD-WAN Controller to monitor the path from the source to the destination, and to inform the source device when that path is not available. The source device can then modify or remove the path from its route table. Figure 5. Traffic Engineering 2 Note Ensure that the Traffic Engineering (TE) service is enabled on the intermediate hub to utilize the traffic engineering functionalities. The figure Traffic Engineering 2 illustrates end-to-end path tracking. It shows that traffic from Device-A that is destined for Device-D first goes to an intermediate device, Device-B, perhaps because this intermediate device provides a service, such as a firewall. (You configure this traffic engineering with a centralized control policy that is applied to Device-A, at Site 1.) Then Device-B, which has a direct path to the ultimate destination, forwards the traffic to Device-D. So, in this example, the end-to-end path between Device-A and Device-D comprises two tunnels, one between Device-A and Device-B, and the second between Device-B and Device-D. The Cisco Catalyst SD-WAN Controller tracks this end-to-end path, and it notifies Device-A if the portion of the path between Device-B and Device-D becomes unavailable. As part of end-to-end path tracking, you can specify how to forwarded traffic from the source to the ultimate destination using an intermediate device. The default method is strict forwarding, where traffic is always sent from Device-A to Device-B, regardless of whether Device-B has a direct path to Device-D or whether the tunnel between Device-B and Device-D is up. More flexible methods forward some or all traffic directly from Device-A to Device-D. You can also set up a second intermediate device to provide a redundant path with the first intermediate device is unreachable and use an ECMP method to forward traffic between the two. The figure Traffic Engineering3 adds Device-C as a redundant intermediate device. Figure 6. Traffic Engineering 3 Centralized control policy, which you configure on Cisco Catalyst SD-WAN Controller s, affects routing policy based on information in OMP routes and OMP TLOCs. In domains with multiple Cisco Catalyst SD-WAN Controller s, all the controllers must have the same centralized control policy configuration to ensure that routing within the overlay network remains stable and predictable. Configure Centralized Policy Based on Prefixes and IP Headers A centralized data policy based on source and destination prefixes and on headers in IP packets consists of a series of numbered (ordered) sequences of match-action pair that are evaluated in order, from lowest sequence number to highest sequence number. When a packet matches one of the match conditions, the associated action is taken and policy evaluation on that packets stops. Keep this in mind as you design your policies to ensure that the desired actions are taken on the items subject to policy. If a packet matches no parameters in any of the sequences in the policy configuration, it is dropped and discarded by default. Configuration Components The following figure illustrates the configuration components for a centralized data policy: Cisco Catalyst SD-WAN Controller Policy Components The Cisco SD-WAN Controller policies that implement overlay network-wide policies are implemented on a Cisco Catalyst SD-WAN Control Components. Because Cisco SD-WAN Controller s are centralized devices, you can manage and maintain Cisco SD-WAN Controller policies centrally, and you can ensure consistency in the enforcement of policies across the overlay network. The implementation of Cisco SD-WAN Controller policy is done by configuring the entire policy on the Cisco Catalyst SD-WAN Control Components. Cisco SD-WAN Controller policy configuration is accomplished with three building blocks: Lists define the targets of policy application or matching. Policy definition, or policies, controls aspects of control and forwarding. There are different types of policy, including: app-route-policy (for application-aware routing) cflowd-template (for cflowd flow monitoring) control-policy (for routing and control plane information) data-policy (for data traffic) vpn-membership-policy (for limiting the scope of traffic to specific VPNs) app-route-policy (for application-aware routing) cflowd-template (for cflowd flow monitoring) control-policy (for routing and control plane information) data-policy (for data traffic) vpn-membership-policy (for limiting the scope of traffic to specific VPNs) Policy application controls what a policy is applied towards. Policy application is site-oriented, and is defined by a specific list called a site-list. You assemble these three building blocks to Cisco SD-WAN Controller policy. More specifically, policy is the sum of one or more lists, one policy definition, and at least one policy applications, as shown in the table below. Table 2. The Three Building Blocks of Cisco SD-WAN Controller Policies Lists Policy Definition Policy Application data-prefix-list : List of prefixes for use with a data-policy prefix-list : List of prefixes for use with any other policy site-list : List of site-id:s for use in policy and apply-policy tloc-list : List of tloc:s for use in policy vpn-list : List of vpn:s for use in policy + app-route-policy : Used with sla-classes for application-aware routing cflowd-template : Configures the cflowd agents on the Cisco IOS XE Catalyst SD-WAN device s control-policy : Controls OMP routing control data-policy : Provides vpn-wide policy-based routing vpn-membership-policy : Controls vpn membership across nodes + apply-policy : Used with a site-list to determine where policies are applied = Complete policy definition configured on Cisco SD-WAN Controller and enforced either on Cisco SD-WAN Controller or on Cisco IOS XE Catalyst SD-WAN device s. Lists Lists are how you group related items so that you can reference them all together. Examples of items you put in lists are prefixes, TLOCs, VPNs, and overlay network sites. In the Cisco SD-WAN Controller policy, you invoke lists in two places: when you create a policy definition and when you apply a policy. Separating the definition of the related items from the definition of policy means that when you can add or remove items from a lists, you make the changes only in a single place: You do not have to make the changes through the policy definition. So if you add ten sites to your network and you want to apply an existing policy to them, you simply add the site identifiers to the site list. You can also change policy rules without having to manually modify the prefixes, VPNs, or other things that the rules apply to. Table 3. List Types List type Usage data-prefix-list Used in data-policy to define prefix and upper layer ports, either individually or jointly, for traffic matching. prefix-list Used in control-policy to define prefixes for matching RIB entries. site-list Used in control-policy to match source sites, and in apply-policy to define sites for policy application. tloc-list Used in control-policy to define TLOCs for matching RIB entries and to apply redefined TLOCs to vRoutes. vpn-list Used in control-policy to define prefixes for matching RIB entries, and in data-policy and app-route-policy to define VPNs for policy application. The following configuration shows the types of Cisco SD-WAN Controller policy lists: Policy Definition The policy definition is where you create the policy rules. You specify match conditions (route-related properties for control policy and data-related fields for data policy) and actions to perform when a match occurs. A policy contains match–action pairings that are numbered and that are examined in sequential order. When a match occurs, the action is performed, and the policy analysis on that route or packet terminates. Some types of policy definitions apply only to specific VPNs. Table 4. Policy Types Policy type Usage policy-type Can be control-policy, data-policy, or vpn-menbership—dictates the type of policy. Each type has a particular syntax and a particular set of match conditions and settable actions. vpn-list Used by data-policy and app-route-policy to list the VPNs for which the policy is applicable. sequence Defines each sequential step of the policy by sequence number. match Decides what entity to match on in the specific policy sequence. action Determines the action that corresponds to the preceding match statement. default-action Action to take for any entity that is not matched in any sequence of the policy. By default, the action is set to reject. The following configuration shows the components of the Cisco SD-WAN Controller policy definition. These items are listed in the logical order you should use when designing policy, and this order is also how the items are displayed in the configuration, regardless of the order in which you add them to the configuration. Policy Application The following are the configuration components: Component Usage site-list Determines the sites to which a given policy is applies. The direction ( in | out) applies only to control-policy. policy-type The policy type can be control-policy, data-policy, or vpn-membership—and name refer to an already configured policy to be applied to the sites specified in the site-list for the section. For a policy definition to take effect, you associate it with sites in the overlay network. Policy Example For a complete policy, which consists of lists, policy definition, and policy application. The example illustrated below creates two lists (a site-list and a tloc-list), defines one policy (a control policy), and applies the policy to the site-list. In the figure, the items are listed as they are presented in the node configuration. In a normal configuration process, you create lists first (group together all the things you want to use), then define the policy itself (define what things you want to do), and finally apply the policy (specify the sites that the configured policy affects). TLOC Attributes Used in Policies Cisco Catalyst SD-WAN Route Attributes Used in Policies TLOC Attributes Used in Policies A transport location, or TLOC, defines a specific interface in the overlay network. Each TLOC consists of a set of attributes that are exchanged in OMP updates among the Cisco IOS XE Catalyst SD-WAN device s. Each TLOC is uniquely identified by a 3-tuple of IP address, color, and encapsulation. Other attributes can be associated with a TLOC. The TLOC attributes listed below can be matched or set in Cisco SD-WAN Controller policies. Table 5. TLOC Attribute Function Application Point Set By Application Point Modify By Address (IP address) system-ip address of the source device on which the interface is located. Configuration on source device control-policy data-policy Carrier Identifier of the carrier type. It primarily indicates whether the transport is public or private. Configuration on source device control-policy Color Identifier of the TLOC type. Configuration on source device control-policy data-policy Domain ID Identifier of the overlay network domain. Configuration on source device control-policy Encapsulation Tunnel encapsulation, either IPsec or GRE. Configuration on source device control-policy data-policy Originator system-ip address of originating node. Configuration on any originator control-policy Preference OMP path-selection preference. A higher value is a more preferred path. Configuration on source device control-policy Site ID Identification for a give site. A site can have multiple nodes or TLOCs. Configuration on source device control-policy Tag Identifier of TLOC on any arbitrary basis. Configuration on source device control-policy Cisco Catalyst SD-WAN Route Attributes Used in Policies A Cisco Catalyst SD-WAN route, defines a route in the overlay network and is similar to a standard IP route, has a TLOC and VPN attributes. The Cisco IOS XE Catalyst SD-WAN device s exchange routes in OMP updates. The routes attributes listed below can be matched or set in Cisco SD-WAN Controller policies. Table 6. Route Attribute Function Application Point Set By Application Point Modify By Origin Source of the route, either BGP, OSPF, connected, static. Match origin command is available only for Cisco vEdge device s but not on Cisco IOS XE Catalyst SD-WAN device s. Source device control-policy Originator Source of the update carrying the route. Any originator control-policy Preference OMP path-selection preference. A higher value is a more preferred path. Configuration on source device or policy control-policy Service Advertised service associated with the route. Configuration on source device control-policy Site ID Identifier for a give site. A site can have multiple nodes or TLOCs. Configuration on source device control-policy Tag Identification on any arbitrary basis. Configuration on source device control-policy TLOC TLOC used as next hop for the route. Configuration on source device or policy control-policy data-policy VPN VPN to which the route belongs. Configuration on source device or policy control-policy data-policy Design Cisco Catalyst SD-WAN Controller Policy Processing and Application Understanding how a Cisco SD-WAN Controller policy is processed and applied allows for proper design of policy and evaluation of how policy is implemented across the overlay network. Policy is processed as follows: A policy definition consists of a numbered, ordered sequence of match–action pairings. Within each policy, the pairings are processed in sequential order, starting with the lowest number and incrementing. As soon as a match occurs, the matched entity is subject to the configured action of the sequence and is then no longer subject to continued processing. Any entity not matched in a sequence is subject to the default action for the policy. By default, this action is reject. Cisco SD-WAN Controller policy is applied on a per-site-list basis, so: When applying policy to a site-list, you can apply only one of each type of policy. For example, you can have one control-policy and one data-policy, or one control-policy in and one control-policy out. You cannot have two data policies or two outbound control policies. Because a site-list is a grouping of many sites, you should be careful about including a site in more than one site-list. When the site-list includes a range of site identifiers, ensure that there is no overlap. If the same site is part of two site-lists and the same type of policy is applied to both site-lists, the policy behavior is unpredictable and possibly catastrophic. Control-policy is unidirectional, being applied either inbound to the Cisco SD-WAN Controller or outbound from it. When control-policy is needed in both directions, configure two control policies. Data-policy is bidirectional and can be applied either to traffic received from the service side of the Cisco IOS XE Catalyst SD-WAN device, traffic received from the tunnel side, or all of these combinations. VPN membership policy is always applied to traffic outbound from the Cisco SD-WAN Controller. Control-policy remains on the Cisco SD-WAN Controller and affects routes that the controller sends and receives. Data-policy is sent to either the Cisco IOS XE Catalyst SD-WAN device s in the site-list. The policy is sent in OMP updates, and it affects the data traffic that the devices send and receive. When any node in the overlay network makes a routing decision, it uses any and all available routing information. In the overlay network, it is the Cisco Catalyst SD-WAN Controller that distributes routing information to the Cisco IOS XE Catalyst SD-WAN device nodes. In a network deployment that has two or more Cisco Catalyst SD-WAN Controller s, each controller acts independently to disseminate routing information to other Cisco SD-WAN Controller s and to Cisco IOS XE Catalyst SD-WAN device s in the overlay network. So, to ensure that the Cisco SD-WAN Controller policy has the desired effect in the overlay network, each Cisco SD-WAN Controller must be configured with the same policy, and the policy must be applied identically. For any given policy, you must configure the identical policy and apply it identically across all the Cisco SD-WAN Controller s. Note When you deploy a policy, the deployment status is updated only for 30 minutes, which is the timeout limit for policies. After the timeout period, the deployment task status is not monitored. If you are deploying a bigger policy with more number of lines, and if it takes more than 30 minutes, the task status will not be monitored. Cisco Cisco Catalyst SD-WAN Controller Policy Operation At a high level, control policy operates on routing information, which in the Cisco IOS XE Catalyst SD-WAN network is carried in OMP updates. Data policy affects data traffic, and VPN membership controls the distribution of VPN routing tables. The basic Cisco SD-WAN Controller policies are: Control Policy Data Policy VPN Membership Control Policy Data Policy VPN Membership Policy Operation Control Policy Control policy, which is similar to standard routing policy, operates on routes and routing information in the control plane of the overlay network. Centralized control policy, which is provisioned on the Cisco SD-WAN Controller, is the Cisco Catalyst SD-WAN technique for customizing network-wide routing decisions that determine or influence routing paths through the overlay network. Local control policy, which is provisioned on a Cisco IOS XE Catalyst SD-WAN device, allows customization of routing decisions made by BGP and OSPF on site-local branch or enterprise networks. The routing information that forms the basis of centralized control policy is carried in Cisco IOS XE Catalyst SD-WAN route advertisements, which are transmitted on the DTLS or TLS control connections between Cisco SD-WAN Controller s and Cisco IOS XE Catalyst SD-WAN device s. Centralized control policy determines which routes and route information are placed into the centralized route table on the Cisco SD-WAN Controller and which routes and route information are advertised to the Cisco IOS XE Catalyst SD-WAN device s in the overlay network. Basic centralized control policy establish traffic engineering, to set the path that traffic takes through the network. Advanced control policy supports a number of features, which allows Cisco IOS XE Catalyst SD-WAN device s in the overlay network to share network services, such as firewalls and load balancers. Centralized control policy affects the OMP routes that are distributed by the Cisco SD-WAN Controller throughout the overlay network. The Cisco SD-WAN Controller learns the overlay network topology from OMP routes that are advertised by the Cisco IOS XE Catalyst SD-WAN device s over the OMP sessions inside the DTLS or TLS connections between the Cisco SD-WAN Controller and the devices. Three types of OMP routes carry the information that the Cisco SD-WAN Controller uses to determine the network topology: Cisco Catalyst SD-WAN OMP routes, which are similar to IP route advertisements, advertise routing information that the devices have learned from their local site and the local routing protocols (BGP and OSPF) to the Cisco SD-WAN Controller. These routes are also referred to as OMP routes or Routes. TLOC routes carry overlay network–specific locator properties, including the IP address of the interface that connects to the transport network, a link color, which identifies a traffic flow, and the encapsulation type. (A TLOC, or transport location, is the physical location where a Cisco IOS XE Catalyst SD-WAN device connects to a transport network. It is identified primarily by IP address, link color, and encapsulation, but a number of other properties are associated with a TLOC.) Service routes advertise the network services, such as firewalls, available to VPN members at the local site. Figure 7. Control Policy Topology By default, no centralized control policy is provisioned. In this bare, unpolicied network, all OMP routes are placed in the Cisco SD-WAN Controller's route table as is, and the Cisco SD-WAN Controller advertises all OMP routes, as is, to all the devices in the same VPN in the network domain. By provisioning centralized control policy, you can affect which OMP routes are placed in the Cisco SD-WAN Controller's route table, what route information is advertised to the devices, and whether the OMP routes are modified before being put into the route table or before being advertised. Cisco IOS XE Catalyst SD-WAN device s place all the route information learned from the Cisco SD-WAN Controller s, as is, into their local route tables, for use when forwarding data traffic. Because the Cisco SD-WAN Controller's role is to be the centralized routing system in the network, Cisco IOS XE Catalyst SD-WAN device s can never modify the OMP route information that they learn from the Cisco SD-WAN Controller s. The Cisco SD-WAN Controller regularly receives OMP route advertisements from the devices and, after recalculating and updating the routing paths through the overlay network, it advertises new routing information to the devices. The centralized control policy that you provision on the Cisco SD-WAN Controller remains on the Cisco SD-WAN Controller and is never downloaded to the devices. However, the routing decisions that result from centralized control policy are passed to the devices in the form of route advertisements, and so the affect of the control policy is reflected in how the devices direct data traffic to its destination. Localized control policy, which is provisioned locally on the devices, is called route policy. This policy is similar to the routing policies that you configure on a regular driver, allowing you to modify the BGP and OSPF routing behavior on the site-local network. Whereas centralized control policy affects the routing behavior across the entire overlay network, route policy applies only to routing at the local branch. The Cisco IOS XE Catalyst SD-WAN devices periodically exchange OMP updates, which carry routing information pertaining to the overlay network. Two of the things that these updates contain are Route attributes and Transport Locations (TLOC) attributes. The Cisco SD-WAN Controller uses these attributes from the OMP updates to determine the topology and status of the overlay network, and installs routing information about the overlay network into its route table. The controller then advertises the overlay topology to the Cisco IOS XE Catalyst SD-WAN device s in the network by sending OMP updates to them. Control policy examines the Route and TLOC attributes carried in OMP updates and can modify attributes that match the policy. Any changes that results from control policy are applied directionally, either inbound or outbound. The figure shows a control-policy named prefer_local that is configured on a Cisco SD-WAN Controller and that is applied to Site 1 (via site-list list1) and to Site 2 (via site-list list2). Figure 8. Control Policy Topology The upper left arrow shows that the policy is applied to Site 1—more specifically, to site-list list1, which contains an entry for Site 1. The command control-policy prefer_local in is used to apply the policy to OMP updates that are coming in to the Cisco SD-WAN Controller from the Cisco IOS XE Catalyst SD-WAN device, which is inbound from the perspective of the controller. The in keyword indicates an inbound policy. So, for all OMP updates that the Site 1 devices send to the Cisco SD-WAN Controller, the "prefer_local" control policy is applied before the updates reach the route table on the Cisco SD-WAN Controller. If any Route or TLOC attributes in an OMP update match the policy, any changes that result from the policy actions occur before the Cisco SD-WAN Controller installs the OMP update information into its route table. The route table on the Cisco SD-WAN Controller is used to determine the topology of the overlay network. The Cisco SD-WAN Controller then distributes this topology information, again via OMP updates, to all the devices in the network. Because applying policy in the inbound direction influences the information available to the Cisco SD-WAN Controller. It determines the network topology and network reachablity, modifying Route and TLOC attributes before they are placed in the controller's route table. On the right side of the figure above, the "prefer_local" policy is applied to Site 2 via the control-policy prefer_local out command. The out keyword in the command indicates an outbound policy, which means that the policy is applied to OMP updates that the Cisco SD-WAN Controller is sending to the devices at Site 2. Any changes that result from the policy occur, after the information from the Cisco SD-WAN Controller's route table is placed in to an OMP update and before the devices receive the update. Again, note that the direction is outbound from the perpspective of the Cisco SD-WAN Controller. In contrast to an inbound policy, which affects the centralized route table on the Cisco SD-WAN Controller and has a broad effect on the route attributes advertised to all the devices in the overlay network. A control policy applied in the outbound direction influences only the route tables on the individual devices included in the site-list. The same control policy (the prefer_local policy) is applied to both the inbound and outbound OMP updates. However, the effects of applying the same policy to inbound and outbound are different. The usage shown in the figure illustrates the flexibility of the Cisco IOS XE Catalyst SD-WAN control policy design architecture and configuration. Data Policy Data policy influences the flow of data traffic traversing the network based either on fields in the IP header of packets or the router interface on which the traffic is being transmitted or received. Data traffic travels over the IPsec connections between Cisco IOS XE Catalyst SD-WAN device s, shown in purple in the adjacent figure. The Cisco IOS XE Catalyst SD-WAN architecture implements two types of data policy: Centralized data policy controls the flow of data traffic based on the source and destination addresses and ports and DSCP fields in the packet's IP header (referred to as a 5-tuple), and based on network segmentation and VPN membership. These types of data policy are provisioned centrally, on the Cisco SD-WAN Controller, and they affect traffic flow across the entire network. Localized data policy controls the flow of data traffic into and out of interfaces and interface queues on a Cisco IOS XE Catalyst SD-WAN device. This type of data policy is provisioned locally using access lists. It allows you to classify traffic and map different classes to different queues. It also allows you to mirror traffic and to police the rate at which data traffic is transmitted and received. By default, no centralized data policy is provisioned. The result is that all prefixes within a VPN are reachable from anywhere in the VPN. Provisioning centralized data policy allows you to apply a 6-tuple filter that controls access between sources and destinations. As with centralized control policy, you provision a centralized data policy on the Cisco SD-WAN Controller, and that configuration remains on the Cisco SD-WAN Controller. The effects of data policy are reflected in how the Cisco IOS XE Catalyst SD-WAN device s direct data traffic to its destination. Unlike control policy, however, centralized data polices are pushed to the devices in a read-only fashion. They are not added to the router's configuration file, but you can view them from the CLI on the router. With no access lists provisioned on a Cisco IOS XE Catalyst SD-WAN device, all data traffic is transmitted at line rate and with equal importance, using one of the interface's queues. Using access lists, you can provision class of service, which allows you to classify data traffic by importance, spread it across different interface queues, and control the rate at which different classes of traffic are transmitted. You can provision policing. Data policy examines fields in the headers of data packets, looking at the source and destination addresses and ports, and the protocol and DSCP values, and for matching packets, it can modify the next hop in a variety of ways or apply a policer to the packets. Data policy is configured and applied on the Cisco SD-WAN Controller, and then it is carried in OMP updates to the Cisco IOS XE Catalyst SD-WAN device s in the site-list that the policy is applied to. The match operation and any resultant actions are performed on the devices as it transmits or receives data traffic. In the Data Policy Topology figure, a data policy named “change_next_hop” is applied to a list of sites that includes Site 3. The OMP update that the Cisco SD-WAN Controller sends to the devices at Site 3 includes this policy definition. When the device sends or receives data traffic that matches the policy, it changes the next hop to the specified TLOC. Non-matching traffic is forwarded to the original next-hop TLOC. Figure 9. Data Policy Topology In the apply-policy command for a data policy, specify a direction from the perspective of the device. The "all" direction in the figure applies the policy to incoming and outgoing data traffic transiting the tunnel interface. You can limit the span of the policy to only incoming traffic with a data-policy change_next_hop from-tunnel command or to only outgoing traffic with a data-policy change_next_hop from-service command. Restrictions for Data Policy Restrictions for Data Policy You can apply only one data policy per site in each direction on Cisco SD-WAN Controller regardless of the number of VPNs configured. Supported directions: From-service From-tunnel All- this direction represents both from-service and from-tunnel traffic. Supported configurations: You can use any one of the following: One data policy for from-service direction and One data policy for from-tunnel direction, or One data policy for all direction. Unsupported configurations: One data policy for from-service and another for all at the same site. One data policy for from-tunnel and another for all at the same site. Applying multiple data policies in the same direction at a site is not supported and can result in unintended behavior. VPN Membership Policy Operation VPN membership policy, as the name implies, affects the VPN route tables that are distributed to particular Cisco IOS XE Catalyst SD-WAN device s. In an overlay network with no VPN membership policy, the Cisco Catalyst SD-WAN Controller pushes the routes for all VPNs to all the devices. If your business usage model restricts participation of specific devices in particular VPNs, a VPN membership policy is used to enforce this restriction. The figure VPN Membership Topology illustrates how VPN membership policy works. This topology has three Cisco IOS XE Catalyst SD-WAN device s: The Cisco IOS XE Catalyst SD-WAN device s at Sites 1 and 2 service only VPN 2. The Cisco IOS XE Catalyst SD-WAN device s at Site 3 services both VPN 1 and VPN 2. In the figure, the device at Site 3 receives all route updates from the Cisco SD-WAN Controller, because these updates are for both VPN 1 and VPN 2. However, because the other Cisco IOS XE Catalyst SD-WAN device s service only VPN 2, it can filter the route updates sent to them, remove the routes associated with VPN 1 and sends only the ones that apply to VPN 2. Figure 10. VPN Membership Topology Notice that here, direction is not set when applying VPN membership policy. The Cisco SD-WAN Controller always applies this type of policy to the OMP updates that it sends outside to the Cisco IOS XE Catalyst SD-WAN device s. Configure and Execute Cisco SD-WAN Controller Policies All Cisco SD-WAN Controller policies are configured on the Cisco IOS XE Catalyst SD-WAN device s, using a combination of policy definition and lists. All Cisco SD-WAN Controller policies are also applied on the Cisco IOS XE Catalyst SD-WAN device s, with a combination of apply-policy and lists. However, where the actual Cisco SD-WAN Controller policy executes depends on the type of policy, as shown in this figure: Figure 11. Cisco SD-WAN Controller Policy For control policy and VPN membership policy, the entire policy configuration remains on the Cisco SD-WAN Controller, and the actions taken as a result of routes or VPNs that match a policy are performed on the Cisco SD-WAN Controller. For the other three policy types—application-aware routing, cflowd templates, and data policy—the policies are transmitted in OMP updates to the Cisco IOS XE Catalyst SD-WAN device s, and any actions taken as a result of the policies are performed on the devices. Monitor Policy Status and Health Service-Path Show Commands Back to Top Back to Top Was this Document Helpful? Yes No [ Feedback](javascript: void(0);) Customers Also Viewed Cisco Catalyst SD-WAN Policies Configuration Guide, Cisco IOS XE Catalyst SD-WAN Release 17.x --- Centralized Policy Cisco Catalyst SD-WAN Policies Configuration Guide, Cisco IOS XE Catalyst SD-WAN Release 17.x --- Application-Aware Routing Cisco Catalyst SD-WAN Policies Configuration Guide, Cisco IOS XE Catalyst SD-WAN Release 17.x --- Localized Policy Upgrade SD-WAN Controllers with the Use of vManage GUI or CLI Cisco Catalyst SD-WAN Getting Started Guide --- Cisco Catalyst SD-WAN Overlay Network Bring-Up Process Show 2 More Contact Cisco Open a Support Caselogin required (Requires a Cisco Service Contract) Quick Links About Cisco Contact Us Careers Connect with a partner Resources and Legal Feedback Help Terms & Conditions Privacy Cookies / Do not sell or share my personal data Accessibility Trademarks Supply Chain Transparency Newsroom Sitemap © 2026 Cisco Systems, Inc. By continuing to use our website, you acknowledge the use of cookies. Privacy Statement Change Settings Consent Manager Your opt out preference signal is honored. Consent Manager Your Privacy Your Privacy When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. From the list on left, please choose whether this site may use Performance and/or Targeting Cookies. By selecting Strictly Necessary Cookies only, you are requesting Cisco not to sell or share your personal data. Note, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Strictly Necessary Cookies Strictly Necessary Cookies Always Active These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information. Cookies Details Performance Cookies Performance Cookies [x] Performance Cookies These cookies provide metrics related to the performance and usability of our site. They are primarily focused on gathering information about how you interact with our site, including: page load times, response times, error messages, and allowing a replay of a visitor's interactions with our site, which enables us to review and analyze visitor behavior, helping to improve site usability and functionality. These cookies also allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. If you do not allow these cookies we will not know when you have visited our site and will not be able to monitor its performance. Cookies Details Targeting Cookies Targeting Cookies [x] Targeting Cookies These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Cookies Details Functional Cookies Functional Cookies [x] Functional Cookies These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly. Cookies Details Cookie List Consent Leg.Interest [-] checkbox label label [-] checkbox label label [-] checkbox label label Clear [-] checkbox label label Apply Cancel Save Settings Allow All Building Preview ...