HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 229
set switch state
Description Changes the administrative state for all ports on the switch. The previous set config switch
command settings are restored after a switch reset or a reactivation of a switch configuration.
Authority Admin session
Syntax
set switch state [state]
Operands
[state]
Table 58 describes the switch administrative state parameters.
Table 58 Switch administrative state parameters
Parameter Description
online Activates and prepares the ports to send data. This is the default.
offline Prevents the ports from receiving signal and accepting a device login.
diagnostics Prepares the ports for testing and prevents each port from accepting a
device login. When you leave the diagnostics state, the switch
automatically resets.
Notes QuickTools and Enterprise Fabric Management Suite override any temporary administrative state
changes that have been made using the Set Switch State command. Therefore, to avoid unexpected
results, do not manage switch administrative states with QuickTools or Enterprise Fabric
Management Suite and the CLI at the same time.
Examples The following is an example of the set switch command:
SN6000 FC Switch #>admin start
SN6000 FC Switch (admin) #>set switch state offline
See also show switch, page 274