Execute; File Prompt - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

(*) -with main attribute
(*b) -with both main and backup attribute

execute

Syntax
execute filename
View
System view
Parameter
filename: Batch file, with the extension .bat.
Description
Use the execute command to execute the specified batch file. Executing a batch file is to execute a set
of commands in the batch file one by one.
Note that:
A batch file cannot contain any invisible character. If any invisible character is found, the system
will abort the execution of the batch file, that is, the remaining commands in the batch file will not be
executed, but the executed operations will not be cancelled.
Not every command in a batch file is sure to be executed. For example, if a certain command is not
correctly configured, the system omits this command and goes to the next one.
Each configuration command in a batch file must be a standard configuration command, meaning
that the configuration information can be displayed with the display current-configuration
command after this command is configured successfully; otherwise, this command may not be
executed correctly.
Example
# Execute the batch file named test.bat under the directory flash:/.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] execute test.bat
<Sysname>
....
%Created dir unit1>flash:/test3.

file prompt

Syntax
file prompt { alert | quiet }
View
System view
(b) -with backup attribute
1-6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents