Q-Logic 5000 Switch User Manual


 
14 – Command Reference
Set Switch State
14-108 59183-02 A
S
Set Switch State
Changes the administrative state for all ports on the switch. The previous Set
Config Switch settings are restored after a switch reset or a reactivation of a
switch configuration.
Authority Admin session
Syntax set switch state [state]
Keywords [state]
[state] can be one of the following:
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.
Examples The following is an example of the Set Switch command:
SANbox #>admin start
SANbox (admin) #>set switch state offline