I have tried without success to capture to NVRAM on a Dell 2024. Here's what I have tried:
enable
configure
monitor capture file size 512
monitor capture mode file
exit
monitor capture start
<generate traffic ...>
monitor capture stop
copy flash://cpuPktCapture.pcap scp://<user>@<ip>/home/pi/cpuPktCapture.pcap
All the monitor commands execute without an error. The copy command generates:
ERROR: File cpuPktCapture.pcap not exist!
During capturing, show monitor capture
shows:
g05hsw01#show monitor capture
Operational Status............................. Enabled
Current Capturing Type......................... File
Capturing Traffic Mode......................... Tx/Rx
Line Wrap Mode................................. Disabled
RPCAP Listening Port........................... 2002
RPCAP dump file size (KB)...................... 512
What am I doing wrong?
Related question: is there a way to get a listing of the files in the switch's file system?
Best Answer
Trying
dir
seems to have solved your problem, showing you the real file name.