Command Line Interface

History command

Displays a numbered list of the previously entered commands from which you can re-execute selected commands.

Authority

None

Syntax

HISTORY

Notes

Use the History command to provide context for the ! command:

Enter ![command] to re-enter the most recent execution of that command.

Enter ![line number] to re-execute the corresponding command from the History display.

Enter ![partial command string] to re-execute a command that matches the command string.

Enter !! to re-execute the most recent command.

Examples

2/8q FC Switch #> history 1 show switch

2date

3help set

4history

2/8q FC Switch #> !3 help set

set SET_OPTIONS

There are many attributes that can be set.

Type help with one of the following to get more information:

Usage: set { alarm

beacon

config

log

pagebreak

port

setup

switch }

 

 

Hotreset command

Resets the switch for the purpose of activating the pending firmware without disrupting traffic. This command terminates all management sessions, saves all configuration information, and clears the alarm log. After the pending firmware is activated, the configuration is recovered. This process takes less than 80 seconds. To save the alarm log to a file before resetting, refer to the Set Log Command” on page 144.

Authority

Admin

126

HP StorageWorks 2/8q Fibre Channel Switch Management User Guide

Page 126
Image 126
HP 2/8q Fibre Channel manual History command, Hotreset command