The segment-list command creates a segment list for a candidate path and displays the segment list view.
The undo segment-list command deletes a segment list.
By default, no segment list is created for a candidate path.
Usage Scenario
To create a segment list for a candidate path, run the segment-list command in the system view. Then, you can run the segment-list command in the candidate path view to reference the segment list, thereby associating the segment list with the corresponding SR-MPLS TE Policy.