Recalling Previously Entered Commands; Recalling Deleted Entries - Cisco CRS-1 - Carrier Routing System Router Getting Started Manual

Carrier routing system
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Chapter 3
CLI Tips, Techniques, and Shortcuts
To roll back to a previously committed configuration, see the
Note
section on page

Recalling Previously Entered Commands

The Cisco IOS XR software records the ten most recent commands issued from the command line in its
history buffer. This feature is particularly useful for recalling long or complex commands or entries,
including access lists.
To recall commands from the history buffer, use one of the commands or key combinations listed in
Table
Table 3-6
Command History
Command or Key Combination
Ctrl-P or the up arrow key
Ctrl-N or the down arrow key
Use the terminal history command to set the number of command line entries the system holds for recall
Note
during a terminal session.

Recalling Deleted Entries

The Cisco IOS XR CLI also stores deleted commands or keywords in a history buffer. The buffer stores
the last ten items that have been deleted using Ctrl-K, Ctrl-U, or Ctrl-X. Individual characters deleted
using Backspace or Ctrl-D are not stored.
Table 3-7
Table 3-7
Keystroke Combinations to Recall Deleted Entries
Command or Key Combination
Ctrl-Y
Esc, Y
The Esc, Y key sequence does not function unless the Ctrl-Y key combination is pressed first. If the
Note
Esc, Y is pressed more than ten times, the history cycles back to the most recent entry in the buffer.
2-23.
3-6.
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.
identifies the keystroke combinations used to recall deleted entries to the command line.
Recalls the
Most recent entry in the buffer (press the keys simultaneously).
Previous entry in the history buffer (press the keys sequentially).
"Configuration History and Rollback"
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Command History
3-19

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Crs-1 series

Table of Contents