Collect debug logs on Cisco Catalyst 9800 Series Wireless Controller
I am learning C9800 series wireless controller recently. For someone (me) who is familiar with AireOS, everything is new. I sorted out the steps – how to collect debug on C9800.
First, we need to make sure that there is no debug running.
haifeli-C9800#clear platform condition all
Enable the debug condition, we can also specify the file name, monitor-time, etc.
haifeli-C9800#debug wireless mac 00xx.00xx.00xx haifeli-C9800#debug wireless mac 00xx.00xx.00xx ? ftp-server Move log file to FTP server, temporary storage: "flash:/" internal Collect all logs.(Default: only customer curated logs) monitor-time Max time to trace the condition, Default: 30min to-file File path in internal storage, default storage: "flash:/" <cr> <cr>
Stop collecting logs.
haifeli-C9800#no debug wireless mac 00xx.00xx.00xx haifeli-C9800#clear platform condition all
Output the logs to Cli or upload it to the server.
haifeli-C9800# haifeli-C9800#terminal length 0 haifeli-C9800#more bootflash:ra_trace_MAC_00xx.00xx.00xx_015206605_UTC_Fri_Apr_24_2020.log haifeli-C9800#terminal length 24 haifeli-C9800# haifeli-C9800#copy bootflash:ra_trace_MAC_00xx.00xx.00xx_015206605_UTC_Fri_Apr_24_2020.log tftp
We can also collect more detailed logs for analysis.
haifeli-C9800#show logging profile wireless filter mac 00xx.00xx.00xx to-file bootflash:test.log haifeli-C9800# haifeli-C9800#terminal length 0 haifeli-C9800#more bootflash:test.log haifeli-C9800#terminal length 24 haifeli-C9800# haifeli-C9800#copy bootflash:test.log tftp:
Recent Comments