To trace RSVP protocol traffic, include the traceoptions statement:
-
traceoptions {
- file filename <replace> <size size> <files number> <no-stamp>
<world-readable | no-world-readable>;
- flag flag <flag-modifier> <disable>;
- }
You can include this statement at the following hierarchy levels:
Use the file statement to specify the name of the file that receives the output of the tracing operation. All files are placed in the directory /var/log. We recommend that you place RSVP tracing output in the file rsvp-log.
You can specify the following RSVP-specific flags in the RSVP traceoptions statement:
For general information about tracing and global tracing options, see the JUNOS Routing Protocols Configuration Guide.
Trace RSVP path messages in detail:
- [edit]
- protocols {
-
- rsvp {
-
- traceoptions {
- file rsvp size 10m files 5;
- flag path;
- }
- }
- }
Trace all RSVP messages:
- [edit]
- protocols {
-
- rsvp {
-
- traceoptions {
- file rsvp size 10m files 5;
- flag packets;
- }
- }
- }
Trace all RSVP error conditions:
- [edit]
- protocols {
-
- rsvp {
-
- traceoptions {
- file rsvp size 10m files 5;
- flag error;
- }
- }
- }