SR-MPLS TE Policy is a tunneling technology developed based on SR.
An SR-MPLS TE Policy can either be manually configured on a forwarder through CLI or NETCONF, or be delivered to a forwarder after being dynamically generated by a protocol, such as BGP, on a controller. The dynamic mode facilitates network deployment.
The candidate paths in an SR-MPLS TE Policy are identified using <Protocol-Origin, originator, discriminator>. If SR-MPLS TE Policies generated in both modes exist, the forwarder selects an SR-MPLS TE Policy based on the following rules in descending order:
Protocol-Origin: The default value of Protocol-Origin is 20 for a BGP-delivered SR-MPLS TE Policy and is 30 for a manually configured SR-MPLS TE Policy. A larger value indicates a higher preference.
Distinguisher: A larger value indicates a higher preference. For a manually configured SR-MPLS TE Policy, the value of Distinguisher is the same as the preference value.
The process for a controller to dynamically generate and deliver an SR-MPLS TE Policy to a forwarder is as follows:
The controller collects information, such as network topology and label information, through BGP-LS.
The controller and headend forwarder establish an IPv4 SR-MPLS TE Policy address family-specific BGP peer relationship.
The controller computes an SR-MPLS TE Policy and delivers it to the headend forwarder through the BGP peer relationship. The headend forwarder then generates SR-MPLS TE Policy entries.
Before configuring an SR-MPLS TE Policy, complete the following tasks:
Configure an IGP to ensure that all nodes can communicate with each other at the network layer.
Configure a routing protocol between the controller and forwarder to ensure that they can communicate with each other.