2016-02-10 10:59 AM
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.
2016-02-10 12:32 PM
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
2018-02-16 07:01 AM
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/'
2018-02-16 08:32 AM - edited 2018-02-16 08:34 AM
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:
Hope that helps