Segment Routing Configuration Guide, Cisco IOS XE 17 | Access and Edge Routers - Segment Routing over IPv6 [Cisco IOS XE 17] - 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 Cisco IOS and NX-OS Software Cisco IOS XE 17 Configuration Guides Segment Routing Configuration Guide, Cisco IOS XE 17 | Access and Edge Routers 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 Introduction to Segment Routing for the MPLS Dataplane Segment Routing with IS-IS v4 Node SID IS-IS Link-protection Topology Independent Loop Free Alternate Fast Reroute Segment Routing Traffic Engineering With IS-IS Segment Routing With OSPFv2 Node SID OSPFv2 Link-protection Topology Independent Loop Free Alternate Fast Reroute Segment Routing Traffic Engineering With OSPF BGP Dynamic Segment Routing Traffic Engineering Segment Routing On Demand Next Hop for L3/L3VPN Segment Routing On Demand for L2VPN/VPWS Fast Convergence Default Optimize Routing Information Base Support SR-TE On Demand LSP Segment Routing MPLS OAM Support Using Seamless BFD with Segment Routing Using SSPF with Segment Routing Dynamic PCC SR: PCE Initiated LSPs ISIS - SR: uLoop Avoidance BGP - SR: BGP Prefix SID Redistribution Advertise Maximum SID Depth by IS-IS and OSPF to BGP-LS RSVP-TE Protection using Segment Routing Traffic Engineering AutoTunnel ISIS Manual Adjacency SID OSPF Manual Adjacency SID OSPFv2 Segment Routing Strict SPF Segment Routing OSPFv2 Microloop Avoidance Performance Measurement for Traffic Engineering Configure Performance Measurement IP Endpoint Delay Measurement and Liveness Monitoring SR-TE Per-Flow (Class) ODN and Automated Steering (PCE Delegated) Advertisement of Loopback Prefix SIDs of a Border Router in Multiple ISIS Domains Traffic Steering by Dropping Invalid Paths Configuring the Cisco ISIS Local Unequal Cost Multipath (UCMP) Enabling Segment Routing Flexible Algorithm L2VPN over SR-TE Preferred Path COE-PCE Initiated SR Policy with IGP Autoroute Announce DC-PE Router in Cisco ACI to SR-MPLS Hand-off Segment Routing over IPv6 ISIS - SRv6: uLoop Avoidance IPv6 Loop-Free Alternate Fast Reroute IS-IS SRv6 Link-protection Topology Independent Loop Free Alternate Fast Reroute SRv6 Flex-Algo with TI-LFA and uLoop Avoidance SRv6 Path MTU Discovery on IOS XE devices MVPN ingress replication over SRv6 Search Find Matches in This Book Save Log in to Save Content Translations Available Languages Japan - 日本語 Print Results Updated: August 26, 2024 Chapter: Segment Routing over IPv6 Chapter Contents Segment Routing over IPv6 Segment Routing over IPv6 Feature Information Restrictions for SRv6 Information About SRv6 SRv6 Micro-Segment (uSID) SRv6 Implementation Supported Platforms Feature Information Restrictions for SRv6 Information About SRv6 SRv6 Micro-Segment (uSID) SRv6 Implementation Supported Platforms SRv6 Micro-Segment (uSID) SRv6 Implementation Supported Platforms Configuring SRv6 Configuring SRv6 Verifying SRv6 Configuration Configuring SRv6 Verifying SRv6 Configuration SRv6 under IS-IS SRv6 under IS-IS Information About SRv6 under IS-IS Configuring SRv6 under IS-IS Verifying SRv6 IS-IS Configuration SRv6 under IS-IS Information About SRv6 under IS-IS Configuring SRv6 under IS-IS Verifying SRv6 IS-IS Configuration SRv6 BGP-Based Services SRv6 BGP-Based Services Restrictions for SRv6 BGP-Based Services Information About SRv6 BGP-Based Services SRv6 Based L3VPN Configuring SRv6 based L3VPN SRv6 eBGP Inter-AS eBGP SRv6 Inter-AS Nexthop-Self/Changed BGP SRv6 Inter-AS Nexthop Unchanged Configure SRv6 eBGP Inter-AS Nexthop Unchanged Configure SRv6 eBGP Inter-AS Nexthop Unchanged Verify SRv6 eBGP Inter-AS BGP MPLS and SRv6 Co-Existence Configuring MPLS and SRv6 Coexistence for L3VPN Verifying SRv6 State Troubleshooting and Debugging SRv6 BGP SRv6 BGP-Based Services Restrictions for SRv6 BGP-Based Services Information About SRv6 BGP-Based Services Restrictions for SRv6 BGP-Based Services Information About SRv6 BGP-Based Services SRv6 Based L3VPN Configuring SRv6 based L3VPN SRv6 eBGP Inter-AS eBGP SRv6 Inter-AS Nexthop-Self/Changed BGP SRv6 Inter-AS Nexthop Unchanged Configure SRv6 eBGP Inter-AS Nexthop Unchanged Configure SRv6 eBGP Inter-AS Nexthop Unchanged Verify SRv6 eBGP Inter-AS Configuring SRv6 based L3VPN SRv6 eBGP Inter-AS eBGP SRv6 Inter-AS Nexthop-Self/Changed BGP SRv6 Inter-AS Nexthop Unchanged Configure SRv6 eBGP Inter-AS Nexthop Unchanged Configure SRv6 eBGP Inter-AS Nexthop Unchanged Verify SRv6 eBGP Inter-AS eBGP SRv6 Inter-AS Nexthop-Self/Changed BGP SRv6 Inter-AS Nexthop Unchanged Configure SRv6 eBGP Inter-AS Nexthop Unchanged Configure SRv6 eBGP Inter-AS Nexthop Unchanged Verify SRv6 eBGP Inter-AS BGP MPLS and SRv6 Co-Existence Configuring MPLS and SRv6 Coexistence for L3VPN Configuring MPLS and SRv6 Coexistence for L3VPN Verifying SRv6 State Troubleshooting and Debugging SRv6 BGP BGP SRv6 L3VPN On-Demand Next-Hop BGP SRv6L3VPN On-Demand Next-Hop Prerequisites for BGP SRv6 L3VPN ODN Information About BGP SRv6L3VPN ODN BGP Color Extended Community and VRF Prefix Coloring Configuring SRv6 L3VPN ODN Configuring SRv6 ODN Color Template Verifying SRv6 L3VPN ODN Configuration Debugging SRv6 L3VPN ODN Configuration BGP SRv6L3VPN On-Demand Next-Hop Prerequisites for BGP SRv6 L3VPN ODN Information About BGP SRv6L3VPN ODN BGP Color Extended Community and VRF Prefix Coloring Configuring SRv6 L3VPN ODN Configuring SRv6 ODN Color Template Verifying SRv6 L3VPN ODN Configuration Debugging SRv6 L3VPN ODN Configuration Prerequisites for BGP SRv6 L3VPN ODN Information About BGP SRv6L3VPN ODN BGP Color Extended Community and VRF Prefix Coloring BGP Color Extended Community and VRF Prefix Coloring Configuring SRv6 L3VPN ODN Configuring SRv6 ODN Color Template Verifying SRv6 L3VPN ODN Configuration Debugging SRv6 L3VPN ODN Configuration SRv6 Traffic Engineering Policies SRv6 Traffic Engineering Policies Restrictions for SRv6-TE Policies Information About SRv6-TE Policies Configuring SRv6-TE Verifying SRv6-TE Configuration Troubleshooting and Debugging SRv6-TE SRv6 Traffic Engineering Policies Restrictions for SRv6-TE Policies Information About SRv6-TE Policies Configuring SRv6-TE Verifying SRv6-TE Configuration Troubleshooting and Debugging SRv6-TE Restrictions for SRv6-TE Policies Information About SRv6-TE Policies Configuring SRv6-TE Verifying SRv6-TE Configuration Troubleshooting and Debugging SRv6-TE Performance Measurement for SRv6 Performance Measurement for SRv6 Performance Measurement Liveness for SRv6 Configuring PM Liveness for SRv6 Verifying Performance Measurement for SRv6 Performance Measurement for SRv6 Performance Measurement Liveness for SRv6 Configuring PM Liveness for SRv6 Verifying Performance Measurement for SRv6 Performance Measurement Liveness for SRv6 Configuring PM Liveness for SRv6 Verifying Performance Measurement for SRv6 SRv6 OAM SRv6 Operations, Administration, and Maintenance Restrictions for SRv6 Information About SRv6 OAM Operating SRv6 OAM Support for SRv6 OAM-TE Troubleshooting and Debugging SRv6 OAM-TE SRv6 Operations, Administration, and Maintenance Restrictions for SRv6 Information About SRv6 OAM Operating SRv6 OAM Restrictions for SRv6 Information About SRv6 OAM Operating SRv6 OAM Support for SRv6 OAM-TE Troubleshooting and Debugging SRv6 OAM-TE Close Segment Routing over IPv6 Segment Routing (SR) can be applied on both MPLS and IPv6 dataplanes. From Cisco IOS XE 17.12.1a, Segment Routing over IPv6 (SRv6) extends Segment Routing support over the IPv6 dataplane. Segment Routing over IPv6 Feature Information Table 1. Feature Information Table for SRv6 Feature Name Release Description Segment Routing over IPv6 Dataplane Cisco IOS XE Release 17.12.1a Segment Routing (SR) can currently be applied on Multiprotocol Label Switching (MPLS) dataplane. From Cisco IOS XE 17.12.1a, SR is supported over the IPv6 dataplane for the following protocols: Interior Gateway Protocol (IS-IS only) Border Gateway Protocol (BGP) In addition, the following functionalities are available for Segment Routing over IPv6 dataplane: Segment Routing Traffic Engineering Policies Static Routes Performance Management Operations, Administration and Maintenance (OAM) BGP SRv6L3VPN On-Demand Next-Hop CiscoIOS XE Release 17.13.1a This feature was introduced. Enhancements to SRv6 CiscoIOS XE Release 17.16.1a The following features were introduced: eBGP Inter-AS PCE-Delegated Path Computation Enhancements to OAM Traffic Engineering Note For information about supported platforms for each feature and release, see Supported Platforms. Restrictions for SRv6 Cisco IOS XE supports uSIDs with 32-bit uSID block and 16-bit uSID IDs (3216). This format must be used for uSID locators in a SRv6 uSID domain. Cisco IOS XE supports up to 10 uSID locators. Cisco IOS XE supports the following SRv6 uSID behaviors and variants: uN with PSP/USD uA with PSP/USD uDT4 uDT6 uDT46 uN with PSP/USD uA with PSP/USD uDT4 uDT6 uDT46 Cisco IOS XE supports H.Encaps.Red SRv6 policy headend behavior. Information About SRv6 In an SR-MPLS enabled network, an MPLS label represents an instruction. The source nodes program the path to a destination in the packet header as a stack of labels. SRv6 introduces the Network Programming framework that enables a network operator or an application to specify a packet processing program by encoding a sequence of instructions in the IPv6 packet header. Each instruction is implemented on one or several nodes in the network and identified by an SRv6 Segment Identifier (SID) in the packet. The SRv6 Network Programming framework is defined in IETF RFC 8986 SRv6 Network Programming. In SRv6, an IPv6 address represents an instruction. SRv6 uses a new type of IPv6 Routing Extension Header, called the Segment Routing Header (SRH), in order to encode an ordered list of instructions. The active segment is indicated by the destination address of the packet, and the next segment is indicated by a pointer in the SRH. Figure 1. Network Program in the Packet Header The SRv6 SRH is documented in IETF RFC 8754 IPv6 Segment Routing Header (SRH). SRv6 Node Roles The SRv6 Node Roles are documented in the IETF RFC 8754 IPv6 Segment Routing Header (SRH). SRv6 Head-End Behaviors The SRv6 Head-end with Encapsulation behaviors are documented in the IETF RFC 8986 SRv6 Network Programming. SRv6 Endpoint Behaviors The SRv6 endpoint behaviors are documented in the IETF RFC 8986 SRv6 Network Programming. SRv6 Endpoint Behavior Variants The SRv6 endpoint behavior variants are documented in the IETF RFC 8986 SRv6 Network Programming. SRv6 Micro-Segment (uSID) SRv6 Implementation Supported Platforms SRv6 Micro-Segment (uSID) Several SRv6 uSIDs may be encoded within a single 128-bit SID, called a uSID carrier. SRv6 uSID is documented in the IETF drafts NetworkProgramming extension: SRv6 uSID instruction and Compressed SRv6 Segment List Encoding in SRH. Throughout this chapter, SRv6 micro-segment is referred to as uSID. SRv6 uSID Terminology The SRv6 uSID terminology is documented in the Network Programming extension: SRv6 uSID instruction. SRv6 uSID Allocation Within a uSID Block SRv6 uSID allocations are documented in the Network Programming extension: SRv6 uSID instruction. SRv6 Endpoint Behaviors Associated with uSID SRv6 uSID endpoint behaviors are documented in the Network Programming extension: SRv6 uSID instruction. SRv6 Implementation A new command segment-routing srv6 is introduced in Cisco IOS XE 17.12.1a to enable SRv6 configuration. The parameters for this command are described below. SRv6 Locator Name, Prefix, and uSID-Related Parameters This section describes the configurable keywords for the segment-routing SRv6 command. locator name Configures the SRv6 locator. locator name prefix locator Configures the locator prefix value. locator name format usid-f3216 Specifies the locator as a micro-segment (uSID). SRv6 Encapsulation Parameters This section describes the configurable SRv6 encapsulation parameters. These optional parameters include: encapsulation source-address ipv6-addr Source Address of outer encapsulating IPv6 header. The default source address for encapsulation is the lowest global unicast IPv6 address of lowest loopback interface. If loopback addresses and static encapsulation source address are not configured, the source address remains unassigned (0::0). encapsulation hop-limit { count | } The hop limit of outer-encapsulating IPv6 header. The range for count is from 1 to 255; the default value for hop-limit is 64. Use propagate to set the hop-limit value by propagation (from incoming packet/frame). encapsulation traffic-class { value | } The traffic-class field settings on the IPv6 header. Specify the value (as 2 hexadecimal nibbles) for traffic class; valid values are from 0x0 to 0xff. The default value is 0. Use propagate to set the traffic-class value by propagation (from incoming packet/frame). SRv6 SID Parameters This section describes the configurable SRv6 SID parameters. sid holdtime minutes The hold time for a stale or freed SID. The range of minutes is from 0 (disabled) to 60 minutes. sid behavior { end-dt46 | end-dt4 | end-dt6 } Configures a static SID, given the SID address and the behavior context. Supported Platforms From Cisco IOS XE 17.12.1a release, several SRv6 features are supported on the following platforms: Cisco ASR1000 RP3 + ESP100-X/ESP200-X, ASR1001-HX, ASR1002-HX Cisco Catalyst 8000V Edge Software Cisco Catalyst 8200 Series Edge platforms Cisco Catalyst 8300 Series Edge platforms Cisco Catalyst 8500 and 8500L Series Edge platforms For information about the supported features, see Feature Information. From Cisco IOS XE 17.13.1a release, BGP SRv6 L3VPN ODN is supported on the following platforms: Cisco ASR1000 RP3 + ESP100-X/ESP200-X, ASR1001-HX, ASR1002-HX Cisco Catalyst 8000V Edge Software Cisco Catalyst 8200 Series Edge platforms Cisco Catalyst 8300 Series Edge platforms Cisco Catalyst 8500 and 8500L Series Edge platforms Configuring SRv6 Configuring SRv6 Enabling SRv6 involves the following high-level configuration steps: Configuring Global SRv6 with locator(s) Configuring Optional SRv6 Parameters Configuring Global SRv6 with a Locator The following example shows how to globally enable SRv6 and configure a locator: Configuring Optional SRv6 Parameters The following example shows how to configure optional SRv6 parameters: Configuring SRv6 Static Explicit END.X SID From Cisco IOS XE 17.15.1a, you can configure static explicit END.X: Note IPv6 address is not required for point-to-point interface. Use link-local address to specify IPv6 address. Configuring SRv6 Path MTU From Cisco IOS XE 17.15.1a, a new global static configuration of MTU for all SRv6 policy and VPN-SID is available: Verifying SRv6 Configuration Use the following examples to verify SRv6 configuration. Example 1: This example shows how to verify the locator configuration and its operational status: Example 2: The following examples show how to view the platform capabilities and parameters: Example 3: The following examples show how to view the SID overview and details: Example 4: The following examples show how to view stale SIDs: Example 5: The following examples show how to view the configured IPv6 route and router prefix: Example 6: This example shows how to view the configured express forwarding path (CEF): SRv6 under IS-IS SRv6 under IS-IS Intermediate System-to-Intermediate System (IS-IS) protocol already supports segment routing with MPLS dataplane (SR-MPLS). From Cisco IOS XE 17.12.1a, IS-IS is extended to support Segment Routing with IPv6 data plane (SRv6). The extensions include advertising the SRv6 capabilities of nodes, node segments, and adjacency segments as SRv6 SIDs. Information About SRv6 under IS-IS SRv6 under IS-IS performs the following functionalities: Interacts with SID Manager to learn local locator prefixes and announces the locator prefixes in the IGP domain. Learns remote locator prefixes from other IS-IS neighbor routers and installs the learned remote locator IPv6 prefix in RIB. Allocates or learns prefix SID and adjacency SIDs, creates local SID entries, and advertises them in the IGP domain. Configuring SRv6 under IS-IS Use the segment-routing srv6 command under the router isis command to enable SRv6 under the IS-IS IPv6 address-family as shown in the examples below. Use the level { 1| 2} keywords to advertise the locator only in the specified IS-IS level. For basic SRv6 configuration, see section Configuring SRv6. The following example shows how to configure SRv6 under IS-IS. The following example shows how to assign multiple SRv6 locators under IS-IS. For more information about configuring IS-IS, see chapter IS-IS Overview and Basic Configuration in the Cisco IP Routing Configuration Guide. Note The router-id keyword enables the use of SRv6 policy. Verifying SRv6 IS-IS Configuration Example 1: Use the show segment-routing srv6 locator command to verify SRv6 under IS-IS configuration: Example 2: Use the show isis srv6 locators command to view SID locators. SRv6 BGP-Based Services SRv6 BGP-Based Services Feature Name Release Description Dual-Stack L3VPN Services (IPv4, IPv6) (SRv6 Micro-SID) Cisco IOS XE Release 17.12.1a This feature introduces support SRV6 for VPNV4 and VPNv6 VRFs. uDT4 and uDT6 based SRv6 service on the same interface, subinterface, or VRF are supported. Building on the messages and procedures defined in IETF draft BGP/MPLSIP Virtual Private Networks (VPNs), BGP has been extended to provide the following services over an SRv6 network: IPv4 Layer-3 VPNs IPv6 Layer-3 VPNs Based on the messages and procedures defined in IETF draft SRv6 BGP based Overlay services, BGP encodes the SRv6 Service SID in the prefix-SID attribute of the corresponding BGP updates, and advertises it to its IPv6 BGP peers. For more information about BGP, refer to the chapter Cisco BGP Overview in the Cisco IP Routing Configuration Guide, Cisco IOS XE 17.x. Restrictions for SRv6 BGP-Based Services Information About SRv6 BGP-Based Services Restrictions for SRv6 BGP-Based Services The following SRv6 BGP-based services are supported: IPv4 L3VPN IPv6 L3VPN IPv4 L3VPN IPv6 L3VPN uDT4, uDT6, and uDT46 for L3VPN are supported. BGP does not support uDT46 allocation and advertisement. Information About SRv6 BGP-Based Services SRv6 Locator Inheritance Rules SRv6 locators can be assigned at different levels inside the BGP routing process. BGP allocates SRv6 Service SIDs from configured locator spaces according to the following inheritance rules: Use the locator as defined under the service. If not defined under the specific service, then: Use the locator as defined under the corresponding address-family. If not defined under the corresponding address-family, then: Use the locator as defined globally under BGP. There are multiple places under BGP where locator(s) are specified: Global (most generic) VPN AF VRF AF (most specific) If there is no specific locater configured, then the locator config from upper level is inherited in the following order: Global -> VPN-AF -> VRF-AF Note There is no default SRv6 SID allocation mode, and Locator mode cannot be configured without SRv6 SID allocation mode. If there is no locator configured or inherited, then BGP does not allocate SIDs. BGP Handling of SID Manager Locator Changes In the event that BGP configured locator does not exist in the SID manager, BGP configuration is accepted but is not active. BGP generates a syslog. BGP listens to locator config notifications from SID manager. In the event that BGP configured locator is created in the SID manager, BGP is notified by SID manager of the creation. BGP activates if any matching locator config. BGP allocates SIDs for the relevant prefixes and advertises them. In the event that BGP configured locator is deleted from the SID manager, SID Manager notifies BGP of the deletion. BGP deactivates if any matching locator config. BGP deallocates SIDs for the relevant prefixes and withdraws them. In the event that BGP configured locator is modified (i.e. locator prefix is modified) in the SID manager, SID Manager notifies BGP of the change. BGP release all SIDs associated with the previous locator prefix. BGP allocates new SIDs for the new locator prefix and advertise updated prefixes. For more information on how to configure an SRv6 locator, see section ConfiguringSRv6. SRv6 Based L3VPN This section provides information about L3VPNs (VPNv4 and VPNv6) over an SRv6 network. The following restrictions apply to L3VPNs over an SRv6 network: Only Per-VRF allocation mode is supported (uDT4 and uDT6 behavior). Equal-Cost Multi-path (ECMP) is supported; Unequal Cost Multipath (UCMP) is not supported. MPLS L3VPN and SRv6 L3VPN interworking gateway is not supported. Configuring SRv6 based L3VPN SRv6 eBGP Inter-AS Configuring SRv6 based L3VPN To enable SRv6-based L3VPN, you need to enable SRv6 under BGP, specify the locator, and configure the SID allocation mode. The assignment of the locator can be done in different places under the router bgp configuration. See section SRv6 Locator Inheritance Rules. Enabling SRv6 Globally under BGP Use the segment-routing srv6 command under the router bgp as-number command to enable SRv6 globally under the BGP routing process. The as-number range is from 1-65535. Configuring SRv6 IPv4 L3VPN This example shows the complete configuration for SRv6 based IPv4 L3VPN. Configuring SRv6 IPv6 L3VPN This example shows the complete configuration for SRv6 based IPv6 L3VPN. Configuring SRv6 IPvx VRF L3VPN This example shows the complete configuration for SRv6 based L3VPN for address family IPvx VRF. SRv6 eBGP Inter-AS From Cisco IOS XE 17.16.1a, the following BGP inter-autonomous systems (Inter-AS) functionalities are supported over SRv6: BGP SRv6 Inter-AS Nexthop-Self/Changed BGP SRv6 Inter-AS Nexthop Unchanged eBGP SRv6 Inter-AS Nexthop-Self/Changed BGP SRv6 Inter-AS Nexthop Unchanged Configure SRv6 eBGP Inter-AS Nexthop Unchanged Verify SRv6 eBGP Inter-AS eBGP SRv6 Inter-AS Nexthop-Self/Changed In this scenario, autonomous system boundary routers (ASBRs) propagate the BGP SRv6 L3VPN updates with SRv6 SID unchanged, but the next-hop destination changed. The reachability of the Egress PE to the SRv6 locator must be advertised across AS domains. End-to-End Inter-AS SRv6 SRTE policy cannot be created by the headend node; it can only create SRTE policy for the ASBRs. Figure 2. eBGP SRv6 Inter-AS Nexthop-Self/Changed BGP SRv6 Inter-AS Nexthop Unchanged In this scenario, ASBRs propagate the BGP SRv6 L3VPN updates with both SRv6 SID and next-hop unchanged. The reachability of the next-hop of the Egress PE to the SRv6 locator must be advertised across AS domains. End-to-End Inter-AS SRv6 SRTE policy can be created by the headend node to the ingress endpoint if the complete network is managed by single IGP domain. Figure 3. eBGP SRv6 Inter-AS Nexthop Unchanged Configure SRv6 eBGP Inter-AS Nexthop Unchanged The following sample configuration shows how to configure eBGP inter-AS with the SRv6 SID as well as the nexthop destination unchanged: Configure SRv6 eBGP Inter-AS Nexthop Unchanged The following sample configuration shows how to configure eBGP inter-AS with the SRv6 SID as well as the nexthop destination unchanged: Verify SRv6 eBGP Inter-AS Use the show run command to view the ASBR next-hop in an SRv6 eBGP configuration: BGP MPLS and SRv6 Co-Existence A dual-connected PE that has both MPLS and SRv6 neighbors concurrently allocates a local MPLS label and an SRv6 SID for sourced/CE routes. Restrictions MPLS label allocation is disabled when SRV6 is enabled for BGP AFI VRF. The mpls alloc enable command enables MPLS label allocation and is the default allocation mode. Both SRV6 and MPLS allocations are enabled, with MPLS being default allocation mode. MPLS label is advertised to a neighbor by default in the MPLS and SRv6 co-existence configuration. The neighbor <> encap srv6 command is required to advertise SRv6 SID to a neighbor. Configuring MPLS and SRv6 Coexistence for L3VPN Configuring MPLS and SRv6 Coexistence for L3VPN The following example shows the configuration to enable MPLS and SRv6 co-existence for L3VPN: Note Sourced or CE prefixes from VRF's with MPLS and SRv6 coexistence enabled will be sent with MPLS labels. Verifying SRv6 State Use the following show commands to verify SRv6 BGP configurations. Example 1: show segment-routing srv6 sid Example 2: show segment-routing srv6 sid < *SID*> detail Example 3: show ip bgp all srv6 locator Example 4: show ip bgp all srv6 sid Example 5: show ipv6 cef < *prefix*> internal Example 6: show isis database verbose Example 7: show ipv6 route < *prefix*> Example 8: show bgp [vpnv4|vpnv6] rd < *rd*> < *prefix*> Sample output for VPNv4: Sample output for VPNv6: Example 9: show ip route vrf < *vrf*> < *prefix*> Example 10: show ipv6 route vrf < *vrf*> < *prefix*> Example 11: show ip cef vrf < *vrf*> < *prefix*> internal Example 12: show ipv6 cef vrf < *vrf*> < *prefix*> internal Troubleshooting and Debugging SRv6 BGP The following BGP commands can be used to debug BGP updates: debug bgp <> updates debug bgp <> addpath The following new command is introduced for debugging events related to SRv6: debug ip bgp srv6 BGP SRv6 L3VPN On-Demand Next-Hop BGP SRv6L3VPN On-Demand Next-Hop When redistributing routing information across domains, provisioning of multi-domain services (L3VPN) has its own complexity and scalability issues. The On-Demand Next-Hop (ODN) configuration allows BGP to dynamically create SR policies as a result of learning routes with an extended color community attribute. It then installs the replied multi-domain LSP for the duration of the service into the local forwarding information base (FIB). This section describes how SRv6 Traffic Engineering (SRv6-TE) works with the On-Demand Next-hop (ODN) mechanism. Prerequisites for BGP SRv6 L3VPN ODN Information About BGP SRv6L3VPN ODN Configuring SRv6 L3VPN ODN Configuring SRv6 ODN Color Template Verifying SRv6 L3VPN ODN Configuration Debugging SRv6 L3VPN ODN Configuration Prerequisites for BGP SRv6 L3VPN ODN Refer to the SRv6 under IS-IS section before configuring BGP SRv6L3VPN On-Demand Next-Hop. Information About BGP SRv6L3VPN ODN The Segment Routing-Traffic Engineering (SR-TE) On-Demand Next-Hop (ODN) is a mechanism that allows the steering of traffic on a segment routing policy based on the attributes of the packets. Packets are classified using Cisco's enhanced Policy-based Routing (ePBR) and then marked with internal tags known as Forward Classes (FCs). A PFP or PDP is used to route the marked packets based on the mappings between an FC and its corresponding path. This means that the traffic is steered based on its ePBR markings and switched to the appropriate path based on the FC of the packet. BGP Color Extended Community and VRF Prefix Coloring BGP Color Extended Community and VRF Prefix Coloring In the SR-TE mechanism, the prefix that needs an SR-TE routing path is associated with a color-extended community (an attribute that assigns color to the prefixes). Currently, BGP has the capability to attach the color-extended community based only on the neighbor command routemap outbound configuration. To color the prefixes based on attributes such as Source-VRF, Destination-VRF, CE-neighbor, and Source protocol, the following ways of attaching color are introduced: VRF Export Coloring VRF Import Coloring Route Redistribution Coloring into BGP Neighbor In-bound Coloring Route-map Additive Color Extended Community New color-extended communities from route-map can be added to the existing color extended communities list present in the prefix attribute if the new color is not already in the list. To add the new color extended community to the existing list of color extended communities of the prefix instead of replacing the existing, the keyword additive is used with the route-map set extcommunity color command: Note If the route-map set extcommunity color command is configured without the additive keyword, the new color-extended community from route-map will replace any exiting color communities present in the prefix attribute. The number of color-extended communities that can be added to a prefix is limited by the number of extended communities that can be added to a BGP update message. BGP Receiving of Multiple Colors If BGP receives an update with multiple color extended communities, it creates an SR policy only for the highest color value, and not for other color values, as defined by the draft-ietf-spring-segment-routing-policy-08. If the SR policy of highest color is down or unavailable, the BGP path will still be the best path, but will use the optimal path as routing path (for example, SRv6 SID as routing path). The show ip bgp command includes the SR policy information for the highest color, as SR policy is only created for the highest color value. The state of the highest color SR policy decides whether the SR policy or the optimal path is used as the routing path. Note Multiple color handling, as defined in latest drafts ( draft-ietf-spring-segment-routing-policy-09, RFC 9256) to use SR Policy of a lower color value when the SR policy of higher color value is down or unavailable, is not supported. Configuring SRv6 L3VPN ODN The following examples show how to configure SRv6 L3VPN ODN: PE1 (Egress) Configuration PE2 (Ingress) Configuration Configuring SRv6 ODN Color Template For BGP to dynamically instantiate SR-TE SRv6 policies to steer traffic onto, on-demand next-hop (ODN) color templates are used to define the attributes of the policies. These templates already exist and are extended for SRv6 as shown in the following sample configuration: BGP Neighbor Outbound Prefix Coloring Use this configuration to attach a color-extended community to an outbound BGP prefix update: BGP Neighbor Inbound Prefix Coloring Use this configuration to attach a color-extended community to an inbound BGP prefix update: BGP VRF Export Prefix Coloring Use this configuration to attach a color extended community to the VPN prefix per the export route-map color-extended community associated with the VRF: BGP VRF Import Prefix Coloring Use this configuration to attach a color extended community to the VPN prefix per the import route-map color-extended community associated with the VRF: BGP Route Redistribution Prefix Coloring Use this configuration to attach a color-extended community to a BGP prefix redistributed to BGP: Verifying SRv6 L3VPN ODN Configuration Sample Output for BGP The show prefix commands display the color and binding SID associated with the BGP prefix path: show bgp vpnv4 unicast vrf show bgp vpnv6 unicast vrf Sample Output for SRv6 ODN Policy The show segment-routing traffic-eng policy name command displays the SRv6 ODN policy information: The show segment-routing traffic-eng policy name detail command displays the SRv6 ODN policy details: For more information about verifying SRv6-TE configuration, see section Verifying SRv6-TE Configuration. Debugging SRv6 L3VPN ODN Configuration Use the following debug command to track the events related to SR ODN: debug ip bgp sr-policy For information about troubleshooting and debugging SRv6-TE, see the Troubleshooting and Debugging SRv6-TE section. SRv6 Traffic Engineering Policies SRv6 Traffic Engineering Policies From Cisco IOS XE 17.12.1a, the Segment Routing Traffic Engineering (SR-TE) mechanism is extended to Segment Routing over IPv6 (SRv6). Restrictions for SRv6-TE Policies Information About SRv6-TE Policies Configuring SRv6-TE Verifying SRv6-TE Configuration Troubleshooting and Debugging SRv6-TE Restrictions for SRv6-TE Policies From Cisco IOS XE 17.16.1a, local path computation and PCE delegated path computation are supported; PCE-initiated polices are not supported. Only dynamic segment-lists are supported; explicit segment-lists are not supported. SRv6 Binding SIDs are not supported. On-demand next-hop (ODN) is not supported. L2VPN over SR-TE is not supported. Auto-route announce over PFP or PDP is not supported. When you create a policy with multiple SIDs, the final SID to reach the egress PE is the node SID, and this will be removed from the SID list. The VPN SID must always have the locator information as part of the SIDs. Information About SRv6-TE Policies The SRv6 Traffic Engineering (SRv6-TE) uses a SRv6 policy to steer traffic through the network. The SRv6 policy includes Per-flow policies (PFP) and Per-destination policies (PDP), both of which are supported. An ePBR policy is applied to the ingress interface to define how traffic is classified and associated with the forward-class (FC), PFP is configured with a Per-flow forward-class table up to eight entries. Each entry is indexed by a FC and points to a PDP. For PFP, the packets are classified on the ingress interface and choose different PDP paths to forward to the same destination based on the classification by ePBR. Configuring SRv6-TE The following examples demonstrate how to configure locally computed SRv6-TE policies.. Configuring PDP Configuring PFP Configuring ePBR Configuring Static Route IPv6 static route for a prefix, NO SR policy, and optional VPN SID IPv6 static route for a prefix with traffic steered via optional SR policy and VPN SID IPv4 static route for a prefix with traffic steered via optional SR policy and VPN SID Note IPv4 static route for a prefix, NO SR policy, and optional VPN SID is NOT supported. Configuring PCE Delegation for Path Computation The following sample configuration demonstrates how to change the locally computed SRv6-TE PDP in the previous example to be delegated for path computation to a PCE. From Cisco IOS XE 17.16.1a, you can configure PCE delegation for path computation. Verifying SRv6-TE Configuration Example 1: Use the show segment-routing traffic-eng policy name command to verify SRv6-TE configuration, with PDP and PFP: Example 2: Use the show ip cef label-table internal command to view the PFP label details. Example 3: Use the show segment-routing traffic-eng cspf command to view the CSPF details. Example 4: Use the show prefix commands to display the color and binding SID associated with the BGP prefix path: Example 5: Use the show pce client peer command to verify the PCEP connections: Troubleshooting and Debugging SRv6-TE Use the following commands to troubleshoot SRv6TE: debug ip bgp sr-policy debug segment-routing traffic-eng forwarding: SR forwarding debug ha: SR High-Availability debug path: SR path debug pcalc: SR pcalc debug policy: SR policy debug topology: SR topology debug forwarding: SR forwarding debug ha: SR High-Availability debug path: SR path debug pcalc: SR pcalc debug policy: SR policy debug topology: SR topology debug Performance Measurement for SRv6 Performance Measurement for SRv6 Feature Name Release Information Description Performance Measurement for Segment Routing over IPv6 Cisco IOS XE Dublin 17.12.1a This feature extends the performance measurement liveness to Segment Routing configuration over IPv6 data plane. Performance Measurement Liveness for SRv6 Configuring PM Liveness for SRv6 Verifying Performance Measurement for SRv6 Performance Measurement Liveness for SRv6 From Cisco IOS XE 17.12.1a, Performance Measurement liveliness is extended to Segment Routing over IPv6 dataplane. This feature enables Performance Measurement (PM) liveness detection for an SR policy on all the segment lists of every candidate path that are present in the forwarding table using PM probes. You can monitor the traffic path and efficiently detect any drop of traffic due to cable or hardware or configuration failures. Prerequisites SRV6 must be enabled on all nodes before configuring PM for SRv6. Restrictions By default, probes are sent every 3 seconds. You can increase the interval using the burst interval parameter (*). Reducing the probe interval to below 3 seconds is not recommended. Configuring PM Liveness for SRv6 Use the following examples to configure PM liveliness for SRv6. Use the liveness-detection configuration under an SRV6 Policy to continuously monitor the state of SRV6 paths. This option provides only monitoring; no action is taken by the Policy Manager. Use the invalidation-action down configuration to configure the Policy Manager to: Have the path programmed in HW only after it was validated with PM probes. Continuously monitor the path. Reoptimize to a different CP if PM probes stop working, or bring the policy down if no other path is available. Have the path programmed in HW only after it was validated with PM probes. Continuously monitor the path. Reoptimize to a different CP if PM probes stop working, or bring the policy down if no other path is available. Configure SRv6-TE PM Liveness under Policy Configure Default Delay Profile for Liveness The following sections describe the recommended configurations for scaling deployment. Configure PM Punt Policer for all PE Nodes Configure Interface Queue for WAN Interface on Headend and Endpoint Nodes OR Note The WAN interface includes physical interfaces and GRE-TP tunnels. Verifying Performance Measurement for SRv6 Use the following show commands to verify PM configuration for SRv6. Example 1: show performance-measurement sr-policy name Example 2: show performance-measurement sr-policy name d p v | s Liveness Example 3: show segment-routing traffic-eng policy all type per-destination Example 4: show performance-measurement history interfaces adv Example 5: show performance-measurement history sr-policy liveness-notification Example 6: show isis teapp Example 7: show performance-measurement responder summary Example 8: show monitor event-trace perf_measure all Example 9: show performance-measurement summary SRv6 OAM SRv6 Operations, Administration, and Maintenance From Cisco IOS XE 17.12.1a, Operations, Administration, and Maintenance (OAM) functionality is suported by SRv6, using Segment Lists and SRv6 Policy. Restrictions for SRv6 Information About SRv6 OAM Operating SRv6 OAM Restrictions for SRv6 Traceroute to IPv4 VRF does not display the core PE nodes. Ping or Traceroute IPv4 VRF using custom SID-List is not supported. Information About SRv6 OAM Operations, Administration, and Maintenance (OAM) helps service providers to monitor SRv6 paths and quickly isolate forwarding problems to assist with fault detection and troubleshooting in the network. The following figure provides a sample topology for SRv6 OAM. Figure 4. Sample SRv6 OAM Topology Operating SRv6 OAM SRv6 OAM involves the following operations: IPv6 Ping/Traceroute CE-CE across SRv6 Core IPv4 Ping/Traceroute CE-CE across SRv6 Core IPv6 Ping/Traceroute PE-CE across SRv6 Core IPv4 Ping/Traceroute PE-CE across SRv6 Core IPv6 SID Ping/Traceroute IPv6 VRF Ping/Traceroute using custom SIDs The following examples reference the topology in Figure x. Operate IPv6 Ping/Traceroute CE-CE across SRv6 Core Use the following example to operate Ping/Traceroute CE-CE connected IPv6 interface IP: Operate IPv4 Ping/Traceroute CE-CE across SRv6 Core Use the following example to operate Ping/Traceroute CE-CE connected IPv4 interface IP: Operate IPv6 Ping/Traceroute PE-CE across SRv6 Core Use the following example to operate Ping/Traceroute CE's IPv6 interface from PE's VRF interface via SRv6 core: Operate IPv4 Ping/Traceroute PE-CE across SRv6 Core Use the following example to operate Ping/Traceroute CE's IPv4 interface from PE's VRF interface via SRv6 core: Note The IPv4 ping displays “*” instead of IPv6 hops. Operate IPv6 SID Ping/Traceroute Use the following example to operate Ping/Traceroute PE2's node SID SRv6 SID from PE1: Operate IPv6 VRF Ping/Traceroute using Custom SIDs Use the following example to operate Ping/Traceroute CE2 IPv6 interface from PE1 using custom SRv6 SID list: The SID in this traceroute goes from PE1 to PE2 via P1, P2 and P3, and finally to CE2. The first SID is from PE1 to P1. The next SID, from P1 to P2, is an ECMP path via P3 (P1 -> P3 -> P2). The next SID, to reach the VPN-SID PE2, is P2 -> P3 -> PE2. The last SID is to reach CE2 from PE2 (PE2 -> CE2). From Cisco IOS XE 17.16.1a, the following operational commands are available: The examples below are based on the topology in Fig. SRv6 OAM Topology. Figure 5. SRv6 OAM Topology Support for SRv6 OAM-TE From Cisco IOS XE 17.15.1a, the following operational commands provide support for SRv6 OAM traffic engineering: Note These commands do not support SID list fragmentation. Use the following examples to operate Ping/Traceroute for OAM traffic engineering: Troubleshooting and Debugging SRv6 OAM-TE Use the following commands to debug SRv6 configuration: Back to Top Back to Top Was this Document Helpful? Yes No [ Feedback](javascript: void(0);) Customers Also Viewed Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide, Cisco IOS XE 17 --- Installing the Software using install Commands Security and VPN Configuration Guide, Cisco IOS XE 17.x --- Configuring Security for VPNs with IPsec Configure Smart Licensing Using Policy on IOS XE Routers Contact Cisco Open a Support Case (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