C
HAPTER
19
| General Commands
– 695 –
EXAMPLE
In this example, the show history command lists the contents of the
command history buffer:
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#
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#!2
Console#config
Console(config)#
configure This command activates Global Configuration mode. You must enter this
mode to modify any settings on the switch. You must also enter Global
Configuration mode prior to enabling some of the other configuration
modes, such as Interface Configuration, Line Configuration, and VLAN
Database Configuration. See "Understanding Command Modes" on
page 684.
DEFAULT SETTING
None
COMMAND MODE
Privileged Exec
EXAMPLE
Console#configure
Console(config)#
RELATED COMMANDS
end (697)