Name
traceoptions
traceoptions {
file name <size size> <files number> > <(world-readable | no-world-
readable)>;
flag flag <flag-modifier> <disable>;
}Hierarchy level
| [edit protocols bfd] |
| [edit protocols bgp] |
| [edit protocols isis] |
| [edit protocols ldp] |
| [edit protocols ospf] |
| [edit protocols ospf3] |
| [edit protocols pim] |
| [edit protocols rip] |
| [edit protocols ripng] |
| [edit routing-options] |
Description
Define tracing operations that track NSR functionality in the router. To specify more than one tracing operation, include multiple flag statements.
Default
If you do not include this statement, no global tracing operations are performed.
Options
disable(Optional) Disable the tracing operation. You can use this option to disable a single operation when you have defined a broad group of tracing operations, such as
all.file nameName of the file to receive the output of the tracing operation. Enclose the name within quotation marks. All files are placed in the directory /var/log. We recommend that you place global routing protocol tracing output in the file routing-log.
files number(Optional) Maximum number of trace files. When a trace file named trace-file reaches its maximum size, it is renamed trace-file.0, then trace-file.1, and so on, until the maximum number of trace files is reached. Then the oldest trace file is overwritten. Range: 2–1,000 files. Default: two files.
Note
If you specify a maximum number of files, you also must
specify a maximum file size with the size option.
flag flagTracing operation to perform. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access