Keystrokes Used As Command Aliases; Command History; Displaying Previously Entered Commands; Recalling Previously Entered Commands - Cisco XR 12000 Series Getting Started Manual

Hide thumbs Also See for XR 12000 Series:
Table of Contents

Advertisement

Command History

Keystrokes Used as Command Aliases

The system can be configured to recognize particular keystrokes (key combination or sequence) as
command aliases. In other words, a keystroke can be set as a shortcut for executing a command. To
enable the system to interpret a keystroke as a command, use the Ctrl-V or Esc, Q key combination
before entering the command sequence.
Command History
The Cisco IOS XR software lets you display a history of the most recently entered and deleted
commands. You can also redisplay the command line while a console message is being shown. The
following sections describe the command history functionality:
Note
To roll back to a previously committed configuration, see
Rollback.

Displaying 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 display commands from the history buffer, enter the show history command as follows:
RP/0/0/CPU0:router# show history
show configuration history commit
show configuration commit list
show config commit changes 1000000001
show history

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.
Cisco IOS XR Getting Started Guide for the Cisco XR 12000 Series Router
5-114
Displaying Previously Entered Commands, page 5-114
Recalling Previously Entered Commands, page 5-114
Recalling Deleted Entries, page 5-115
Redisplaying the Command Line, page 5-115
Displaying Persistent CLI History, page 5-115
Chapter 5
CLI Tips, Techniques, and Shortcuts
Managing Configuration History and
OL-24755-01

Advertisement

Table of Contents
loading

Table of Contents