Cisco Systems 4.1 Dust Collector User Manual


 
19-45
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
Archiving cwcli export Data in XML File
By default, the data generated through cwcli export command is archived at the location:
Where NMSROOT is the RME installed directory.
You can also specify a directory to store the output. This application does not have a feature to delete
the files created in the archive. You should delete the files when necessary.
While generating data through the servlet, the output will be displayed in the client terminal.
Running cwcli export changeaudit
Using this command you can export the Change Audit log data in the XML format.
The command syntax for cwcli export changeaudit is:
cwcli export changeaudit {-u username -p password -device devicenames}
[- ipaddress mgmt-ip-address]
[-f filename]
[-from mm/dd/yyyy] ---> eg: 05/01/2004
[-to mm/dd/yyyy] ---> eg: 05/06/2004
[-app comma separated list of applications]
[-cat comma separated list of categories]
Arguments in square brackets ([]) are optional; arguments in curly braces ({}) are required. You must
provide one argument from each group of arguments in curly braces ({}) that is separated by vertical
bars (|).
If you enter an argument which has space then use double quotes for that argument. For example for
Software Management, you enter this as “Software Management”.
cwcli export Command Location on CiscoWorks Server
changeaudit On Solaris:
/var/adm/CSCOpx/files/rme/archive/YYYY-MM-DD-HH-MM-SS
-changeaudit.xml
On Windows: NMSROOT\files\rme\archive\YYYY-MM-DD-HH-MM-SS
-changeaudit.xml
config On Solaris:
/var/adm/CSCOpx/files/rme/cwconfig/YYYY-MM-DD-HH-MM-SS-MSMS
MS-Device_Display_Name.xml
On Windows:
NMSROOT\files\rme\cwconfig\YYYY-MM-DD-HH-MM-SS-MSMSMS
-Device_Display_Name.xml
inventory On Solaris:
/var/adm/CSCOpx/files/rme/archive/YYYY-MM-DD-HH-MM-SS-inventory.
xml
On Windows: NMSROOT\files\rme\archive\YYYY-MM-DD-HH-MM-SS-
inventory.xml