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

1end

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)#

4.3.1.5reload

Use this command to restart the system.

Note – When the system is restarted, it always runs the Power-On Self-Test. It also retains all configuration information stored in non-volatile memory by the copy running-configstartup-configcommand.

Default Setting

None

Chapter 4 Command-Line Reference 4-17

Page 215
Image 215
Sunfire B1600 manual Reload