29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using the CLI<br />

Customizing the Screen Display<br />

Customizing the Screen Display<br />

The CLI has several commands that allow you to customize the way switch information is displayed to<br />

your screen. You can make the screen display smaller or larger. You can also adjust the size of the table<br />

displays and the number of lines shown on the screen.<br />

Note. Screen display configurations are dependent up the terminal emulator mode.<br />

Changing the Screen Size<br />

You may specify the size of the display shown on your terminal screen by using the tty or stty commands.<br />

These commands are useful when you have a small display screen or you want to limit the number of lines<br />

scrolled to the screen at one time or improve mis-aligned output. For example:<br />

-> tty 10 150<br />

or<br />

-> stty cols 255<br />

The first number entered after tty defines the number of lines on the screen and the second number defines<br />

the number of columns on the screen. The stty cols command changes the number of columns. You may<br />

view the current setting for your screen by using the show tty command.<br />

Changing the CLI Prompt<br />

You can change the system prompt that displays on the screen when you are logged into the switch. The<br />

default prompt consists of a dash, greater-than (->) text string. To change the text string that defines the<br />

prompt from -> to ##=> use the session prompt command as follows:<br />

-><br />

-> session prompt default ##=><br />

##=><br />

The switch displays the new prompt string after the command is entered.<br />

Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014 page 4-9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!