1. Overview and Background
1.1 Traffic Engineering Evolution and Service Requirements
With the deployment of 5G industry slicing, cloud-network integration, and interconnection between computing centers, backbone and metro networks are moving from best-effort forwarding to differentiated, SLA-bound transport. MPLS-based traffic engineering with RSVP-TE shows architectural limits at large scale. The table compares it with SRv6 TE Policy.
Dimension | RSVP-TE / MPLS TE | SRv6 TE Policy |
|---|---|---|
Control-plane signaling and state | Midpoint nodes keep per-tunnel soft state, refreshed by periodic signaling. State and refresh load grow with the number of tunnels. | Follows the source-routing model of RFC 8402. The path is encoded in the packet header, and transit nodes keep no per-policy state. |
Hardware label stack depth (MSD) | A strict explicit path plus a VPN label and FRR protection labels can exceed the chip's maximum label stack depth (MSD). | 128-bit SIDs are carried in the SRH. BSID stitching and SID compression shorten the segment list. Header cost is 8 B plus 16 B per SID, against 4 B per MPLS label. |
Cross-domain and cloud-network coordination | Depends on the MPLS protocol stack (LDP / RSVP / BGP LU) and cannot directly traverse a native IPv6 cloud data center network. | Uses native IPv6 reachability. Transit nodes that do not support SRv6 forward by standard IPv6 longest-prefix match. |
Multi-dimensional SLA scheduling | Tunnels are bound to services statically. Selection by service attributes (latency, bandwidth, jitter, affinity) is limited. | The Color extended community maps a service's SLA requirement to an SRv6 TE Policy automatically. Failover time depends on the protection mechanisms in Section 5 and their detection settings. |
1.2 Definition and Function of SRv6 TE Policy
SRv6 TE Policy is a traffic engineering technology based on RFC 8986 (SRv6 Network Programming) and RFC 9256 (Segment Routing Policy Architecture). The source node steers packets into a Segment Routing Header (SRH), which provides path selection, path switchover, and backup protection during forwarding.

The example topology uses centralized path computation by a controller. PE1 is the source node, PE4 is the destination node, and P1, P2, PE2, and PE3 are in between.
Node End SIDs
Node | End SID |
|---|---|
PE1 | 2001:DB8:1::1 |
PE2 | 2001:DB8:2::2 |
P1 | 2001:DB8:3::3 |
P2 | 2001:DB8:4::4 |
PE3 | 2001:DB8:5::5 |
PE4 | 2001:DB8:6::6 |
Link End.X SIDs
Link | End.X SID |
|---|---|
PE1 → P1 | 2001:DB8:1::13 |
PE1 → PE2 | 2001:DB8:1::12 |
PE2 → P2 | 2001:DB8:2::24 |
P1 → P2 | 2001:DB8:3::34 |
P1 → PE3 | 2001:DB8:3::35 |
P2 → PE4 | 2001:DB8:4::46 |
PE3 → PE4 | 2001:DB8:5::56 |
SRv6 TE Policy workflow: controller, PE1–PE4 and three paths
End-to-end workflow
Collect topology: devices report network topology and SID information to the controller.
Path computation: the controller computes several differentiated paths for different SLA requirements.
Path advertisement: the controller sends three SRv6 TE Policies to headend PE1. They share one Endpoint (PE4) and differ in Color:
Policy | Color (path property) | Candidate Path 10 Segment List | Path |
|---|---|---|---|
1 | Green (low latency) | 2001:DB8:1::13, 2001:DB8:3::34, 2001:DB8:4::46, 2001:DB8:6::6 | PE1 → P1 → P2 → PE4 |
2 | Blue (high bandwidth) | 2001:DB8:1::12, 2001:DB8:2::24, 2001:DB8:4::46, 2001:DB8:6::6 | PE1 → PE2 → P2 → PE4 |
3 | Red (low packet loss) | 2001:DB8:1::13, 2001:DB8:3::35, 2001:DB8:5::56, 2001:DB8:6::6 | PE1 → P1 → PE3 → PE4 |
Path selection: PE1 selects the policy that matches the service (Policy 1 in this example) and uses it to encapsulate packets.
Instruction: PE1 pushes an SRH carrying the selected Segment List and forwards the packet hop by hop along the specified path.
Each Segment List above has 4 SIDs, which is 64 B of SID list plus the 8 B SRH fixed header.
1.3 Scope and Notes
This article covers the SRv6 TE Policy model, Segment List creation, traffic steering mechanisms, and high-availability protection.
SRv6 TE processing ends at the egress PE. Beyond it, traffic is forwarded as ordinary IPv4 or IPv6.
The mechanisms apply inside one SRv6 domain, or across domains joined at controlled borders. Packets carrying an SRH must be permitted end to end, and the SRH filtering policy at domain boundaries is defined in RFC 8754.
Path computation algorithms in the controller are outside this article. RFC 9830 defines how BGP advertises SR Policies to the headend, and RFC 9857 defines BGP-LS reporting of SR Policy state.
2. SRv6 TE Policy Model and Components
2.1 The Identifying Triple
Following RFC 9256, an SRv6 TE Policy is identified by the triple {Headend, Color, Endpoint}:
Headend (source node): brings service packets into the SRv6 TE Policy and encapsulates the SRH that guides them along the selected path.
Color: the extended community attribute of the forwarding path. It distinguishes several SRv6 TE Policies between the same Headend and Endpoint, and represents a service quality requirement such as low latency or high bandwidth.
Endpoint (destination node): the IPv6 address of the policy's destination, usually the egress PE's loopback address.
2.2 Hierarchy and Path Selection
An SRv6 TE Policy consists of an optional BSID and several Candidate Paths with different priorities. Each Candidate Path holds one or more forwarding paths identified by a Segment List.

