> I would like to know how to trace MPLS and LDP to a file It looks like you should be able to specify whatever file you want the MPLS traces to go to....Have you tried this below?
http://www.juniper.net/techpubs/software/junos/junos53/swconfig53-mpls-apps/html/mpls-miscellaneous-config6.html -- Sincerely, Candace Phelps 3rd Yr Honors CS Student Quoting Misty MSt <[EMAIL PROTECTED]>: > > Hi, > > I would like to know how to trace MPLS and LDP to a file instead of stdout, > looking at the test-file-suite i couldnt find any way. So far im using those > lines to trace mpls/ldp. > > > Agent/LDP set trace_ldp_ 1 > > Classifier/Addr/MPLS set trace_mpls_ 1 > > > > but those output to stdout, and when i use: > > set tr [open out.tr w] > > $ns trace-all $tr > > I dont get MPLS traces inside the file. > > > > Do i need to call the trace_mpls_ functions before $ns trace-all , or it > doesnt really matter? > > > > Thanks in advance, > >