Reference Guide
 line 2 "no shutdown"
 line 3 "show configuration"
 line 4 exit
View alias information
OS10# show alias
Name Type
---- ----
mTest Config
Number of config aliases : 1
Number of local aliases : 0
View alias information brief (displays the rst 10 characters of the alias value)
OS10# show alias brief
Name Type Value
---- ---- -----
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 commands
You can create a batch le to simplify routine or repetitive tasks. A batch le is an unformatted text le that contains two or more 
commands and has a .cmd le name extension.
You can use vi or any other editor to create the .cmd le, then use the batch command to execute the le. To execute a series of 
commands in a le 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.
• Create a batch le (b.cmd) on a remote device by entering a series of commands.
interface ethernet 1/1/4
no switchport
ip address 172.17.4.1/24
no shutdown
• Copy the command le on the remote device to your switch, such as to your home directory.
OS10# copy scp://os10user:os10passwd@10.11.222.1:/home/os10/b.cmd home://b.cmd
OS10# dir home
42
Getting Started










