Tracing RIP Protocol Traffic

You can trace various types of RIP protocol traffic to help debug RIP protocol issues. To trace RIP protocol traffic include the traceoptions statement at the [edit protocols rip] hierarchy level:

traceoptions {file filename <files number> <size size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}

You can specify the following RIP protocol-specific trace options using the flag statement:

You can optionally specify one or more of the following flag modifiers:

Global tracing options are inherited from the configuration set by the traceoptions statement at the [edit routing-options] hierarchy level. You can override the following global trace options for the RIP protocol using the traceoptions flag statement included at the [edit protocols rip] hierarchy level:

Note: Use the trace flag all with caution because this may cause the CPU to become very busy.

Example: Tracing RIP Protocol Traffic

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;}}}

Related Topics