Segment Routing v6 Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases - SRv6 Fundamentals and Key Concepts [Cisco 8000 Series Routers]
Segment Routing v6 Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases - SRv6 Fundamentals and Key Concepts [Cisco 8000 Series Routers] - 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 8000 Series Routers Configuration Guides Segment Routing v6 Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases 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 Preface YANG Data Models for SRv6 Features SRv6 Fundamentals and Key Concepts SRv6 Micro-segment (uSID) Overview Enable Traffic Steering with SRv6 Locators Optimize SRv6 uSID Load Balancing Introduction to SRv6 IS-IS Implementing SRv6 Flexible Algorithms Implementing TI-LFA for SRv6 Path Computation Element Protocol SRv6 Microloop Avoidance for Network Resilience Traffic Engineering in IPv6 Networks Using SRv6-TE SRv6 Layer 3 VPN Services and Global Routing Advanced SRv6 Layer 3 features SRv6-Based Layer 2 and Integrated VPN Services SRv6-MPLS L3 Service Interworking Gateways SRv6 Network Performance Measurement SRv6 Traffic Accounting SRv6 uSID Migration Search Find Matches in This Book Save Log in to Save Content Available Languages Download Download Options Book Title Segment Routing v6 Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases Chapter Title SRv6 Fundamentals and Key Concepts PDF - Complete Book (7.56 MB) PDF - This Chapter (1.2 MB) View with Adobe Reader on a variety of devices Print Results Updated: June 9, 2026 Chapter: SRv6 Fundamentals and Key Concepts Chapter Contents SRv6 Fundamentals and Key Concepts Segment Routing over IPv6 Key concepts of SRv6 Network program in the packet header Segment Routing Header Segment Identifiers SRv6 node roles SRv6 headend behaviors SRv6 endpoint behaviors SRv6 endpoint behavior variants Network program in the packet header Segment Routing Header Segment Identifiers SRv6 node roles SRv6 headend behaviors SRv6 endpoint behaviors SRv6 endpoint behavior variants SRv6 endpoint behavior variants Supported and unsupported features for SRv6 Techniques for effective SID management Close SRv6 Fundamentals and Key Concepts In today's dynamic networking environment, the demand for scalable, efficient, and flexible routing solutions continues to grow. Traditional approaches, such as MPLS, often involve complex protocols and lack native IPv6 support, making them less suitable for modern networks. Segment Routing over IPv6 (SRv6) addresses these challenges by leveraging the native IPv6 protocol to implement a simplified, programmable, and scalable routing framework. Segment Routing over IPv6 Key concepts of SRv6 Supported and unsupported features for SRv6 Techniques for effective SID management Segment Routing over IPv6 Segment Routing over IPv6 (SRv6) is a network routing framework that embeds routing and processing instructions directly into IPv6 packets uses the Segment Routing Header (SRH) to encode these instructions uses Segment Identifiers (SIDs), which are 128-bit values, to define routing and processing behaviors, and enables a network programming model to allow packets to carry instructions for advanced traffic engineering and automated service chaining. The components of Srv6 include Segment Routing Header and Segment Identifiers. See Key concepts of SRv6. Key difference between SR-MPLS and SRv6 The table compares the key benefits and features of SR-MPLS and SRv6 to highlight their differences and advantages: Table 1. SR-MPLS and SRv6 comparision Feature SR-MPLS (Segment Routing with MPLS) SRv6 (Segment Routing with IPv6) Underlying technology Uses MPLS labels to encode segment routing paths. Uses IPv6 addresses (Segment Identifiers or SIDs) in IPv6 header. Packet Header MPLS label stack steers packets through the network. IPv6 extension headers carry the segment list for source routing. Scalability and flexibility Limited by MPLS label space and MPLS forwarding capabilities. Larger address space and more flexible network programming due to IPv6 extensibility. Network requirements Requires MPLS-enabled infrastructure. Requires IPv6-enabled infrastructure and SRv6 processing support. Benefits of SRv6 Modern networks require solutions that support growing scale, advanced services, and seamless operations. Traditional routing technologies often face limitations such as complex architectures, limited scalability, and rigid traffic management. Segment Routing over IPv6 (SRv6) addresses these challenges. It provides a highly programmable, scalable, and efficient solution by leveraging native IPv6 capabilities to simplify operations and enhance service delivery. SRv6 delivers these key advantages: Simplified network architecture: SRv6 consolidates routing functions into a single IPv6-based data plane. This eliminates multiple legacy protocols and streamlines inter-domain routing with basic IP functions and prefix summarization. Native IPv6 integration and enhanced scalability: SRv6 fully leverages IPv6's capabilities and address space, ensuring long-term scalability and future readiness. Its flexible, hierarchical Segment Identifier (SID) structure efficiently scales networks, overcoming traditional label limitations and maximizing Forwarding Information Base (FIB) utilization across diverse segments. Flexible and intent-based traffic engineering: SRv6 offers precise and flexible path selection through its built-in traffic engineering capabilities. This enables network programming with SIDs, supports intent-based routing via IGP Flex-Algo, and facilitates complex service chaining and Network Function Virtualization (NFV) integration. Optimal load balancing: SRv6 efficiently distributes traffic across available paths. It leverages native IPv6 flow label capabilities for Equal-Cost Multi-Path (ECMP) load balancing, ensuring optimal traffic distribution based on inner packet entropy without additional protocols. Unified service delivery and cloud integration: SRv6 provides a single, unified IPv6-based data plane for various services, including Virtual Private Networks (VPNs), micro-services, and cloud connectivity. It offers native support for host and cloud environments without protocol translation. Seamless deployment and migration: SRv6 integrates smoothly into existing brownfield networks. It supports granular, phased adoption strategies, facilitating a seamless transition to modern network infrastructures. Improved reliability and performance: SRv6 enhances network resilience with features like Fast Reroute (FRR). It also enables better Quality of Service (QoS) management through granular control over traffic paths and functions, ensuring robust and high-performing networks. Use cases for SRv6 SRv6 is a technology that enhances various network applications through several use cases, such as: Traffic engineering (TE): SRv6 optimizes network paths to enhance performance, meet SLAs, routing requirements, as well as specific needs such as security or data sovereignty. Network segmentation: SRv6 enables the creation of logical network overlays, including L3VPNs and L2VPNs, over a common SRv6 underlay. Simplified OPEX: By providing a common end-to-end data plane, SRv6 simplifies operations, making it easier than managing multiple technologies. Key concepts of SRv6 The key concepts of SRv6 are described in this table. Table 2. SRv6 Concepts SRv6 Concept Description Network program in the packet header The network programming model refers to the approach of encoding network operations and services directly into IPv6 headers using the concept of segments. Segment Routing Header (SRH): Encodes an ordered list of instructions (segments) within each packet. Segment Identifiers (SIDs) 28-bit values that represent routing instructions, functions, or paths. SRv6 node roles Nodes in an SRv6 network perform specific functions as source, transit, or endpoint nodes based on their position and SID processing requirements. Network program in the packet header Segment Routing Header Segment Identifiers SRv6 node roles SRv6 headend behaviors SRv6 endpoint behaviors Network program in the packet header The network programming model in SRv6 refers to the approach of encoding network operations and services directly into IPv6 headers using the concept of segments. SRv6 leverages the native IPv6 protocol to implement segment routing functionalities, allowing for flexible and scalable traffic engineering, and network programmability. 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. An packet header includes these components: IPv6 header: This is the standard IPv6 header, which includes the source address of the packet and destination address. Destination address: In a standard IPv6 header, the destination address contains a locator and a function. Segment Routing Header (SRH): SRH contains an ordered list of segments that the packet must traverse and header is inserted between the IPv6 header and the payload. SRH includes these components: Active segment: Indicates the current segment being processed. Locator and Function: Each segment consists of a locator and a function. The locator identifies a network node or a set of nodes, while the function specifies the action to be performed at that node. Active segment: Indicates the current segment being processed. Locator and Function: Each segment consists of a locator and a function. The locator identifies a network node or a set of nodes, while the function specifies the action to be performed at that node. Payload: This section contains the actual data being transmitted. It can encapsulate various protocols, such as IPv4, IPv6, or Ethernet. This figure illustrates the structure of a network program within the SRv6 packet header. In the example, there are multiple segments, each with its locator (Locator 1, Locator 2, Locator 3) and function (Function 1, Function 2, Function 3). The number of segments is determined by the Segments Left field in the SRH. Figure 1. Packet Header Segment Routing Header Segment Routing Header (SRH) is an IPv6 routing extension header that embeds an ordered list of instructions, called segments, within each packet facilitates efficient routing, and network programmability, and encodes explicit paths using a list of IPv6 addresses. Segments are instructions represented as IPv6 addresses, that specify the sequence of nodes or functions a packet should traverse through a network using segment routing. For more information about SRH, see IETF RFC IPv6 Segment Routing Header (SRH). Fields in the SRH The SRH enables source routing in IPv6 by inserting a sequence of segments directly into packets. The active segment specifies the current destination address, while a pointer in the SRH identifies the next segment to be processed. Field Description Next Header Identifies the type of header immediately following the SRH. Hdr Ext Len The length of the SRH in 8-octet units, not including the first 8 octets. Segments Left Specifies the number of route segments remaining, i.e., the number of explicitly listed intermediate nodes still to be visited before reaching the final destination. Last Entry Contains the index (zero-based) of the last element of the segment list. Flags Contains 8 bits of flags. Tag Tags a packet as part of a class or group of packets, such as packets sharing the same set of properties. Segment List A list of 128-bit IPv6 addresses representing the nth segment in the segment list. The encoding starts from the last segment of the SR policy: Segment List [0] contains the last segment, Segment List [1] contains the penultimate segment, and so on. Format of SRH Segment Identifiers A Segment Identifier (SID) is a 128-bit value that identifies segments in an SRv6 network and consists of these three parts: Locator (LOC): This is the first part of the SID with most significant bits and represents an address of a specific SRv6 node. SID Block (B): The network designator, representing the SRv6 domain or a known address space. Node ID (N): The specific identifier for the node within the SRv6 network. SID Block (B): The network designator, representing the SRv6 domain or a known address space. Node ID (N): The specific identifier for the node within the SRv6 network. Function (FUNCT): The portion of the SID that specifies a local behavior, or network instruction, executed by the node identified by the Locator. The Function field is opaque and bound to the SID's behavior. Arguments (ARG): An optional field containing additional information needed for SID processing. ARG values should remain constant within a flow to maintain consistent Equal-Cost Multi-Path (ECMP) hashing and avoid packet reordering. SRv6 node roles In an SRv6 network, nodes along the packet path perform specific roles based on their position in the network and the SID processing requirements. Each node along the SRv6 packet path has a different function. The figure visually represents the different node roles in an SRv6 network. Node 1 is the headend or the source node. Node 4 and 5 are the transit node. Node 8 is the endpoint node. Figure 2. SRv6 Nodes This table provides an overview of the roles and descriptions of various node types, highlighting their specific functions within an SRv6 network. Table 3. SRv6 node roles SRv6 node Description Source node or headend node A node that can generate an IPv6 packet with an SRH, or an ingress node that can impose an SRH on an IPv6 packet. Also known as headend node. For more information, see SRv6 Head-End Behaviors. Transit node A node along the path of the SRv6 packet (IPv6 packet and SRH). The transit node does not inspect the SRH. The destination address of the IPv6 packet does not correspond to the transit node. Endpoint node A node in the SRv6 domain where the SRv6 segment is terminated. The destination address of the IPv6 packet with an SRH corresponds to the end point node. The segment endpoint node executes the function bound to the SID. A node where the SRv6 segment is terminated. For more information, see SRv6 endpoint behaviors. SRv6 headend behaviors A segment routing headend behavior is a set of actions and mechanisms performed by a head-end router (or source node) that: implements segment routing policies to manage and direct traffic through a network initiates and enforces SR policies by defining the path traffic should take, and ensures efficient traffic forwarding by leveraging SRv6. Table 4. Feature History Table Feature Name Release Information Feature Description H.Encap.Red headend behavior Release 25.4.1 Introduced in this release on: Fixed Systems (8010 [ASIC: A100])(select variants only*) *This feature is supported on: 8011-12G12X4Y-A 8011-12G12X4Y-D H.Encap.Red headend behavior Release 25.3.1 Introduced in this release on: Centralized Systems (8400 [ASIC: K100])(select variants only*) This feature is now supported on Cisco 8404-SYS-D routers. H.Encap.Red headend behavior Release 25.1.1 Introduced in this release on: Fixed Systems ( 8700 [ASIC: K100], 8010 [ASIC: A100]) The H.Encap.Red is a headend behavior that encapsulates the original packet into a new IPv6 packet with a Segment Routing Header (SRH). By encapsulating with the SRH, you can control and manage the path the data packets take through a network. This feature is now supported on: 8712-MOD-M 8011-4G24Y4H-I H.Insert.Red Headend Behavior for SRv6 on Cisco Silicon One P100-based Line Cards Release 24.3.1 Introduced in this release on: Modular Systems (8800 [LC ASIC: P100]) (select variants only*) With H.Insert.Red head-end behavior, you can effectively steer traffic into an SR policy, allowing for fast rerouting, traffic optimization, and simplified path management without additional encapsulation. The H.Insert.Red head-end behavior enables the router to insert a Segment Routing Header (SRH) directly into an existing IPv6 packet. The feature is supported only on Cisco Silicon One P100-based line cards in Cisco 8800 modular routers operating in P100 compatibility mode. This feature is supported on: 88-LC1-36EH 88-LC1-12TH24FH-E 88-LC1-52Y8H-EM SRv6 headend behavior variants SRv6 supports these head-end behaviors: H.Encaps.Red—H.Encaps with reduced encapsulation H.Insert.Red—H.Insert with reduced insertion. Starting from Cisco IOS XR Release 24.3.1, the H.Insert.Red is supported. Comparision between H.Encaps.Red and H.Insert.Red headend behaviors Table 5. H.Encaps.Red versus H.Insert.Red headend behaviors Headend behaviors H.Encaps.Red H.Insert.Red Definition The H.Encap.Red is a headend behavior that encapsulates the original packet into a new IPv6 packet with an SRH. Note Starting from Cisco IOS XR Release 24.3.1, we support the H.Insert.Red option. The H.insert.Red is a headend behavior that inserts an SRH into the original IPv6 packet without encapsulating it into a new IPv6 packet. Header manipulation A new IPv6 header with an SRH is added to the packet, encapsulating the original packet. The SRH is inserted into the packet by modifying the existing IPv6 header. Packet size The packet size increases as it includes both the SRH and an additional IPv6 header. The packet size is smaller compared to H.encaps headend behavior. There is no extra IPv6 header and that helps maintain the packet size. Processing at intermediate nodes Intermediate nodes process the packet by examining the outer IPv6 header's destination address and the SRH. Intermediate nodes process the packet by examining the inserted SRH and forwarding the packet based on the active segment. Termination process Ultimate Segment Pop The termination process involves decapsulation, where the outer IPv6 header and SRH are removed to reveal the original packet. Penultimate Segment Pop (PSP) The termination process involves the removal of the SRH when the packet reaches the end of the SR Policy. References The SR Headend with Encapsulation behaviors are documented in the IETF RFC 8986 SRv6 Network Programming. The SR Headend with Insertion head-end behaviors are documented in the following IETF draft: https://datatracker.ietf.org/doc/draft-filsfils-spring-srv6-net-pgm-insertion/ SRv6 endpoint behaviors The SRv6 endpoint behaviors are a set of actions and mechanisms that: processes an SRv6 segment matching the network device's own address terminates the SRv6 segment at a node within the SRv6 domain, and executes the function bound to the SID. The SRv6 endpoint behaviors are documented in the IETF RFC 8986 SRv6 Network Programming. List of SRv6 endpoint behaviors These are a subset of defined SRv6 endpoint behaviors that can be associated with a SID. End—Endpoint function. The SRv6 instantiation of a Prefix SID [ RFC8402]. End.X—Endpoint with Layer-3 cross-connect. The SRv6 instantiation of an Adj SID [ RFC8402]. End.DX6—Endpoint with decapsulation and IPv6 cross-connect (IPv6-L3VPN - equivalent to per-CE VPN label). End.DX4—Endpoint with decapsulation and IPv4 cross-connect (IPv4-L3VPN - equivalent to per-CE VPN label). End.DT6—Endpoint with decapsulation and IPv6 table lookup (IPv6-L3VPN - equivalent to per-VRF VPN label). End.DT4—Endpoint with decapsulation and IPv4 table lookup (IPv4-L3VPN - equivalent to per-VRF VPN label). End.DT46—Endpoint with decapsulation and specific IP table lookup (IP-L3VPN - equivalent to per-VRF VPN label). Starting from IOS XR Release Release 7.5.3, the End.DT46 endpoint is supported. End.DX2—Endpoint with decapsulation and L2 cross-connect (L2VPN use-case). End.B6.Encaps—Endpoint bound to an SRv6 policy with encapsulation. SRv6 instantiation of a Binding SID. End.B6.Encaps.RED—End.B6.Encaps with reduced SRH. SRv6 instantiation of a Binding SID. SRv6 endpoint behavior variants SRv6 endpoint behavior variants Segment Routing over IPv6 (SRv6) defines several endpoint behavior variants for the End and End.X behaviors, depending on how the Segment Routing Header (SRH) is processed. These variants can be supported individually or in combinations. Table 6. Comparision of endpoint behavior variants Penultimate Segment Pop (PSP) Ultimate Segment Pop (USP) Ultimate Segment Decapsulation (USD) Definition Penultimate Segment Pop is a mechanism where the penultimate SR endpoint node processes the SRH by modifying the destination address and segments list. Ultimate Segment Pop (USP) is a mechanism where the ultimate (last) SR Segment Endpoint Node removes the SRH from the IPv6 header when the Segments Left field equals 0. Ultimate Segment Decapsulation (USD) is a mechanism that processes upper-layer headers by removing the outer IPv6 header and forwarding the inner packet to its destination. Key operations as part of the SID processing, copies the last SID from the SRH into the IPv6 Destination Address and decrements the segmentsl list value from one to zero. If Segments Left is 0, then: Updates the Next Header field in the preceding header to the next header value of the SRH. Decreases the IPv6 header Payload Length by 8*(Hdr Ext Len+1) Removes the SRH from the IPv6 extension header chain Proceeds to process the next header in the packet See SRv6 endpoint behavior variants and SRv6 endpoint behavior variants Where performed The PSP operation takes place only at a penultimate SR Segment Endpoint Node and does not happen at non-penultimate endpoint nodes. When a SID of PSP-flavor is processed at a non-penultimate SR Segment Endpoint Node, the PSP behavior is not performed since Segments Left would not be zero. USP is performed only at the ultimate SR Segment Endpoint Node. riggered when the Segments Left field equals 0. USD is performed at the last SR Segment Endpoint Node in the repair path. Applications PSP is used when the Source SR Node instructs the penultimate SR Segment Endpoint Node to remove the SRH from the IPv6 header. The Source SR Node achieves this by using a PSP-flavored SID. One of the applications of the USP flavor is when a packet with an SRH is destined to an application on hosts with smartNICs implementing SRv6. The USP flavor is used to remove the consumed SRH from the extension header chain before sending the packet to the host. One of the applications of the USD flavor is the case of TI-LFA in P routers with encapsulation with H.Encaps. The USD flavor allows the last Segment Endpoint Node in the repair path list to decapsulate the IPv6 header added at the TI-LFA Point of Local Repair and forward the inner packet. Table 7. Key operation for the end behavior of USD Upper-layer header type is ... then ... 41 (IPv6) 1. Removes the outer IPv6 Header with all its extension headers. 2. Submits the packet to the egress IPv6 FIB lookup and transmission to the new destination. 4 (IPv4) 1. Removes the outer IPv6 Header with all its extension headers. 2. Submits the packet to the egress IPv4 FIB lookup and transmission to the new destination. else process as per Section 4.1.1 (Upper-Layer Header) of IETF RFC 8986 SRv6 Network Programming Table 8. Key operation for the End.X behavior of USD Upper-layer header type is ... then ... 41 (IPv6) or 4 (IPv4) 1. Removes the outer IPv6 header with all its extension headers. 2. Forwards the exposed IP packet to the L3 adjacency J. else process as per Section 4.1.1 (Upper-Layer Header) of IETF RFC 8986 SRv6 Network Programming Supported and unsupported features for SRv6 Supported hardware PIDs for SRv6 SRv6 is supported on these Cisco 8000 series Q200-based line cards and fixed-port routers: Cisco 8800 with 88-LC0-36FH-M, 88-LC0-36FH, 88-LC0-34H14FH line cards Cisco 8201-32FH Cisco 8102-64H Cisco 8101-32-FH Cisco 8800 with 88-LC0-36FH-M, 88-LC0-36FH, 88-LC0-34H14FH line cards Cisco 8201-32FH Cisco 8102-64H Cisco 8101-32-FH Supported SRv6 features IGP redistribution/leaking between levels Prefix Summarization on ABR routers IS-IS TI-LFA Microloop Avoidance Flex-algo OAM: Ping and traceroute are supported. Unsupported features for SRv6 SRv6 is not supported on Q100-based line cards and fixed-port routers. SRv6 over GRE interface is not supported SRv6 over BVI interface is not supported Egress marking on the outer header during SRv6 encapsulation operations (TI-LFA) is not supported. Techniques for effective SID management SIDs are a fundamental building block of SRv6, enabling flexible and programmable routing by encoding instructions directly into IPv6 headers. As networks grow in complexity, efficient management of SIDs becomes critical to ensure scalability, reduce overhead, and optimize network operations. SRv6 employs specific techniques to effectively uses the 128-bit SID for optimized network operations. The main techniques are: Micro-SID (uSID): This technique divides a single 128-bit SID into smaller sub-SIDs, referred to as micro-segments. It allows multiple operations to be represented within a single SID, which results in reduced header overhead and improved scalability, particularly useful in environments with limited resources. For more information, see SRv6 Micro-segment (uSID) Overview. Full-Length SID: This technique utilizes a full 128-bit IPv6 address to represent each segment, function, or instruction. This method ensures simplicity and aligns with standard IPv6 routing practices. Difference between full-length SID and uSID Table 9. Comparision of full-length SID and uSID Feature Full-Length SID uSID Definition A full 128-bit IPv6 address used to represent a single segment, function, or instruction. A single 128-bit SID divided into smaller sub-SIDs (micro-segments) to represent multiple operations. Size Each SID uses 128-bits in the SRH. Multiple smaller sub-SIDs are packed into a single 128-bit SID. Header size Larger SRH due to 128-bits per SID. Smaller SRH by encoding multiple operations into fewer SIDs. Examples Each SID is a full 128-bit IPv6 address. ``` SRH = [2001:db8:1::1, 2001:db8:2::1, 2001:db8:3::1] ``` Multiple sub-SIDs are encoded in one 128-bit SID. SRH = [2001:db8:1::1] Reference SRv6 Micro-segment (uSID) Overview Configure Segment Routing over IPv6 (SRv6) with Full-Length SIDs Back to Top Back to Top Was this Document Helpful? Yes No [ Feedback](javascript: void(0);) Customers Also Viewed Hardware Installation Guide for Cisco 8800 Series Routers --- Cisco 8800 Series Routers Overview Hardware Installation Guide for Cisco 8800 Series Routers --- Powering on the Router VPN and Ethernet Services Command Reference for Cisco 8000 Series Routers --- L2VPN Commands 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