API Guide

View alias output for goint
OS10(config)# goint 1/1/1
OS10(conf-if-eth1/1/1)#
View alias information
OS10# show alias
Name Type
---- ----
govlt Config
goint Config
shconfig Local
showint Local
shver Local
Number of config aliases : 2
Number of local aliases : 3
View alias information brief. Displays the first 10 characters of the alias value.
OS10# show alias brief
Name Type Value
---- ---- -----
govlt Config "vlt-domain..."
goint Config "interface ..."
shconfig Local "show runni..."
showint Local "show inter..."
shver Local "show versi..."
Number of config aliases : 2
Number of local aliases : 3
View alias information in detail. Displays the entire alias value.
OS10# show alias detail
Name Type Value
---- ---- -----
govlt Config "vlt-domain $1"
goint Config "interface ethernet $1"
shconfig Local "show running-configuration"
showint Local "show interface $*"
shver Local "show version"
Number of config aliases : 2
Number of local aliases : 3
Multi-line alias
You can create a multi-line alias where you save a series of multiple commands in an alias. Multi-line alias is supported only in the
Configuration mode.
You cannot use the exiting CLI keywords as alias names. The alias name is case-sensitive and can have a maximum of 20
characters.
Create a multi-line alias in CONFIGURATION mode. The switch enters the ALIAS mode.
alias alias-name
Enter the commands to execute prefixed by the line n command in ALIAS mode. Enter the commands in double quotation
marks and use $n to enter input parameters. You can substitute $n with either numbers ranging from 1 to 9 or with an
asterisk (*) and enter the parameters while executing the commands using the alias. When you are using asterisk (*), you
can use all the input parameters. The maximum number of input parameters is 9.
line nn command
Advanced CLI tasks
99