Component | Required | Attributes and path selection |
|---|---|---|
BSID (Binding SID) | No | A SID associated locally with a specific SRv6 TE Policy. If a received packet's destination IPv6 address is the BSID, the device forwards the traffic through that policy. |
Candidate Path | Yes | A policy can contain one or more Candidate Paths, each with a Preference. When forwarding through the policy, the device selects the valid Candidate Path with the highest Preference as the active path. |
Segment List | Yes | The SID list holds the forwarding path, an ordered list of node SIDs (IPv6 addresses). A Candidate Path has one Segment List, or several Segment Lists with weights. After a Candidate Path is selected, the device load-shares across its Segment Lists by their weights (ECMP or weighted ECMP). |
3. Segment List Creation
The configuration examples in Sections 3 and 4 use the following topology. PE1 and PE2 are the edge nodes. P1 to P4 are transit nodes with SIDs fc00:0:21:: to fc00:0:24::. The underlay is IS-IS, and PE1 and PE2 peer over MP-BGP.
Topology for segment lists: PE1, P1–P4, PE2, CE1 and CE2
3.1 Basic TE Policy Configuration
On source node PE1, four Segment Lists are defined statically and bound to four SRv6 TE Policies with Colors 100 to 400:

segment-list p1-p2
index 0 ipv6-address fc00:0:21::
index 1 ipv6-address fc00:0:22::
exit
segment-list p1-p4
index 0 ipv6-address fc00:0:21::
index 1 ipv6-address fc00:0:24::
exit
segment-list p3-p2
index 0 ipv6-address fc00:0:23::
index 1 ipv6-address fc00:0:22::
exit
segment-list p3-p4
index 0 ipv6-address fc00:0:23::
index 1 ipv6-address fc00:0:24::
exit
policy p1 color 100 endpoint fc33:0:1::1
candidate-path 0 preference 10 explicit segment-list 0 p1-p2
exit
policy p2 color 200 endpoint fc33:0:1::1
candidate-path 0 preference 10 explicit segment-list 0 p1-p4
exit
policy p3 color 300 endpoint fc33:0:1::1
candidate-path 0 preference 10 explicit segment-list 0 p3-p2
exit
policy p4 color 400 endpoint fc33:0:1::1
candidate-path 0 preference 10 explicit segment-list 0 p3-p4
exitWhy is the SID of tail node PE2 not in the static Segment List? With BGP route recursion to the TE Policy, the system appends the tail-end VPN SID carried by the BGP route to the end of the Segment List, so it does not need to be repeated in the static list. With static route steering, no BGP route advertises a VPN SID, so the Segment List (or the segments parameter of the static route) must contain the full path, including the tail-end VPN SID.
3.2 ECMP and Weighted ECMP
Several Segment Lists can be bound under one Candidate Path for equal-cost load sharing (ECMP) or load sharing in proportion to their weights:
// ECMP
policy p1 color 100 endpoint fc33:0:1::1
candidate-path 0 preference 10 explicit segment-list 0 p1-p2
candidate-path 0 preference 10 explicit segment-list 1 p3-p4
exit
// Weighted ECMP, 1:3
policy p1 color 100 endpoint fc33:0:1::1
candidate-path 0 preference 10 explicit segment-list 0 p1-p2 weight 1
candidate-path 0 preference 10 explicit segment-list 1 p3-p4 weight 3
exitWeights 1 and 3 send 25% of the traffic over p1-p2 and 75% over p3-p4.
4. Traffic Steering Mechanisms and Implementation
4.1 BSID Steering (SID Stitching)
If a received packet's destination IPv6 address is a policy's BSID, the packet is forwarded through that SRv6 TE Policy. BSID steering is used for SID stitching (Policy Stitching) across domains or on long paths: one policy's SID list contains the BSID of another policy, which shortens the SRH during forwarding.

