User's Manual

NXC CLI Reference Guide
257
CHAPTER 39
Diagnostics
This chapter covers how to use the diagnostics feature.
39.1 Diagnostics
The diagnostics feature provides an easy way for you to generate a file containing the NXC’s
configuration and diagnostic information. You may need to generate this file and send it to
customer support during troubleshooting.
39.2 Diagnosis Commands
The following table lists the commands that you can use to have the NXC collect diagnostics
information. Use the
configure terminal command to enter the configuration mode to be
able to use these commands.
39.3 Diagnosis Commands Example
The following example creates a diagnostic file and displays its name, size, and creation date.
Table 150 diagnosis Commands
COMMAND DESCRIPTION
diag-info collect Has the NXC create a new diagnostic file.
diag-info copy
usb-storage
Sets the NXC to create an extra copy of the diagnostic file to a connected USB storage
device.
show diag-info Displays the name, size, and creation date (in yyyy-mm-dd hh:mm:ss format) of the
diagnostic file.
show diag-info
copy usb-storage
Displays whether the NXC is set to create an extra copy of the diagnostic file to a
connected USB storage device.
Router# configure terminal
Router(config)# diag-info collect
Please wait, collecting information
Router(config)# show diag-info
Filename : diaginfo-20070423.tar.bz2
File size : 1259 KB
Date : 2007-04-23 09:55:09