Alias - GE PACSystems RX3i Command Line Interface Manual

Profinet controller
Hide thumbs Also See for PACSystems RX3i:
Table of Contents

Advertisement

2

alias

Global Command
This command provides a mechanism for assigning a name to a string, which allows
replacement of a word or string with another string. This is useful for abbreviating a command,
or for adding default arguments to a regularly used command. For example, the command alias
sh show sets up the alias sh for show, which may be used to issue subsequent commands, for
example sh time for the show time command. Alias strings that include a space must be
enclosed with quotations (for example, alias scfg "show config"). Aliases may be deleted by
entering alias followed by the alias value. For example alias sh deletes the sh alias. Entering
alias with no parameters shows all the currently defined aliases. Alias definitions do not persist
between Command Line Interface sessions or across power cycles.
alias Command Format
alias [Replacement Text> [<CommandCommand Name>]]
<Replacement Text>
<Command Name>
Example
device-name> alias sh show
device-name> alias shcfg "show config"
device-name> alias 'sho ip' 'show config ip'
device-name> alias his history
device-name> alias
sh
shcfg
sho ip
his
device-name> his
1. alias sh show
2. alias shcfg "show config"
3. alias 'sho ip' 'show config ip'
4. alias his history
5. alias
6. his
PACSystems* RX3iPROFINET Controller Command Line Interface Manual – July 2011
2-2
Any string using alphanumeric values. If a space is desired
within the string, the aliasValue must be enclosed in quotations
(single or double).
Typically a string containing any valid Command Line Interface
command or parameter combinations. If the string contains
spaces, the string must be enclosed within quotations (single or
double).
Screen Display
show
show config
show config ip
history
alias
GFK-2572

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents