AIS AI2524 Manual Do Utilizador

Página de 418
Chapter 4: Understanding the User Interface
August 1997
Page 4-23
2524UM
Enter the year using the correct syntax and press <Enter> to execut
the command.
Router# clock set 13:32:00 23 February 1997
Command 
History Features
The Cisco IOS software user interface provides a history, or record, o
commands that you have entered. This feature is particularly useful fo
recalling long or complex commands or entries, including access lists. 
By default, the system records 10 command lines in its history buffer. 
The following commands are entered from user EXEC mode. 
Warning: Many of the commands described in this section refer to 
arrow keys as well as alternate keystrokes. Please note 
that arrow keys function only on ANSI-compatible termi
nals such as VT100s.
History Commands
Command Format
Set the number of command lines the 
system will record during the current 
terminal session.
terminal history 
[size 
number-of-
lines]
Reset the number of lines saved in th
history buffer to the default of 10 
lines.
terminal no his-
tory size
Recall commands in the history 
buffer, beginning with the most recent 
command. Repeat the key sequence to 
recall successively older commands. 
Press <Ctrl-P> or the up 
arrow key
Return to more recent commands in 
the history buffer after recalling com-
mands with <Ctrl-P> or the up arrow 
key. Repeat the key sequence to recall 
successively more recent commands.
Press <Ctrl-N> or the 
down arrow key
List the last several commands you 
entered while in EXEC mode.
show history
Disable command history during th
current terminal session.
terminal no his-
tory