beautypg.com

History size, Terminal history, History size terminal history – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 159

background image

Line Commands

Page 158

User Guidelines

This command enables the command history function for a specified line. To enable or disable the command
history function for the current terminal session, use the terminal history user EXEC mode command.

Example

The following example enables the command history function for telnet.

history size

The history size Line Configuration mode command configures the command history buffer size for a particular
line. Use the no form of this command to reset the command history buffer size to the default configuration.

Syntax

history size number-of-commands

no history size

Parameters

number-of-commands—Number of commands that the system records in its history buffer. (Range: 10 -247)

Default Configuration

The default history buffer size is 10.

Command Mode

Line Configuration mode

User Guidelines

This command configures the command history buffer size for a particular line. To configure the command history
buffer size for the current terminal session, use the terminal history size User EXEC mode command.

Example

The following example changes the command history buffer size to 100 entries for a particular line.

terminal history

The terminal history user EXEC command enables the command history function for the current terminal
session. Use the no form of this command to disable the command history function.

Syntax

terminal history

terminal no history

console(config)# line telnet

console(config-line)# history

console(config-line)# history size 100