HP StorageWorks Fabric OS 5.X Command Reference Guide (AA-RVHVB-TE, September 2005)

Table Of Contents
Fabric OS 5.x command reference guide 521
Swaps area numbers of two ports.
Synopsis
portswap [slotnumber1/]portnumber1 [slotnumber2/]portnumber2
Availability
admin
Description
Use this command to swap area numbers 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.
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
slotnumber1 For bladed systems only, specify the slot number of the first port whose
area number is to be swapped, followed by a slash (/).
portnumber1 Specify a port number to be configured, relative to its slot for bladed
systems. Use switchShow to display a list of valid ports.
slotnumber2 For bladed systems only, specify the slot number of the second port
whose area number is to be swapped, followed by a slash (/).
portnumber2 Specify a port number to be configured, relative to its slot for bladed
systems.
switch:admin> portswap 1/e 2/5
portswap done