Example: PE1 — P1 — ASBR1 — ASBR2 — P2 (2001:db8:4::1) — PE2.
Without BSID stitching: headend PE1 encapsulates the full 5-SID list: 2001:db8:1::1, 2001:db8:2::1, 2001:db8:3::1, 2001:db8:4::1, 2001:db8:5::1 (80 B).
With BSID stitching: PE1 encapsulates 3 SIDs: 2001:db8:1::1, 2001:db8:2::1, 2001:db8:3::100 (48 B).
When the packet reaches ASBR2, ASBR2 finds that the outer destination address is its local BSID 2001:db8:3::100 and continues forwarding on the second policy: 2001:db8:4::1, 2001:db8:5::1. The list is 32 B (40%) shorter.
Functions of BSID stitching:
Shorter SRH: PE1 does not need the internal topology of the remote domain, only the BSID of its entry. On cross-domain and long paths this reduces header overhead.
Domain isolation and independent policy: the operator of the second domain can change its internal path, for example from ASBR2 to ASBR3 for maintenance, without any change in the first domain.
Simpler headend computation: the headend does not keep the SID information of the remote domain, only the entry BSID.
4.2 Color Steering (Automatic BGP Route Recursion)

Color steering uses the Color extended community and the next hop of a BGP route. If the headend has an SRv6 TE Policy whose Color and Endpoint equal the route's Color extended community and next hop, the BGP route is recursed to that policy:
Source node PE1 has policy p1 configured statically, with Color 100 and Endpoint fc33:0:1::1 (the address of PE2).
Tail node PE2 advertises BGP VPNv4 route 2.2.2.2/32 with Color extended community 100 (00:100) and next hop fc33:0:1::1.
PE1 receives the route, matches Color 100 and next hop fc33:0:1::1, and recurses the route to p1. Packets matching the route are forwarded through p1.
PE1 configuration: the same as in Section 3.1.
PE2 configuration:
route-map color100 permit 1
set extcommunity color 00:100
exit
router bgp 1 vrf 10
bgp router-id 3.3.3.3
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
neighbor 10.1.1.1 remote-as 2
address-family ipv4 unicast
nexthop vpn export fc33:0:1::1
redistribute connected
neighbor 10.1.1.1 activate
sid vpn export auto
rd vpn export 3:20
rt vpn both 88:88
route-map vpn export color1004.3 Flow-Based PBR Steering (DSCP / Flow Label)

