Portswap – Dell POWEREDGE M1000E User Manual

Page 827

Advertising
background image

Fabric OS Command Reference

795

53-1001764-02

portSwap

2

portSwap

Swaps the port Address of two ports.

Synopsis

portswap [slot1/]port1 [slott2/]port2

Description

Use this command to swap the 24-bit port address (PID) 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. 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.

Note

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.

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

See Also

portDisable, portEnable, portShow, portSwapDisable, portSwapEnable, portSwapShow,
switchShow

Advertising