Portswap – Dell POWEREDGE M1000E User Manual
Page 880
852
Fabric OS Command Reference
53-1002746-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.
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
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