Chapter 12: - Using Cisco Tools from a Command Line

How to Use the Compare Registries Utility from a Command Line

Command:

Description:

Example:

 

If no file name is specified, output is saved to a file named:

 

 

RegCompare <host_name> <timestamp>.xml.

 

 

Optionally, you can include an argument that specifies a file name.

 

files

Displays the list of RegCompare files in the application server's

>files

 

Repository.

 

view

Displays the contents of a RegCompare file from the Repository

>view <filename>

 

on the application server.

OR

 

 

 

Optionally, you can include an argument to dump this output to

 

 

a local file. Output is stored as XML-formatted text.

>view <filename>

 

 

<localfile_path\filename>

remove, rm

Deletes a specified RegCompare file from the Repository on the

>remove <filename>

 

application server.

 

rename, ren

Renames a RegCompare file in the Repository on the application

>rename <filename>

 

server.

<new_filename>

read_file, read

Directs command input to another input file.

>read <filename>

 

For example, you can direct input to run a batch file that contains

 

 

a series of commands executable by this utility.

 

silent

Executes command without displaying output.

><command> /silent

 

Note: Available in command-line mode only.

 

quit, q

Ends the program.

>quit

Compare Registries - Examples

The following table shows a sample registry comparison request, with a description of each entry.

Table 9: Example - Performing a Registry Comparison

Command Option:

Description:

>registry

Invokes the Registry Comparison utility.

>compare /systems logger_b Specifies that the local system's registry settings for customer instance_1 be compared

/instance customer_1

to logger_b's settings for that instance.

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

142

Page 156
Image 156
Cisco Systems 2.1(1) manual Compare Registries Examples, 142