2
portSwap
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.
You cannot swap E_ports that are configured as part of a TI zone. The TI zone information is lost when
you swap the E_ports. To work around this issue, reconfigure your TI zones rather than swapping the
ports.
OPERANDS
This command has the following operands:
slot1
port1
slot2
port2
--restore
EXAMPLES
To swap area numbers between a pair of ports:
852
For bladed systems only, specifies the slot number of the first port whose area
number is to be swapped, followed by a slash (/).
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.
For bladed systems only, specifies the slot number of the second port whose area
number is to be swapped, followed by a slash (/).
Specifies the number of the second port whose port address is to be swapped,
relative to its slot for bladed systems.
Removes swapping of all ports.
switch:admin> portswap 8/1 8/2
portswap done
switch:admin> portswapshow
PortSwap is enabled
Slot
Slotport
============================================
8
1
193
8
2
194
Swport
Address
0x01c200
0x01c100
Fabric OS Command Reference
53-1002746-01
Need help?
Do you have a question about the StoreFabric SN6500B and is the answer not in the manual?
Questions and answers