Describes how protected-only, protected-preferred, unprotected-only, and unprotected-preferred constraints control SID-list encoding and TI-LFA coverage for dynamic SRv6-TE candidate paths.
Segment protection-type behavior is a feature that
-
introduces the ability to control whether protected or unprotected segments are used
-
influences the encoding of the SID-list of an SRv6 policy candidate path, and
-
determines whether failures along the path are protected by TI-LFA.
Segment Types
The types of segments that can be used when building a SID-list include uSIDs and adjacency SIDs (uA SIDs).
-
Prefix SID: A global segment that represents a prefix identifying a specific node. A prefix SID is programmed with a backup path computed by the Interior Gateway Protocol (IGP) using Topology-Independent Loop-Free Alternate (TI-LFA).
-
Adjacency SID: A local segment that represents an IGP adjacency. An adjacency SID can be programmed with or without protection. Protected adjacency SIDs are programmed with a link-protectant backup path computed by the IGP (TI-LFA) and are used if the link associated with the IGP adjacency fails.
Prefix SIDs and adjacency SIDs can be leveraged as segments within a SID-list to forward a packet along a path traversing specific nodes and/or over specific interfaces between nodes. The specific type of segment used when encoding the SID-list will determine whether failures along the path would be protected by TI-LFA. This capability allows operators to offer either unprotected or protected services over traffic engineered paths, depending on their service offerings.
Segment protection-type constraint behaviors
These behaviors are available with the segment protection-type constraint:
-
protected-only: The SID-list must be encoded using protected segments.
-
protected-preferred: The SID-list should be encoded using protected segments if available; otherwise, the SID-list may be encoded using unprotected Adj-SIDs. This is the default behavior when no segment protection-type constraint is specified.
-
unprotected-only: The SID-list must be encoded using unprotected Adj-SID.
-
unprotected-preferred: The SID-list should be encoded using unprotected Adj-SID if available, otherwise SID-list may be encoded using protected segments.