The segment-routing policy-template command creates an SR Policy attribute template.
The undo segment-routing policy-template command deletes an SR Policy attribute template.
By default, no SR Policy attribute template is created.
Usage Scenario
An SR Policy attribute template can be configured to enable or disable the traffic statistics collection, fault detection, BFD, BFD bypass, and hot standby functions for an SR Policy. After the configuration is complete, the candidate paths of the SR Policy can reference the SR Policy attribute template.