19-17
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
cwcli config Core Arguments
start2run cwcli config start2run -u userid -p
password [-d debuglevel] [-m email][-l
logfile] { -device list | -view name |
-device list -view name | -ipaddress list }
[-config 1|2] [-input
argumentFile][-timeout seconds]
[-primary_user primary user name]
[-primary_pass Base64 encoded primary
password] [-enable_pass Base64 encoded
enable password]
Creates a job that merges the startup
configuration with running configuration.
Specify multiple devices with -device argument
by separating each device name with comma or
with -input argument, which takes filename
containing the multiple devices as an argument.
write2run cwcli config write2run -u userid -p
password [-d debuglevel][-m email][-l
logfile] { -device displayName |
-ipaddress address } -f filename [-config
1|2][-listonly][-input
argumentFile][-timeout
seconds][-primary_user primary user
name][-primary_pass Base64 encoded
primary password][-enable_pass Base64
encoded enable password]
Creates a job that downloads the differences
between the specified file and the latest version in
the archive for the specified device.
If you specify -listonly, difference is displayed
but no changes are downloaded.
To run command on multiple devices, use -input
argument, which takes a filename as an argument.
write2start cwcli config write2start -u userid -p
password [-d debuglevel] [-m email][-l
logfile] { -device displayName |-ipaddress
address -f filename} [-config 1|2][-input
argumentFile][-timeout
seconds][-primary_user primary user
name][-primary_pass Base64 encoded
primary password] [-enable_pass Base64
encoded enable password]
Creates a job that erases contents of device
startup configuration and writes contents of given
file as new startup configuration.
You must specify a filename. To run a command
against multiple devices, use -input argument.
cwcli config Argument Description
compare Compares last two configurations in archive, specific configuration versions, or configuration
changes based on a specified date.
To run this command on multiple devices, specify -device argument or -input argument.
delete Deletes configurations older than specified date or version from archive.
To run this command on multiple devices, specify -device argument or -input argument.
export Retrieves latest configuration from archive and writes it to specified file.
To run this command on multiple devices, specify -input argument.
get Pulls configuration from device to configuration archive if configuration is different from latest
archived configuration.
To run this command on multiple devices, specify -device argument or -input argument.
Argument Syntax Notes