ONTAP Discussions

cDOT: downloading pktt trace files

boilermaker98

I've dumped network traces to disk using the command 'system node run -node cluster02-02 -command pktt dump', the trace files are listed in the output of 'pktt list'. However when I go to 'https://cluster.intranet.net/spi/cluster02-02/' there is no directory listing. I've also tried downloading the files using the trace file name, for example 'https://cluster.intranet.net/spi/cluster02-02/filename.trc', but nothing happens. Is there a way to download trace files written to / on the node?

 

I am using a user account that has HTTPS access and I've confirmed by downloading files in /etc/crash and /etc/mlog.

3 REPLIES 3

Sebastian_Goetze

If someone is using newer ONTAP versions, there's a new ONTAP 9.2+ network tcpdump command. The traces are stored in a subdirectory of the log directory:

 

To show packet trace files:
::> network tcpdump trace show
Packet traces are stored in the following path:
/mroot/etc/log/packet_traces

 

Hope that helps

 

Sebastian

Palkoc

Hi,

in case you have more files, you can use wget to download all of them at once:

 

wget -r -l1 --no-check-certificate --no-parent 'https://admin:<password>@<cluste_ip>/spi/<node>/etc/crash/'

 

Pavol

JGPSHNTAP

When you are running your packet trace, depening on the node, you need to point it to a directory

 

so for example

 

pktt -d /etc/crash - then when you access your SPI, they are located in there

 

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public