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


Step 7: Remove the Tracing Configuration

Purpose

It is considered best practice to remove any configuration elements that are no longer required, such as tracing configurations.

Action

To remove the tracing configuration, enter the following JUNOS CLI commands:

user@R5> edit 
[edit protocols rsvp]
user@R5# show 
user@R5# delete traceoptions
user@R5# show 
user@R5# commit 

Sample Output 1

user@R5> edit 
Entering configuration mode

[edit]
user@R5# edit protocols rsvp 

[edit protocols rsvp]
user@R5# show 
traceoptions {
    file rsvp-log;
    flag error detail;
    flag path detail;
    flag pathtear detail;
}
interface so-0/0/3.0;
interface so-0/0/1.0;
interface so-0/0/2.0;
interface fxp0.0 {
    disable;
}

[edit protocols rsvp]
user@R5# delete traceoptions 

[edit protocols rsvp]
user@R5# show 
interface so-0/0/3.0;
interface so-0/0/1.0;
interface so-0/0/2.0;
interface fxp0.0 {
    disable;
}

[edit protocols rsvp]
user@R5# commit 
commit complete

What It Means

The sample output from egress router R5 shows that tracing is deleted from the R5 configuration. In addition, the tracing configuration was removed from all routers (not shown).

NOTE: Use the trace options detail flag with caution because it may cause the CPU to become very busy.



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