Cisco Support Tools 1.0 User Guide How to Use the Log Collection Utility from a Command Line 147
How to Use the Log Collection Utility from a Command Line
Use the Log Collection utility to:
Create a log collection
Download collected logs
View details of log collections
Delete log collections
Note: The Log Collection utility can be run in interactive mode only; command-line
mode is not available for this tool. For additional information on basic Web Tools
command line use, including the distinction between command-line mode and
interactive mode, see About Using Cisco Web Utilities from a Command Line.

To Run the Log Collection Utility from a Command Line

To run the Log Collection utility from a command line:
1. From a command prompt on a Support Tools node, navigate to
<support_tools_root>.
2. Enter lctool. Optionally in the same line, to specify a different machine to serve
as the application server, enter its DNS or IP address. If none is specified, the
local machine serves as the application server. Press <Enter>.
3. Enter commands as described in the Command Line Options section below.

Using the Log Collection Utility from a Command Line

Command Line Options
Command: Description: Example:
cmdhelp, chelp Displays a list of commands specific to this
utility.
Note: Using Help or ? also displays this list, but
includes several additional ICM commands (e.g.,
echo, error_stop) not used by this utility.
>cmdhelp
/? Displays syntax for a specified command. ><command> /?