TE attributes configured for links are advertised to IS-IS. IS-IS advertises these attributes to BGP-LS, which then advertises them to a controller. This enables the controller to adjust links based on the TE attributes during SRv6 TE Policy calculation.
TE link attributes are as follows:
Link bandwidth
This attribute is mandatory if you want to limit the bandwidth of a path of an SRv6 TE Policy.
Link-specific TE metric
The IGP metric or link-specific TE metric can be used for SRv6 TE Policy computation by a controller. This makes SRv6 TE Policy computation more independent of the IGP, facilitating path control.
Administrative group and affinity attribute
The affinity attribute of an SRv6 TE Policy determines the link attributes used by the policy. The administrative group and affinity attribute are used together to determine the links that can be used by the policy.
SRLG
A shared risk link group (SRLG) is a group of links that share a public physical resource, such as an optical fiber. Links in an SRLG are at the same risk of faults. If one of the links fails, other links in the SRLG also fail.
An SRLG enhances SRv6 TE Policy reliability on a network with CR-LSP hot standby or TE FRR enabled. Links that share the same physical resource have the same risk. For example, links on an interface and its sub-interfaces are in an SRLG. The interface and its sub-interfaces have the same risk. If the interface goes down, its sub-interfaces will also go down. If the link of the primary path of an SRv6 TE Policy and the links of the backup paths of the SRv6 TE Policy are in an SRLG and the primary path goes down, the backup paths will most likely go down.
To support SRv6 TE Policy over GRE, you can configure TE attributes on the desired GRE tunnel interface.
In real-world applications, link bandwidth only needs to be configured for outbound interfaces along the links of an SRv6 TE Policy that requires sufficient bandwidth.