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

Fabric OS Command Reference Manual 2-529
Publication Number: 53-1000240-01
portSwap
2
Note: Enter commands in lowercase only; mixed case is for readability.
portSwap
Swaps area numbers of two ports.
Synopsis portswap [slotnumber1/]portnumber1 [slotnumber2/]portnumber2
Description Use this command to swap area numbers for a pair of ports. Both ports must be disabled prior to
executing this command and the port-swapping feature must be enabled using portSwapEnable.
The result of this operation is persistent across reboots and power cycles.
N
ote
To undo a previous port swap, execute portSwap again on the same two ports.
portSwap information is kept in its own database; it cannot be manipulated by editing the configuration
database displayed by configShow and configUpload.
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:
slotnumber1 For bladed systems only, specify the slot number of the first port whose area
number is to be swapped, followed by a slash (/).
portnumber1 Specify the number of the first port whose area number is to be swapped, relative
to its slot for bladed systems. Use switchShow to display a list of valid ports.
slotnumber2 For bladed systems only, specify the slot number of the second port whose area
number is to be swapped, followed by a slash (/).
portnumber2 Specify the number of the second port whose area number is to be swapped,
relative to its slot for bladed systems.
Examples To swap area numbers between a pair of ports:
See Also portDisable, portEnable, portShow, portSwapDisable, portSwapEnable, portSwapShow,
switchShow
switch:admin> portswap 1/3 2/5
portswap done