Portswap – Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual
Page 979
Fabric OS Command Reference
949
53-1003131-01
portSwap
2
portSwap
Swaps two ports or removes swapping of ports.
SYNOPSIS
portswap [slot1/]port1 [slot2/]port2
portswap --restore
DESCRIPTION
Use this command to swap the 24-bit port address (PID) for a pair of ports or to remove swapping of
ports. When swapping 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. Use portSwapShow to display
the swapped ports along with their new port address
Port swap information is kept in its own database; it cannot be manipulated by editing the configuration
database displayed by configShow and configUpload. To undo a previous port swap, execute
portSwap again on the same two ports.
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.
TI zoning is not supported on E_Ports or F_Ports that are configured as part of a TI Zone with ports
swapped. To work around this issue, reconfigure TI zoning rather than swapping the ports.
This command is not allowed if one or both the ports are from a faulty blade.
OPERANDS
This command has the following operands:
slot1
For bladed systems only, specifies the slot number of the first port whose area
number is to be swapped, followed by a slash (/).
port1
Specifies the number of the first port whose address is to be swapped, relative to
its slot for bladed systems. Use switchShow to display a listing of valid ports.
slot2
For bladed systems only, specifies the slot number of the second port whose area
number is to be swapped, followed by a slash (/).
port2
Specifies the number of the second port whose port address is to be swapped,
relative to its slot for bladed systems.
--restore
Removes swapping of all ports.
EXAMPLES
To swap area numbers between a pair of ports:
switch:admin> portswap 8/1 8/2
portswap done
switch:admin> portswapshow
PortSwap is enabled
Slot Slotport Swport Address
============================================
8 1 193 0x01c200
8 2 194 0x01c100