To trace RIP protocol traffic, you can specify options in the global traceoptions statement included at the [edit routing-options] hierarchy level, and you can specify RIP-specific options by including the traceoptions statement:
-
traceoptions {
- file filename <size size> <files number> <(world-readable
| no-world-readable)>;
- flag flag <flag-modifier> <disable>;
- }
For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.
You can specify the following RIP-specific options in the RIP traceoptions statement:
![]() |
Note: Use the trace flags detail and all with caution. These flags may cause the CPU to become very busy. |
For general information about tracing and global tracing options, see Tracing Global Routing Protocol Operations.
Trace only unusual or abnormal operations to /var/log/routing-log, and trace detailed information about all RIP packets to /var/log/rip-log:
- [edit]
- routing-options {
-
- traceoptions {
- file /var/log/routing-log;
- flag errors;
- }
- }
- protocols {
-
- rip {
-
- traceoptions {
- file /var/log/rip-log;
- flag packets detail;
- }
- }
- }