HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

Fabric OS 5.0.0 command reference guide 589
Enables or disables media mode.
Synopsis
setmediamode [mode | -show]
setgbicmode [mode | -show]
setsfpmode [mode | -show]
Availability
admin
Description
Use these commands to enable media mode (GBIC or SFP) if the mode value is nonzero and disable the
media mode if the mode value is 0. The mode is saved in flash memory and stays in that mode until the
next execution of setMediaMode, setSfpMode, or setGbicMode. The mode becomes active as soon
as this command is executed. It does not require a reboot to take effect.
Media mode modifies the behavior of the diagnostic test methods so that ports without media installed are
not tested. Normally, tests such as crossPortTest or spinSilk fail if any port is not operating
properly, but with media mode enabled, the functional tests are skipped on ports that do not contain
media.
Operands
This command has the following operands:
Examples
To enable, disable, and then display the media mode:
See also
crossPortTest
itemList
miniCycle
spinJitter
spinSilk
setMediaMode
mode Specify 1 to enable ESD mode, 0 to disable ESD mode. This operand is optional.
-show Specify this operand to display the current mode setting. This operand is optional.
switch:admin> setgbicmode 1
GBIC mode is now 1 (Enabled).
switch:admin> setsfpmode 0
SFP mode is now 0 (disabled).
switch:admin> setmediamode -show
Media mode is now 0 (disabled).