Step 1: Configure RSVP Tracing
Action
To configure a log file and specify RSVP tracing flags, follow these steps:
- In configuration mode, go to the following hierarchy level:
[edit]user@host#edit protocols rsvp- Configure a log file:
[edit protocols rsvp]user@host#set traceoptions filefilename- Depending on your situation, specify the appropriate RSVP-specific tracing flag from Table 17. For example:
[edit protocols mpls]user@host#set traceoptions flag path detail- Verify and commit the configuration:
user@host#showuser@host#commitSample Output
user@R1>editEntering configuration mode[edit]user@R1#edit protocols rsvp[edit protocols rsvp]user@R1#set traceoptions file rsvp-log[edit protocols rsvp]user@R1#set traceoptions flag error detail[edit protocols rsvp]user@R1#set traceoptions flag path detail[edit protocols rsvp]user@R1#set traceoptions flag pathtear detail[edit protocols rsvp]user@R1#showtraceoptions {file rsvp-log;flag error detail;flag path detail;flag pathtear detail;}interface so-0/0/2.0;interface fxp0.0 {disable;}[edit protocols rsvp]user@R1#commitcommit completeWhat It Means
The sample output shows the configuration of RSVP tracing on ingress router
R1. The log filersvp-logcontains all the information gathered for the configured flags. In the sample output, three flags are configured:error,path, andpathtear. All flags are configured with thedetailoption. Each flag that you configure provides slightly different information about RSVP traffic. Theerrorflag traces all detected error conditions, thepathflag traces all Path messages, and thepathtearflag traces PathTear messages. Thedetailoption shows granular details about the flag included in the configuration. .
NOTE: Use the tracing flags
detailandallwith caution. These flags may cause the central processing unit (CPU) to become very busy.
Table 17 shows the tracing flags you can configure at the
[edit protocols rsvp traceoptions]hierarchy level.
For information about examining an RSVP log file, see Examining RSVP Log Messages and Examining RSVP Error Messages.