Juniper Networks J4350 User Manual

Page 86

Advertising
background image

J4350 and J6350 Services Router Getting Started Guide

idle-timeout

Set maximum idle time before login session ends

prompt

Set CLI command prompt string

restart-on-upgrade

Set whether CLI prompts to restart after software upgrade

screen-length

Set number of lines on screen

screen-width

Set number of characters on a line

terminal

Set terminal type

Table 29 shows how you can change the CLI environment features.

Table 29: Configuring the CLI Environment

Environment
Feature

CLI Command

Default Setting

Options

Command
completion

set cli
complete-on-space
(on | off)

on—Pressing Tab or Spacebar
completes a command.

Set off to allow only Tab for
command completion.

Set on to re-enable Tab and
Spacebar for command
completion.

Your working
directory

set cli directory
path 8

/cf/var/home/remote

Replace path with the directory you
want to enter when you log in to the
Services Router.

Minutes of idle time

set cli idle-time
minutes

Your session never times out unless
your login class specifies a timeout.

To enable the timeout feature,
replace timeout with a value
between 1 and 100,000.

To disable the timeout feature,
replace timeout with 0.

Your session prompt

set cli prompt string

user@host

>

Replace string with the prompt you
want. If the prompt contains spaces
or special characters, enclose string in
quotation marks (“ “).

Restart-after-upgrade
prompt

set cli
restart-on-upgrade
(on | off)

CLI prompts you to restart the
Services Router after a software
upgrade.

Set off to disable the prompt for
the session.

Set on to reenable the prompt.

Number of CLI
output line displayed
at once

set cli screen-length
length

Variable (depends on terminal type).

To change the number of lines
displayed on the screen, replace
length

with a value between 1

and 100,000.

To disable the display of a set
number of lines, replace length
with 0. (This feature can be
useful when you are issuing CLI
commands from scripts.)

66

Using the Command-Line Interface

Advertising
This manual is related to the following products: