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.

Table 150 diagnosis Commands

COMMAND

DESCRIPTION

diag-info collect

Has the NXC create a new diagnostic file.

diag-info copy

Sets the NXC to create an extra copy of the diagnostic file to a connected USB storage

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

Displays whether the NXC is set to create an extra copy of the diagnostic file to a

copy usb-storage

connected USB storage device.

39.3 Diagnosis Commands Example

The following example creates a diagnostic file and displays its name, size, and creation date.

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

 

257

NXC CLI Reference Guide