HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

Fabric OS 5.0.0 command reference guide 491
Swaps area numbers of two switch ports.
Synopsis
portswap [slotnumber/]portnumber1 [slotnumber2/]portnumber2
Availability
admin
Description
Use this command to swap area numbers for a pair of switch ports. Both switch ports must be disabled
prior to executing this command.
NOTE: 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.
Operands
This command has the following operands:
Examples
To swaps area numbers between a pair of ports:
portSwap
slotnumber Specify the slot number for a Core Switch 2/64 or SAN Director 2/128.
For all other switches, this operand is not required. The slot number must
be followed by a slash ( / ) and the port number, so that each port is
represented by both slot number (1 through 4 or 7 through 10) and port
number (0 through 15).
The Core Switch 2/64 and SAN Director 2/128 have a total of 10 slots.
Slot numbers 5 and 6 are control processor cards; slots 1 through 4 and
7 through 10 are port cards. On each port card, there are 16 ports,
counted from the bottom, numbered 0 to 15.
portnumber1 Specify the number of the port for which you want to swap the area ID
number.
slotnumber2 Specify the slot number of the second port for which you want to swap
the area number. This is only required for Core Switch 2/64 or SAN
Director 2/128.
portnumber2 Specify the number of the port for which you want to swap the port1
area ID number.
switch:admin> portswap 1/2 2/5