debug dataplane packet-diag clear log log

Reply
L4 Transporter

debug dataplane packet-diag clear log log

on 5220 we can see the packet diag logs via

 

less dp0-log pan_packet_diag.log 


IF i run below command

debug dataplane packet-diag clear log log

will that clear the pan packet diag from the DPO?




less dp0-log
bfd.log brdagent.log
dp-monitor.log dp-monitor.log.1
dp-monitor.log.2 dp-monitor.log.3
dp-monitor.log.4 masterd.log
masterd_apps.log masterd_detail.log
mprelay.log mprelay.log.old
pan_comm_0.log pan_comm_0.log.old
pan_dha.log pan_dha.log.old
pan_packet_diag.log pan_task_1.log
pan_task_10.log pan_task_11.log
pan_task_12.log pan_task_13.log
pan_task_14.log pan_task_15.log
pan_task_16.log pan_task_17.log
pan_task_19.log pan_task_2.log
pan_task_20.log pan_task_21.log
pan_task_22.log pan_task_23.log
pan_task_24.log pan_task_25.log
pan_task_26.log pan_task_27.log
pan_task_28.log pan_task_29.log
pan_task_3.log pan_task_30.log
pan_task_31.log pan_task_32.log
pan_task_33.log pan_task_34.log
pan_task_35.log pan_task_36.log
pan_task_37.log pan_task_38.log
pan_task_39.log pan_task_4.log
pan_task_5.log pan_task_6.log
pan_task_7.log pan_task_8.log
pan_task_9.log panio.log
panio.log.old pdtrc.log
rgxgrpsl01dp00.dat rgxstssl01dp004ea6ce1e.dat
rgxstssl01dp006229d667.dat rgxstssl01dp00c327769b.dat
supervisor.log sysdagent.log
tund.log pan_task_18.log
(active)> less dp0-log pan_packet_diag.log
<Enter> Finish input

(active)> less dp0-log pan_packet_diag.log








0


I see no contents in the pan packet diag?

 

MP
L7 Applicator

Re: debug dataplane packet-diag clear log log

@MP18,

Some log files that get generated are simply empty, for example your pan_task_*.log files are probably empty as well, or at least some of them likely are. 

L4 Transporter

Re: debug dataplane packet-diag clear log log

so does command 

 

debug dataplane packet-diag clear log log


will clear all the packet_diag logs?
MP
L4 Transporter

Re: debug dataplane packet-diag clear log log

i tested it does 

MP
L7 Applicator

Re: debug dataplane packet-diag clear log log

@MP18,

Yes, the command clears any of the debug logs you may have. 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!