1.Type mgmt help within the NICROI window to see the options available.

2.Type mgmt file list to view all the niclog.xxx files available.

Note: The time shown is the time that the log is closed, meaning the time that information stopped being written to that particular log and another log is created. You can see in this list also the size of the file.

3.If you do not see the date and time you are looking for, you can view more log files by typing mgmt file list more until you see the log file that you would like to capture. This log file format is useful if you have several specific time periods that you want to capture.

Roilog.txt File

The roilog.txt file is a file that is invoked by opening and closing it, this file is NOT automatically generated as the niclog.xxx. This log file is useful if you have one general, extended period of time that you want to capture. Use the following steps to create a roilog.txt file:

To "Open" a roilog.txt file:

From within NICROI issue the log open [<filename>] command. This command causes all status displayed in the NICROI logging window to be stored in a log file on the NICROI host system. The name of the log file can be specified. If omitted, the default name is roilog.txt which is placed in the current directory of the process from which NICROI starts.

Note: If you use this type of log file, you must close the log to stop the writing of information (once you have captured the time frame in question) before you copy the log file out to analyze it.

To "Close" an roilog.txt file:

From within NICROI type the .log command to close the NICROI log file. No further file logging is performed.

Copying Log Files

You can copy these log files to your local drive. There are basically two ways you can gather this data, based on which file format you choose to use above.

Copying Files Using Roilog.txt

If you have opened and created a log file using the method for roilog.txt, upon closing the log file, you have a copy of the log on your local drive. The file will be located in the directory from which you began your NICROI session. Unless you have specified a download directory using the .xdir c:\<path name> command, then the file is created and written onto your local drive at the location from which you started your NICROI session.

Copying Files Using Niclog.xxx

Cisco Support Tools 1.0 User Guide

How to Use the NICROI Utility 174

Page 174
Image 174
Cisco Systems 1.0 (1) manual Roilog.txt File