
show history
Displays the command-line history buffer for commands issued in Executive/Privileged and Configuration command modes.
Syntax: show history
Description: Displays last commands issued in Executive/Privileged and Configuration command modes. The number of commands displayed is configured using the history size command.
Factory Default: None.
Command Mode: Executive and privileged.
Example: In the following example,
- The line console 0 command specifies the console and changes the command mode to Line configuration.
- The history command enables the re-display of commands entered.
- The history size 10 command sets the number of lines displayed by the show history command to 10.
- The the show history command displays the last 10 commands issued in both Executive/Privileged command modes and all Configuration command modes:
router(config)#line console 0
router(config-line)#history
router(config-line)#history size 10
router(config-line)#end
router#show history
CLI command history:ADMIN/PRIV mode
sho int pos 1/5/1
sho int pos 1/6/1
con t
sho int pos 1/6/1
con t
sho int pos 1/6/1
con t
sho int pos 1/6/1
con t
sho line
CLI command history:CONFIG mode
int pos 1/6/1
sonet path-trace deleteme
end
int pos 1/6/1
no sonet path-trace
end
line console 0
history
history size 10
end
Related Commands: history
history size
show line
show terminal
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: navigation.fm
HTML File Name: navigation24.html
Last Updated: 02/25/05 at 14:25:22