Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

Fabric OS Command Reference Manual 2-605
Publication Number: 53-1000240-01
setSfpMode
2
Note: Enter commands in lowercase only; mixed case is for readability.
setSfpMode
Enables or disables media mode.
Synopsis setsfpmode [mode | -show]
Description Use this command to enable SFP media mode 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 setSfpMode. 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.
N
ote
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operands:
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.
Examples To enable, disable, and then display the media mode:
See Also crossPortTest, itemList, miniCycle, setGbicMode, setMediaMode, spinJitter, spinSilk
switch:admin> setsfpmode 0
SFP mode is now 0 (disabled).