[Contents] [Prev] [Next] [Index] [Report an Error]


Trace RIP Protocol Traffic

To trace RIP protocol traffic, you can specify options in the global traceoptions statement at the [edit routing-options] hierarchy level, and you can specify RIP-specific options by including the traceoptions statement:

[edit protocols rip]
traceoptions { 
    file name <replace> <size size> <files number> <no-stamp> 
        <(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:

For general information about tracing and global tracing options, see Trace Global Routing Protocol Operations.

Example: Trace 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;
        }
    }
}

[Contents] [Prev] [Next] [Index] [Report an Error]