McDATA® 4Gb SAN Switch for HP p-Class BladeSystem Command Line Interface Guide (AA-RWEJA-TE, November 2006)

McDATA® 4Gb SAN Switch for HP p-Class BladeSystem command line interface guide 171
Set Switch State command
Description 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]
Operands
[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 State command:
McDATA4GbSAN #>admin start
McDATA4GbSAN (admin) #>set switch state offline
See also Set Config Switch command, page 153
Show Switch command, page 208