Policy-based routing (PBR) on DSCP or Flow Label works as follows:
Source node PE1 has two SRv6 TE Policies configured statically toward PE2 (fc33:0:1::1): p1 with Color 100 and p2 with Color 200.
PBR on PE1 matches dscp=40 with dst-ip=1000::1/128 and steers the traffic to policy p1 (Color 100). It matches flow-label=100 with dst-ip=2000::1/128 and steers the traffic to policy p2 (Color 200).
A packet to 1000::1/128 with dscp=40 is forwarded on the path of p1. A packet to 2000::1/128 with flow-label=100 is forwarded on the path of p2.
PE1 PBR configuration:
pbr-map mp seq 1
match dscp 40
match dst-ip 1000::1/128
set srv6-te-policy color 100 endpoint fc33:0:1::1
exit
!
pbr-map mp seq 2
match dst-ip 2000::1/128
match flow-label 100
set srv6-te-policy color 200 endpoint fc33:0:1::1
exit
!
interface ethernet 1
pbr-policy mp
exit4.4 Static Route Steering

Static route steering has two configuration modes. The CE1 subnet is 10.0.0.0/24 and the CE2 subnet is 20.0.0.0/24.
Static route steering topology with CE1 and CE2 subnets
Mode 1: static route with the
segmentsparameter, which gives the full path including the tail-end VPN SID (fc00:0:3:2::):
! PE1
vrf 10
ip route 20.0.0.0/24 ethernet 2 nexthop-vrf default segments fc00:0:21::/fc00:0:22::/fc00:0:3:2::Mode 2: create a TE Policy on the device whose Segment List includes the tail-end VPN SID (fc00:0:1:1::), then give the static route a
colorso that it recurses to the policy:
! PE2
segment-list p2-p1-pe1
index 0 ipv6-address fc00:0:22::
index 1 ipv6-address fc00:0:21::
index 2 ipv6-address fc00:0:1:1::
exit
policy p1 color 200 endpoint fc11:0:1::1
candidate-path 1 preference 10 explicit segment-list 0 p2-p1-pe1
exit
vrf 10
ip route 10.0.0.0/24 fc11:0:1::1 nexthop-vrf default color 2005. TE Policy Protection and High Availability
The examples in this section use a topology with PE1, P1, P2, P3, P4, PE2, and PE3. CE1 attaches to PE1 in vpn1, and CE2 attaches to PE2 and PE3.
5.1 Local Protection
5.1.1 TI-LFA Protection

Condition and mechanism: when the next-hop node fails and the failed node is not in the policy's explicit Segment List, TI-LFA provides an explicit backup path around the failure.
Example: the primary path is the loose path SRv6 TE Policy
<P3, PE2>. P1 is not in the Segment List, but PE1's primary next hop toward P3 goes through P1. If P1 fails, PE1 uses the precomputed TI-LFA path through P2 and P4 to reach P3, and P3 forwards to PE2.
TI-LFA bypass of failed P1 for policy <P3, PE2>
5.1.2 Intermediate Node Protection

Condition and mechanism: when a node that is explicitly specified as an intermediate Endpoint in the Segment List fails, ordinary TI-LFA cannot take effect, because the outer destination address is the failed node itself. The repair skips the failed node and looks up the next SID in the Segment List.
Example: the primary path is the explicit path SRv6 TE Policy
<P1, P3, PE2>, and P1 is in the Segment List. If P1 fails, TI-LFA cannot bypass it. The headend skips P1's SID and uses P3's SID as the new outer IPv6 destination address. The packet goes through P2 and P4 to P3, then to PE2. The repaired path follows the IGP shortest path to the next SID and does not keep any constraint that the skipped SID expressed.
Intermediate node protection for policy <P1, P3, PE2>
5.2 End-to-End Protection
5.2.1 Hot-Standby Protection (Standby Candidate Path in the Same Policy)

