Table 14: Downloading Collected Logs
Description:Command Option:
Invokes the Log Collection utility.>lctool
Initiates a request for a new collection and species the collection name.>ccolreq my_collection_name
Displays all of the logs collected by a particular collection. You must use the view
command prior to downloading a le.
>view my_collection
Returns output such as shown below. Note the unique index number (0, 1,2) prefacing
each log in the collection:
Name: "my_collection"
Creation time: Thu Sep 2 11:28:17 2006
Description:
Merge: false
Binary for ICM Log: false
Selection type: all
Including Log Group:
[my_group]
Collected item:
0) ICM : 10.86.128.84 nam50, RouterA, dba
1) ICM : 10.86.128.84 nam50, RouterA, et
2) ICM : 10.86.128.84 nam50, RouterA, mds
Species that the log whose index value is 0 should be downloaded from the Repository
and saved to the local C drive in a le named my_collection.zip.
>download /index 0 /lename
c:\my_collection.zip
Note:
To download all logs in the collection, omit the/index option.
You can name the downloaded le anything you like. Its le type, regardless of the
extension specied, is always Zip.
Cisco Support Tools User Guide for Cisco Unified Software Release 2.1(1)
151
Chapter 12: Using Cisco Tools from a Command Line
How to Use the Log Collection Utility from a Command Line