Cisco Systems 4.1 Dust Collector User Manual


 
19-26
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
export
get
Name cwcli config export – CiscoWorks cwcli config's export function.
Syntax cwcli config export -u userid -p password [-d debuglevel] [-m email] [-l logfile] { -device name |
-view name | -device name -view name |-ipaddress list } [-f filename] [-version number] [-xml]
[
-input argumentFile]
cwcli config export -help
Description export retrieves the configuration specified by the -version argument, for the device specified by
-device and/or -view argument, from the archive and writes it to the file specified by the -f argument.
If you do not specify a version number, the latest configuration of the device from the archive is
retrieved.
If you do not specify a file name, a file named devicename.cfg is created. To run this command
against multiple devices, you must specify the
-input argument, which takes a file name as an
argument. The contents of the file must be similar to those described in the Input List File Format
section of the
cwcli config man page.
Name cwcli config get – CiscoWorks cwcli config get function
Syntax cwcli config get -u userid -p password [-d debuglevel] [-m email] [-l logfile] -filetype
running|startup|runningstartup
-device list | -view name | -device list -view name | -ipaddress list }
cwcli config get -help
Description get retrieves the running configuration from the device(s), specified by the -device and/or -view
argument, and pushes it to the configuration archive if the running configuration is different than the
latest version in the archive.
For devices that support vlan configuration like CatIOS devices, the vlan configuration is also fetched
and archived along with running-configuration.
However, if a new version of the running configuration is not archived, the vlan configuration fetched,
overwrites the previously archived vlan configuration for the latest version of running configuration in
the archive. You can run the get function against multiple devices by separating each device name with
a comma.