Alias - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Related Commands
cancel, exit, show action

alias

Creates a command macro.
Syntax
alias aliasName commandString
no alias aliasName
Parameters
aliasName
commandString
Guidelines
If creating a macro that uses multiple commands, you can either
v Use quotation marks ("") to surround the command string, and use a semicolon
v Separate commands with an escaped semicolon (\;)
Use the no alias command to delete a command macro.
Also available in Privileged mode.
Related Commands
show alias
Examples
v Creates the eth0 alias that moves to Interface configuration mode (with the
v Creates the mgmport alias that moves to Interface configuration mode (with the
Specifies the name of the command macro.
The name can contain a maximum of 128 characters. For restrictions, refer
to "Object name conventions" on page xxiv.
Defines a sequence of commands.
(;) after each commend
For example:
alias eth0 "configure terminal; interface ethernet 0"
For example:
alias eth0 configure terminal\;interface ethernet0
interface command) for Ethernet Port 0.
# alias eth0 interface eth0
Alias update successful
#
interface command) for Management Port 0.
# alias mgtport interface management 0
Alias update successful
#
Chapter 2. Global configuration mode
23

Advertisement

Table of Contents
loading

Table of Contents