OcNOS-SP : Troubleshooting Guide : Segment Routing : Segment Routing Policy
Segment Routing Policy
 
Symptom/Cause
Solution
SR Policy is not coming up
Use this command:
show segment-routing policy detail
 
Make sure color end-point key is configured and at least one candidate path is configured.
If SR Policy is not coming up with explicit path
Use the above command and "show mpls ilm-table" and make sure first SID of explicit segment-list is present in the ILM-table.
If SR Policy is not coming up with dynamic-path
Use this command:
show cspf lsp
 
It shows the CSPF computation related information.
If the state is compute, wait for next retry. In case next retry is also unsuccessful, Make sure end-to-end reachability is there, segment-routing is enabled in all the transit nodes, Prefix-SID is configured end-point.
If SR Policy is not coming up with dynamic-path and IP constraint
Use above command and make sure, Prefix-SID is configured for constraint, If the constraint is specified for Node constraint (loopback IP), make sure Node's router-id is same as loopback IP address.
 
To verify if Node-SID is present as an active entry, "show mpls forwarding-table" can be checked.
If SR Policy is not coming up with dynamic-path and affinity
Make sure above mentioned things are fine and mentioned affinities are correctly configured on all the transit nodes and respective interfaces.
If SR Policy is not coming up with dynamic PCE
Make sure the PCE entity attached to the policy is configured correctly in the PCE configuration mode.
Also ensure that the PCEP session is up with this entity.
Last modified date: 06/08/2023