Changing The Command History Buffer Size; Recalling Commands - Cisco Catalyst 2960-XR Configuration Manuals

Ip multicast routing
Hide thumbs Also See for Catalyst 2960-XR:
Table of Contents

Advertisement

Configuring the Command History

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.
The arrow keys function only on ANSI-compatible terminals such as VT100s.
Note
SUMMARY STEPS
1. Ctrl-P or use the up arrow key
2. Ctrl-N or use the down arrow key
3. show history
DETAILED STEPS
Command or Action
Step 1
Ctrl-P or use the up arrow key
Step 2
Ctrl-N or use the down arrow key
Catalyst 2960-XR Switch IP Multicast Routing Configuration Guide, Cisco IOS Release 15.0(2)EX1
6
Purpose
Changes the number of command lines that the switch records during
the current terminal session in the privileged EXEC mode. You can
configure the size from 0 through 256.
Purpose
Recalls commands in the history buffer, beginning with the most recent command.
Repeat the key sequence to recall successively older commands.
Returns to more recent commands in the history buffer after recalling commands
with Ctrl-P or the up arrow key. Repeat the key sequence to recall successively
more recent commands.
Using the Command-Line Interface
OL-29426-01

Advertisement

Table of Contents
loading

Table of Contents