Download Junos® OS CLI User Guide

Transcript
CLI User Guide
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 value of CLI screen width is 0 or in the range of 40 through 1024. 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
NOTE: In Junos OS Release 13.2 and earlier, the value of width is in the range
of 0 through 1024.
Related
Documentation
•
Example: Controlling the CLI Environment on page 246
•
Controlling the Junos OS CLI Environment on page 243
Example: Controlling the CLI Environment
The following example shows you how to change the default CLI environment.
Changing the CLI environment is all about customizing the CLI window to fit your personal
preferences. Use the settings discussed in this topic to make the CLI window look and
behave according to what you find most convenient and efficient.
•
Requirements on page 246
•
Overview on page 247
•
Configuration on page 247
Requirements
No special configuration beyond device initialization is required before configuring this
example.
Before starting this example, check what the default settings are. Use the show cli
operational mode command.
user@host> show cli
CLI complete-on-space set to on
CLI idle-timeout disabled
CLI restart-on-upgrade set to on
CLI screen length set to 66
CLI screen width set to 80
CLI terminal is 'xterm'
Is the prompt set to your username@routername? If not, exit the CLI and enter the
operational mode again.
Is the CLI screen length set to 66 and the CLI screen width set to 80? If so, you can start
the example. Otherwise, make these changes to the CLI settings:
246
Copyright © 2015, Juniper Networks, Inc.