User guide
Using the CLI Customizing the Screen Display
OmniSwitch AOS Release 8 Switch Management Guide May 2014 page 4-9
Customizing the Screen Display
The CLI has several commands that allow you to customize the way switch information is displayed to
your screen. You can make the screen display smaller or larger. You can also adjust the size of the table
displays and the number of lines shown on the screen.
Note. Screen display configurations are dependent up the terminal emulator mode.
Changing the Screen Size
You may specify the size of the display shown on your terminal screen by using the tty or stty commands.
These commands are useful when you have a small display screen or you want to limit the number of lines
scrolled to the screen at one time or improve mis-aligned output. For example:
-> tty 10 150
or
-> stty cols 255
The first number entered after tty defines the number of lines on the screen and the second number defines
the number of columns on the screen. The stty cols command changes the number of columns. You may
view the current setting for your screen by using the show tty command.
Changing the CLI Prompt
You can change the system prompt that displays on the screen when you are logged into the switch. The
default prompt consists of a dash, greater-than (
->) text string. To change the text string that defines the
prompt from -> to ##=> use the session prompt command as follows:
->
-> session prompt default ##=>
##=>
The switch displays the new prompt string after the command is entered.