G
ENERAL
C
OMMANDS
3-15
show history
Use this command to show the contents of the command history buffer.
Default Setting
None
Command Mode
Normal Exec, Privileged Exec
Command Usage
The history buffer size is fixed at 20 commands.
Example
In this example, the show history command lists the contents of the
command history buffer:
The
!
command repeats commands from the Execution command history
buffer when you are in Normal Exec or Privileged Exec Mode, and
commands from the Configuration command history buffer when you are
in any of the configuration modes. In this example, the
!2
command
repeats the second command in the Execution history buffer (
config
).
Console#show history
Execution command history:
2 config
1 show history
Configuration command history:
4 interface vlan 1
3 exit
2 interface vlan 1
1 end
Console#
Console#!2
Console#config
Console(config)#
Summary of Contents for 6750L2
Page 2: ......
Page 30: ...SWITCH MANAGEMENT 1 16 ...
Page 112: ...CONFIGURING THE SWITCH 2 82 ...
Page 258: ...TROUBLESHOOTING A 6 ...
Page 268: ...GLOSSARY Glossary 8 ...
Page 271: ......