Chapter 12: Using Cisco Tools from a Command Line

Selecting a System to Use

>query

Selecting a Different Target System

If desired, you can use the /system option to specify a different machine as the target system of a command. The /system option can only be used when the application server is a Support Tools Server; You cannot target a remote system when using a node as your application server.

For example, to target a System Interrogate query at a machine named logger_b, enter:

>interrogate

>system logger_b

>query

Note: This command is not available for the Log Group and Log Collection utilities. In those utilities, the target system specification is built into the log group(s) being used in the request.

Viewing a list of targetable systems

Once connected to an application server, you can use the systemlist (or syslist) command to view a list of all systems that can be selected for targeting. Use the /check option with systemlist to verify connection status to available systems.

For example, entering systemlist /check returns output such as:

Hostname: IP Address: System Type: Connection:

10.86.128.84 10.86.128.84 ICM c

Note: The systemlist /check option uses the character c for valid and x for invalid.

Saving, Viewing, and Retrieving Files

Most Web Tools allow you to save, view, and download files from the Support Tools Repository. Each Support Tools node has its own local Repository. When using Web utilities from a command line on a node, the Repository in use is the Repository on that node (or whatever machine has been specified as the application server).

Getting Help for Command Line Tools

Use the cmdhelp or chelp command to view a complete list of options for any tool.

To view usage for a specific command, enter: <command_name> /?.

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

127

Page 141
Image 141
Cisco Systems 2.1(1) manual Selecting a Different Target System, Viewing a list of targetable systems, 127