Troubleshooting Tools
Collecting Diagnostic Information
bstnA6k# collect diag-info smtp://juser@wwmed.com/acopia-diags.tgz
Collect diagnostic information? [yes/no] yes
% INFO: The copy command completed successfully.
bstnA6k# ...
Collecting the Information Locally
bstnA6k(cfg)# exit
bstnA6k# collect diag-info juser-ns-wwmed.tgz
Only one copy of diagnostic information may be stored on the switch at one time.
This automatically removes any saved diagnostic information.
Are you sure? [yes/no] yes
% INFO: The copy command completed successfully.
bstnA6k# ...
6-40
You have the option to store the diagnostic-information file on the switch's internal
disks. To conserve disk space, you can only store one diag-info file at a time.
collect diag-info file.tgz
where file is the chosen file name. You must use a .tgz extension on the end of the
file name. The file is stored in the diag-info directory.
The CLI prompts for confirmation before overwriting any previously-collected
diag-info files. Answer yes to continue. As stated above, the collection process can be
time-consuming; allow at least one minute for the CLI prompt to return.
For example, the following command exits from cfg mode to priv-exec mode, then
saves diagnostic data to a local file:
Showing the Diag-Info File
Use the
show diag-info
file:
show diag-info
For example:
command to view the directory listing with the new diag-info
CLI Maintenance Guide