1-7
Parameters
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:
z
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.
z
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.
z
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.
Examples
# 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
Parameters
alert
: Specifies to prompt for confirmation before performing file-related operations that have potential
risks.
quiet
: Specifies to disable prompts for file-related operations.
Description
Use the
file prompt
command to configure the prompt mode for file-related operations.
By default, alert mode is used, by which a switch prompts for confirmation before performing file-related
operations that have potential risks.
If you set the prompt mode of the file-related operations to
quiet
, the switch does not prompt for
confirmation before performing file-related operations. In this case, the system is more likely to be
damaged due to some maloperations. For example:
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...