Specifications

Table Of Contents
Chapter 5: cli Commands
SSR Command Line Interface Reference Manual 5 - 3
cli set history
Purpose
Modify command history recall characteristics.
Format
cli set history size
<num>
|default|maxsize
Mode
User and Configure
Description
The
cli set history
command lets you to set the size of the command history
buffer. Each command stored in this buffer can be recalled without having the user type
in the same, complete command again. By setting the size of this history buffer, one
tells the router how many of the most recently executed commands should be stored.
When the buffer is full, the oldest command is pushed out to make space for the newest
command. The cli set history command works in both user and Configure mode.
When executed in Configure mode, it sets the history size of the entire system. When
executed in user mode, the command effects only the current login session of the user
issuing that command.
Parameters
size
A number specifying how many of the most recently
executed commands should be kept. To disable history
support, specify a size of 0. The size option can also
take the following two keywords:
default
– Sets the history size to the system
default
maxsize
– Sets the history size to the system
maximum
Restrictions
None
Examples
ssr# system set history size 100
Sets the history buffer size to 100 commands.