How To Use The Cli To Configure Features; Configuring The Command History; Changing The Command History Buffer Size; Recalling Commands - Cisco Catalyst 3650 Command Reference Manual

Layer 2/3 command reference, cisco ios xe release 3.6e
Hide thumbs Also See for Catalyst 3650:
Table of Contents

Advertisement

How to Use the CLI to Configure Features

How to Use the CLI to Configure Features

Configuring the Command History

The software provides a history or record of commands that you have entered. The command history feature
is particularly useful for recalling long or complex commands or entries, including access lists. You can
customize this feature to suit your needs.

Changing the Command History Buffer Size

By default, the switch records ten command lines in its history buffer. You can alter this number for a current
terminal session or for all sessions on a particular line. This procedure is optional.
SUMMARY STEPS
1. terminal history [size number-of-lines]
DETAILED STEPS
Command or Action
Step 1
terminal history [size number-of-lines]
Example:
Switch# terminal history size 200

Recalling Commands

To recall commands from the history buffer, perform one of the actions listed in this table. These actions are
optional.
Note
The arrow keys function only on ANSI-compatible terminals such as VT100s.
SUMMARY STEPS
1. Ctrl-P or use the up arrow key
2. Ctrl-N or use the down arrow key
3. show history
Layer 2/3 Command Reference, Cisco IOS XE Release 3.6E (Catalyst 3650 Switch)
10
Purpose
Changes the number of command lines that the switch records during
the current terminal session in privileged EXEC mode. You can
configure the size from 0 to 256.
Using the Command-Line Interface
OL-32639-01

Advertisement

Table of Contents
loading

Table of Contents