Users Guide

Fabric OS Command Reference 75
53-1002921-02
bladeSwap
2
bladeSwap
Swaps the area numbers for matching port pairs of two blades.
SYNOPSIS bladeSwap -src source_slot -dest destination_slot
DESCRIPTION Use this command to swap the area numbers for matching port pairs of two blades. All ports must qualify
for swapping for this command to succeed. It validates that the blades in the indicated slots are of the
same type, have the same number of ports, and that the port pairs are in the same partition.
If all the ports qualify for swapping, this command automatically performs the following operations:
1. It enables the port swapping feature by executing the portSwapEnable command.
2. It takes all ports on both the source and destination blades offline by executing the bladeDisable
command.
3. It swaps the matching port pairs on each of the specified blades.
4. It re-enables the blade by executing the bladeEnable command.
The result of this operation is persistent across reboots and power cycles.
NOTES The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
This command leaves both the source and destination blades in a disabled state. To enable all ports on a
blade, issue the bladeEnable command. To enable individual ports, issue the portEnable command.
This command affects port swap information that is kept in its own database. It cannot be manipulated by
editing the configuration database reported by configShow.
This command is not allowed if one or both the blades are faulty.
OPERANDS This command has the following operands:
-src source_slot
Specifies the slot number for the source blade.
-dest destination_slot
Specifies the slot number for the destination blade. Use slotShow for a listing of
valid slots.
EXAMPLES To swap area numbers between matching port pairs of two slots:
switch:admin> bladeswap -src 1 -dest 3
bladeswap done
SEE ALSO portSwapEnable, portSwapDisable, portSwapShow, portShow, portEnable, portDisable,
bladeEnable, bladeDisable, switchShow, switchEnable