Mechanism: within one SRv6 TE Policy, a standby Candidate Path protects the active Candidate Path. SBFD / one-arm BFD detection must be configured.
Example: the policy has two Candidate Paths. Candidate Path 1 is
<P1, P3, PE2>. Candidate Path 2 is the standby path, which avoids P1 and reaches PE2 through P2 and P4. P1 is in the Segment List of the active path. When SBFD / one-arm BFD detects that the failure of P1 has made the active path invalid, traffic switches end to end to Candidate Path 2.
5.2.2 VPN FRR Protection (Egress Backup Across Policies)

Mechanism: within one VPN instance, one SRv6 TE Policy protects another that points to a different egress PE. SBFD / one-arm BFD detection must be configured.
Example: CE2 is dual-homed to PE2 and PE3, and the private routes advertised by CE2 reach both PEs. At headend PE1, each route has two BGP next hops, and each is recursed to its own policy:
Primary: SRv6 TE Policy 1, Endpoint PE2,
<P1, P3, PE2>Protection: SRv6 TE Policy 2, Endpoint PE3,
<P2, P4, PE3>
If P1 (or egress PE2) on the primary path fails, PE1 switches the service through VPN FRR to the path of Policy 2, and traffic reaches CE2 through PE3.
VPN FRR: Policy 2 to PE3 protects Policy 1 to PE2
5.2.3 SRv6 BE Fallback Protection

Mechanism: the ordinary IGP shortest path (SRv6 BE) serves as the last-resort path for all SRv6 TE Policies.
Example: Policy 1 (Endpoint PE2,
<P1, P3, PE2>) is the primary and Policy 2 (Endpoint PE3,<P2, P4, PE3>) is the backup. When P1 and PE3 fail at the same time, both explicit policies are down. PE1 falls back to SRv6 BE and forwards on the IGP shortest path (PE1 → P2 → P4 → P3 → PE2) to keep the service up. The fallback path follows IGP cost only, so the SLA expressed by the policies is not preserved.
SRv6 BE fallback when both P1 and PE3 fail
6. Hardware Platforms
The platforms are fixed-configuration switches with 25GE, 100GE, 200GE, and 400GE ports. Compression mode differs by model: CX764Q-MX, CX204Q2D-16Y-MX, and CX204Q2D-16Y-PTP-MX support u-SID compression; CX732Q-M, CX732Q-PTP-M, CX532P-M, and CX532P-PTP-M support g-SID compression. PTP variants have the same specifications as their base models, plus a PTP module.
Product Model | Description |
|---|---|
CX764Q-MX | 64 × 400GE QSFP112, 1 × 25G SFP28, CRPS power supplies 1+1, 110V/220V AC or 240V DC, fans 3+1, front-to-back airflow |
32 × 400G QSFP-DD, 2 × 10G SFP+, SLIM power supplies 1+1, 110V/220V AC or 240V DC, fans 5+1, Optional PTP module | |
32 × 100G/40G QSFP28, 2 × 10G SFP+, CRPS power supplies 1+1, 110V/220V AC or 240V DC, fans 4+1, Optional PTP module | |
CX204Q2D-16Y-MX | 4 × 400G QSFP-DD, 2 × 200GE QSFP56, 16 × 25G/10G SFP28, 2 fixed power supplies, 110V/220V AC or 240V DC, fans 3+1, Optional PTP module |
8 × 100G/40G QSFP28, 48 × 25G/10G SFP28, CRPS power supplies 1+1, 110V/220V AC or 240V DC, fans 3+1, Optional PTP module | |
CX308P-48Y-MX | 8 × 100G/40G QSFP28, 48 × 25G/10G SFP28, CRPS power supplies 1+1, 110V/220V AC or 240V DC, fans 4+1 |
Devices that exchange compressed SID lists must use the same compression mode, so the mode is a selection criterion in a mixed network.