Connectivity Guide

Table Of Contents
Eth 1/1/31 up 40G A 1 -
Eth 1/1/32 up 40G A 1 -
--------------------------------------------------------------------------------
In this example, when you enter goint 1/1/1, note that the text on the CLI changes to interface ethernet
1/1/1.
OS10(config)# alias goint "interface ethernet $1"
OS10(config)# goint 1/1/1
OS10(conf-if-eth1/1/1)#
Supported Releases 10.3.0E or later
alias (multi-line)
Creates a mulit-line command alias.
Syntax
alias alias-name
Parameters alias-name — Enter the name of the multi-line alias. A maximum of up to 20 characters.
Default Not congured
Command Mode CONFIGURATION
Usage Information
Use this command to save a series of multiple commands in an alias. The switch enters 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 congured
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. This command executes commands 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.
58 Getting Started