User Manual

Table Of Contents
[Initial value]
None
[Input mode]
global configuration mode
[Description]
Switches to the mode for setting the schedule template.
If this command is executed with the "no" syntax, the specified schedule template is deleted.
[Example]
This switches to the mode for setting schedule template #1.
SWP2(config)#schedule template 1
SWP2(config-schedule)#
4.23.5 Schedule template command execution settings
[Syntax]
cli-command id command
no cli-command id
[Parameter]
id : <1-20>
Command no.
command : Command
[Initial value]
None
[Input mode]
Schedule template mode
[Description]
This sets the commands to be executed when the trigger for a schedule function starts.
If this command is executed with the "no" syntax, commands with the specified numbers are deleted.
[Note]
If both the “cli-command” command and “script” command are configured for the same schedule template, the “script”
command will be executed, and the “cli-command” will not operate.
If multiple commands are specified, the commands are executed beginning with the command with the smallest command
number.
If multiple commands are specified, the remaining commands will still be executed even if the command results in an execution
error while running.
As commands are executed in privileged EXEC mode when the trigger starts, some commands may need to be configured
along with commands that switch to an appropriate mode.
The last “write” command must be executed to save the settings.
Commands cannot be specified in abbreviated form. For instance, you must write “interface port1.1” and not “int port1.1” when
entering the input mode for Port1.1 of the interface.
The following commands cannot be executed.
backup system, boot prioritize sd, no boot prioritize sd, certificate user, commands beginning with “clock,” cold start, copy
radius-server local, crypto pki generate ca, no crypto pki generate ca, disable, enable password, no enable password, exit,
firmware-update execute, firmware-update sd execute, force-password, no force-password, logout, commands beginning with
“ntpdate,” commands beginning with “no ntpdate,” password, no password, password-encryption, no password-encryption,
ping, ping6, quit, reload, restart, restore system, schedule, no schedule, schedule template, no schedule template, commands
beginning with “show,” ssh , ssh-server host key generate, startup-config select, no startup-config select, telnet, traceroute,
traceroute6
[Example]
This registers the “copy tech-support sd” command in number #1 of schedule template #1.
SWP2(config)#schedule template 1
110 | Command Reference | Maintenance and operation functions