Q-Logic 5802V 用户手册
14 – Command Reference
Set Switch State
59263-01 A
14-131
A
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.
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.
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