Chapter 12: Using Cisco Tools from a Command Line

 

How to Use the Log Collection Utility from a Command Line

Command Option:

Description:

>al /product CCS /system CollServer001

Adds a second (CCS) log to the group. Each log must be added on

 

a separate line.

>lgdesc my_group_description

Optionally, creates a description of the group.

>closelg

Closes the log group and saves it to the application server's

 

Repository.

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 Using Cisco Common Tools from a Command Line (page 125).

To Run the Log Collection Utility from a Command Line

To run the Log Collection utility from a command line:

Step 1 From a command prompt on a Support Tools node, navigate to <support_tools_root>.

Step 2 Enter lctool.

Step 3 Enter commands as described in the Command Line Options section below.

Using the Log Collection Utility from a Command Line

Table 12: Command Line Options

Command:

Description:

Example:

cmdhelp, chelp

Displays a list of commands specific to this utility.

>cmdhelp

Cisco Support Tools User Guide for Cisco Unified Software Release 2.1(1)

147

Page 161
Image 161
Cisco Systems 2.1(1) manual How to Use the Log Collection Utility from a Command Line, Enter lctool, 147