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

592 Fabric OS commands
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
setSfpMode
mode Specify 1 to enable media mode or 0 to disable media mode. If no
mode is specified, the current value is displayed. Any other value will
enable media mode.
-show Specify the -show operand to display the current 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).