Alcatel-Lucent 7950 XRS Series Configuration Manual page 110

Extensible routing system sr os basic system
Table of Contents

Advertisement

Basic CLI Commands
CLI Environment Commands
alias
Syntax
alias alias-name alias-command-line
no alias alias-name
Context
environment
Description
This command enables the substitution of a command line by an alias. Use the alias command to create
alternative or easier to remember/understand names for an entity or command string. If the string contains
special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes. Only a single
command can be present in the command string. The alias command can be entered in any context but must
be created in the root>environment context.
For example, to create an alias named soi to display OSPF interfaces, enter:
Parameters
alias-name — The alias name. Do not use a valid command string for the alias. If the alias specified is an
actual command, this causes the command to be replaced by the alias.
alias-command-line — The command line to be associated.
create
Syntax
[no] create
Context
environment
Description
By default, the create command is required to create a new OS entity.
The no form of the command disables requiring the create keyword.
Default
create — The create keyword is required.
more
Syntax
[no] more
Context
environment
Description
This command enables per-screen CLI output, meaning that the output is displayed on a screen-by- screen
basis. The terminal screen length can be modified with the terminal command.
The following prompt appears at the end of each screen of paginated output:
Press any key to continue (Q to quit)
The no form of the command displays the output all at once. If the output length is longer than one screen,
the entire output will be displayed, which may scroll the screen.
Page 110
alias soi "show router ospf interface"
7950 SR OS Basic System Configuration Guide

Advertisement

Table of Contents
loading

Table of Contents