OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

alias (multi-line)

Creates a mulit-line command alias.

Syntax

alias alias-name

Parameters
alias-name — Enter the name of the alias (up to 20 characters).
Default
Not configured
Command Mode
CONFIGURATION
Usage Information

Use this command to save a series of multiple commands in an alias. The switch enters the 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

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\