A common configuration traces SPF calculations, LSP calculations, normal protocol operations, and errors in protocol operation:
- [edit]
- protocols {
-
- isis {
-
- traceoptions {
- file isis-log size 1m files 10;
- flag spf;
- flag lsp;
- flag error;
- flag normal;
- }
- }
- }
Trace only unusual or abnormal operations to the file routing-log, and trace detailed information about all IS-IS packets to the file isis-log:
- [edit]
- routing-options {
-
- traceoptions {
- file routing-log;
- }
- }
- protocols {
-
- isis {
-
- traceoptions {
- file isis-log size 10k files 5;
- flag csn detail;
- flag hello detail;
- flag lsp detail;
- flag psn detail;
- }
- }
- }
Perform detailed tracing of mesh-group flooding:
- [edit]
- protocols {
-
- isis {
-
- traceoptions {
- file isis-log;
- flag lsp detail;
- }
- }
- }
IS-IS LSP packets that contain errors are discarded by default. To log these errors, specify the error tracing operation:
- [edit]
- protocols {
-
- isis {
-
- traceoptions {
- file isis-log;
- flag error;
- }
- }
- }