19-33
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 19 CLI Utilities
CWCLI
{[{-commandfile
commandlist_filename
-mode {config | enable}}
[-rollbackfile
rollback_cmdlist_filename]]
[-taskname : "User defined
task name"]}
Defines configuration commands
to be used.
You can specify the command file
path, the command mode, the
rollback file and the name of the
user-defined task.
Specify the user-defined task name
within quotes.
commandlist_filename is path to
command file. Can be a full
pathname or filename in local
directory.
-mode specifies the command
mode.{config | enable} are the
command mode arguments. By
default, -mode value is set to config.
This is not valid for jobs that
configure Catalyst devices. For
jobs on IOS, CE, or CSS devices,
config is default.
rollback_cmdlist_filename defines
the rollback configuration
commands for the job.
It can be a full pathname to the file
or a filename in the local directory.
User defined task name is the name
that you specify for the
user-defined task.
{-description :
"job_description "}
Enter the description for the job
you are creating.
"job_description" is the
description you specify, for the job
that you are creating. Enter this
value within quotes.
[{-schedule :
MM/dd/yyyy:HH:mm:ss
-schedule_type: once|
weekly| monthly|
lastDayOfMonth}]
-schedule defines time and date
job will run.
If you have enabled Job Approval,
and later if you create the job
without using the -schedule
argument, the job will
automatically be scheduled to run
after 5 minutes of the job creation
time.
You should approve this job within
5 minutes of creating the job.
If you want to schedule the job to
run at any other time, use the
-schedule argument.
If not specified, job will run
immediately.
-schedule_type defines the type
of job schedule.
MM is month (01 to 12). DD is day
of month (01 to 31). YYYY is year
(Example: 2004).
HH is hours, mm is minutes, and ss
is seconds in 24-hour time.
If you do not specify the schedule
type, the job will be an immediate
job.
Sub Command Command Argument Description Usage Notes