Chapter 4. Navigation
An alias that defines an entire command string can only be used to replace that command string, while an alias that defines a part of a command or a command parameter can be combined with additional command parameters.
Table
define alias | before alias | after alias |
|
|
|
|
|
|
alias s31 “show conf int eth 3 1” | show conf int eth 3 1 | s31 |
|
|
|
alias 31 “int eth 3 1” | show conf int eth 3 1 | show conf 31 |
|
|
|
| conf t int eth 3 1 shutdown | conf t 31 shut |
|
|
|
alias eth “int eth” | show conf int eth 3 1 | show conf eth 3 1 |
|
|
|
| show conf int eth 3 1 | show conf eth 3 1 |
|
|
|
alias sc “show conf” | show conf int eth 3 1 | sc int eth 3 1 |
|
|
|
| show conf clock | sc clock |
|
|
|
Console Settings
The CLI contains commands to configure how your terminal session behaves. The following table lists the default terminal settings and the CLI commands that you can use to change the settings.
Table
Setting | Description | Default | Command to Change Setting | |
Value | ||||
|
|
| ||
|
|
|
| |
|
|
|
| |
columns | sets the width of the session window in | 80 | conf t session col <number of columns> | |
| number of columns |
|
| |
|
|
|
| |
rows | sets the height of the session window | 25 | conf t session row <number of rows> | |
| in number of columns |
|
| |
|
|
|
| |
more | when enabled, displays large amounts | on | conf t session no more | |
| of information in |
|
| |
|
|
|
| |
wraparound | when enabled, wraps lines of text | on | conf t session no wrap | |
|
|
|
| |
timeout | sets the period of inactivity after which | 20 | conf t session timeout <number of | |
| a user will be logged off | minutes | minutes> | |
|
|
|
|
See the command “conf t session” on page 65 for more information.
Note: The timeout persists only if the
128X Family CLI Reference V 2.5.1