General Commands4-21
4
prior to enabling some of the other configuration modes, including Interface
Configuration, Line Configuration, VLAN Database Configuration, and Multiple
Spanning Tree Configuration. See “Understanding Command Modes” on page 4-5.
Default Setting
None
Command Mode
Privileged Exec
Example
Related Commands
end (4-22)
show history
This command shows 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 10 Execution commands and
10Co nfiguration 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
Console#configure
Console(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#