Users Guide
Usage Information
Use this command to save a series of multiple commands in an alias. The switch enters the ALIAS mode when you
create an alias. You can enter the series of commands to be executed using the line command.
The no version of this command deletes an alias.
Example
OS10(config)# alias mTest
OS10(config-alias-mTest)# line 1 "interface $1 $2"
OS10(config-alias-mTest)# line 2 "no shutdown"
OS10(config-alias-mTest)# line 3 "show configuration"
Supported Releases 10.4.0E(R1) or later
batch
Executes a series of commands in a le in batch (non-interactive) processing.
Syntax
batch filename
Parameters filename — Enter the name of a batch command le.
Default Not congured
Command Mode EXEC
Usage Information Use this command to create a batch command le on a remote machine. Copy the command le to your switch
(for example, to your home directory). Enter the batch command to execute commands in the le in batch mode.
OS10 automatically commits all commands in a batch le; you do not have to enter the commit command. To
display the les stored in the home directory, enter
dir home. Use the dir home command to view the les
stored in the home directory.
Example
OS10# batch b.cmd
OS10# Feb 15 19:26:1: %Dell EMC (OS10) %Node.1-Unit.1:PRI:OS10 %log-
notice:IP_ADDRESS_ADD: IP Address add is successful.:IP 172.17.4.1/24 added
successful
Supported Releases 10.2.0E or later
boot
Congures which OS10 image to use the next time the system boots up.
Syntax
boot system [active | standby]
Parameters
• active — Reset the running partition as the next boot partition.
• standby — Set the standby partition as the next boot partition.
Default Not congured
Command Mode EXEC
Usage Information Use this command to congure the location of the OS10 image used to reload the software at boot time. Use the
show boot command to view the congured next boot image. This command is applied immediately.
Example
OS10# boot system standby
48 Getting Started