Reference Guide
alias (multi-line)
Creates a mulit-line command alias.
Syntax
alias alias-name
Parameters alias-name — Enter the name of the alias (up to 20 characters).
Default Not congured
Command Mode CONFIGURATION
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 /home/username/filename
Parameters
• username — Enter the user name that was used to copy the command le.
• 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 the home
directory on your switch. 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
batch /home/admin/b.cmd
Jun 26 18:29:12 OS10 dn_l3_core_services[723]: Node.1-Unit.1:PRI:notice
[os10:trap],
%Dell EMC (OS10) %log-notice:IP_ADDRESS_ADD: IP Address add is successful.
IP 172.17.4.1/24 in VRF:default added successfully
Supported Releases 10.2.0E or later
Getting Started 55