login: lab
Password:
--- JUNOS 9.6R2.11 built 2009-10-06 20:56:00 UTC
lab> configure
Entering configuration mode
Users currently editing the configuration:
lab terminal d0 (pid 1359) on since 2011-06-11 00:48:19 IST, idle 12:27:15
[edit]
lab terminal p2 (pid 1510) on since 2011-06-11 14:40:34 IST, idle 05:10:52
[edit]
[edit]
lab#
[edit]
lab# set protocols ospf area 0 interface all
[edit]
lab# commit
commit complete
[edit]
lab#
[edit]
lab# edit protocols ospf
[edit protocols ospf]
lab# set traceoptions file testtrace
[edit protocols ospf]
lab# set traceoptions flag all
[edit protocols ospf]
lab# commit
commit complete
[edit protocols ospf]
lab#
[edit]
lab# exit
Exiting configuration mode
lab> monitor start testtrace
lab>
*** testtrace ***
Jun 11 21:23:51.316731 task_timer_dispatch: calling OSPF_internal timer, late by 0.000
Jun 11 21:23:51.316798 task_timer_dispatch: returned from OSPF_internal timer, rescheduled in 0
Jun 11 21:23:51.875790 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Jun 11 21:23:51.875864 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Jun 11 21:23:51.875898 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 21:25:51
Jun 11 21:23:51.875912 OSPF periodic xmit from 22.1.1.2 to 224.0.0.5 (IFL 78 area 0.0.0.0)
Jun 11 21:23:53.415544 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Jun 11 21:23:53.415634 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Jun 11 21:23:53.415663 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 21:25:53
Jun 11 21:23:53.415677 OSPF periodic xmit from 10.141.227.1 to 224.0.0.5 (IFL 3 area 0.0.0.0)
monitor stop
lab>
lab> file list /var/log | match testtrace
testtrace
lab>
lab# set traceoptions flag ?
Possible completions:
all Trace everything
database-description Trace database description packets
error Trace errored packets
event Trace OSPF state machine events
flooding Trace LSA flooding
general Trace general events
graceful-restart Trace graceful restart
hello Trace hello packets
ldp-synchronization Trace synchronization between OSPF and LDP
lsa-ack Trace LSA acknowledgment packets
lsa-analysis Trace LSA analysis
lsa-request Trace LSA request packets
lsa-update Trace LSA update packets
normal Trace normal events
nsr-synchronization Trace NSR synchronization events
on-demand Trace demand circuit extensions
packet-dump Dump the contents of selected packet types
packets Trace all OSPF packets
policy Trace policy processing
route Trace routing information
spf Trace SPF calculations
state Trace state transitions
task Trace routing protocol task processing
timer Trace routing protocol timer processing
[edit protocols ospf]
lab# set traceoptions flag
set protocols ospf traceoptions flag state
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (0)