HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)

480 Configuring the PID format
Swapping port area IDs
If a device that uses port binding is connected to a port that fails, you can use port swapping to make
another physical port use the same PID as the failed port. The device can then be plugged into the new
port without the need to reboot the device.
Use the following procedure to swap the port area IDs of two physical switch ports. In order to swap port
area IDs, the port swap feature must be enabled, and both switch ports must be disabled. The swapped
area IDs for the two ports remain persistent across reboots, power cycles, and failovers.
4/256 SAN Director and DC SAN Backbone Director (short name, DC Director) only: You can swap only
ports 0 through 15 on the FC4-48 and FC8-48 port blade. You cannot swap ports 16 through 47.
To swap area IDs for a pair of switch ports:
1. Connect to the switch and log in as admin.
2. Enable the port swap feature:
portswapenable
3. HP StorageWorks 4/8, 4/16, 4/32, 4/32B, 4/64, Brocade 4 Gb SAN Switch for p-Class
BladeSystem, Brocade 4 Gb SAN Switch for c-Class BladeSystem,and 400 Multi-protocol
Router switches: Enter the following commands:
portdisable port1
portdisable port2
4/256 SAN Director and DC SAN Backbone Director (short name, DC Director): Enter the following
commands:
portdisable slot/port1
portdisable slot/port2
4. HP StorageWorks 4/8, 4/16, 4/32 and 400 Multi-protocol Router switches: Enter the following
command:
portswap port1 port2
4/256 SAN Director and DC SAN Backbone Director (short name, DC Director): Enter the following
command:
portswap slot1/port1 slot2/port2
5. Verify that the port area IDs have been swapped:
portswapshow
A table is shows the physical port numbers and the logical area IDs for any swapped ports.
6. Disable the port swap feature:
portswapdisable