Connectivity Guide

---- ---- -----
mTest Config line 1 "interface ..."
line 2 "no shutdow..."
line 3 "show confi..."
default 1 "ethernet"
default 2 "1/1/1"
Number of config aliases : 1
Number of local aliases : 0
View alias detail. Displays the entire alias value.
OS10# show alias detail
Name Type Value
---- ---- -----
mTest Config line 1 "interface $1 $2"
line 2 "no shutdown"
line 3 "show configuration"
default 1 "ethernet"
default 2 "1/1/1"
Number of config aliases : 1
Number of local aliases : 0
Delete alias
OS10(config)# no alias mTest
Batch mode
Create and run a batch le to execute a sequence of multiple commands. A batch le is an unformatted text le that contains two or more
commands. Store the batch le in the home directory.
Use vi or any other editor to create the batch le, then use the batch command to execute the le. To execute a series of commands in
batch mode (non-interactive processing), use the
batch command. OS10 automatically commits all commands in a batch le — you do
not have to enter the commit command.
If a command in the batch le fails, batch operation stops at that command. The remaining commands are not executed.
Create a batch le (for example, b.cmd) on a remote device by entering a series of commands.
interface ethernet 1/1/1
no shutdown
no switchport
ip address 172.17.4.1/24
Copy the command le to the home directory on the switch.
OS10# copy scp://os10user:os10passwd@10.11.222.1/home/os10/b.cmd home://b.cmd
OS10# dir home
Directory contents for folder: home
Date (modified) Size (bytes) Name
--------------------- ------------ ------
2017-02-15T19:25:35Z 77
b.cmd
...
Execute the batch le using the batch /home/username/filename command in EXEC mode.
OS10# 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
(Optional) Verify the new commands in the running conguration.
OS10# show running-configuration interface ethernet 1/1/1
!
60
Getting Started