batch command
Use this command to execute one or more CLI commands that are contained in a file.
- Comment lines in the batch file begin with a #.
- When running a batch file, commands that fail are returned along with a failure return code.
- Batch file commands that contain unrecognized command options might generate warnings.
The following table shows the arguments for the options.
Option | Description | Values |
---|---|---|
-f | Batch file name | Valid file name |
-ip | IP address of TFTP/SFTP server | Valid IP address |
-pn | Port number of TFTP/SFTP server | Valid port number (default 69/22) |
-u | Username for SFTP server | Valid user name |
-pw | Password for SFTP server | Valid password |
Syntax:
batch [<em className="ph i">options</em>]
option:
-f <em className="ph i">filename</em>
-ip <em className="ph i">ip_address</em>
-pn <em className="ph i">port_number</em>
-u <em className="ph i">username</em>
-pw <em className="ph i">password</em>
Example:
system> batch f sslcfg.cli ip 192.168.70.200
1 : sslcfg client dnld ip 192.168.70.20
Command total/errors/warnings: 8 / 1 / 0
system>
Give documentation feedback