OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

line (alias)

Configures the commands to be executed in a multi-line alias.

Syntax
line nn command
Parameters
  • nn — Enter the line number (1 to 99). The commands are executed in the order of the line numbers.
  • command — Enter the command to be executed enclosed in double quotes.
Default
Not configured
Command Mode
ALIAS
Usage Information
The no version of this command removes the line number and the corresponding command from the multi-line 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: <>()\