[Contents] [Prev] [Next] [Index] [Report an Error]

Setting the JUNOS CLI Screen Length and Width

You can set the JUNOS command-line interface (CLI) screen length and width according to your specific requirements. This topic contains the following sections:

Setting the Screen Length

The default CLI screen length is 24 lines. To change the length, use the set cli screen-length command:

user@host> set cli screen-length length

Setting the screen length to 0 lines disables the display of output one screen at a time. Disabling this UNIX more-type interface can be useful when you are issuing CLI commands from scripts.

Setting the Screen Width

The default CLI screen width is 80 characters. To change the width, use the set cli screen-width command:

user@host> set cli screen-width width

Understanding the Screen Length and Width Settings

The cli screen-length and cli screen-width settings in combination with each other and the size of the telnet or console window determine the extent of output displayed before each –more– prompt appears.

The following examples explain how the cli screen-length and cli screen-width values determine the appearance of the output:

Note: If you have inadvertently set the cli screen width to a lower value that does not allow you to see the commands that you are typing, reset the cli screen width with a higher value by entering the set cli screen-width command.

Tip: If you are not able to see the command that you are entering, type the command in a text editor and copy it at the command prompt.


[Contents] [Prev] [Next] [Index] [Report an Error]