Purpose
When the output of the show mpls lsp extensive command indicates that the CSPF algorithm has failed, configuring CSPF tracing on the ingress router can often provide more information about the problem.
Action
On the ingress router, to configure a log file and specify MPLS tracing flags, follow these steps:
Sample Output
[edit protocols mpls]
user@R1# show
traceoptions {
file cspf;
flag cspf;
flag cspf-link;
flag cspf-node;
}
label-switched-path R6-to-R1 {
to 10.0.0.1;
}
interface so-0/0/0.0;
interface so-0/0/1.0;
interface so-0/0/2.0;
interface so-0/0/3.0;
Meaning
The sample output shows a typical CSPF tracing configuration. The log file cpsf contains all the information gathered for each configured flag. Each flag provides slightly different information about CSPF computations. The cspf flag traces CSPF computations only; the cspf-link flag traces links visited during CSPF computations, and the cspf-node flag traces nodes visited during CSPF computations. See Examining the CSPF Log File for information about examining a CSPF log file.