> # Replacing the Server to a Different Port on the Same Switch

> ## Detailed Steps

> To replace a server with a spare server on a different port in the same switch, follow these steps:

> 1. In the DCNM-SAN window, select Tools > NPV > FlexAttach Replace Server.

> The Replace Failed Server wizard is displayed.

> 2. In the Replace Failed Server wizard, click the With Spare Server on Same NPV Switch radio button.
> 3. Click Next.

> The Choose Failed Port window is displayed.

> 4. In the Choose Failed Port selection window, from the Select a Switch drop-down list, select the switch.
> 5. From the list of interfaces displayed, select the port from which the server needs to be detached.
> 6. Click Next.

> The Choose New Port window is displayed.

> 7. In the Choose New Port selection window, select the port on which the spare server is connected.
> 8. Click Next.

> The Server WWN window is displayed.

> In the Server WWN window, if the FlexAttach global mapping table is empty, the wizard automatically prefills the drop-down table with the interface virtual vPWWN of the source port to be replaced, and the vPWWN field is not editable. In this case, the Allow wizard to change from “pWWN to vPWWN” mapping to “interface to vPWWN” mapping is treated as true.

> If the FlexAttach global mapping table is not empty, the vPWWN field is blank and editable. From the drop-down list that displays all existing entries from the global mapping table, select the vPWWN entry or type the required entry, and the new server physical port WWN.

> Check the Allow wizard to change from “pWWN to vPWWN” mapping to “interface to vPWWN” mapping check box to remove the pWWN to vPWWN entry from the CFS Region mapping table, and configure the mapping only at the interface.

> 9. Click Finish to complete the FlexAttach configuration for the spare server.

> Copyright 2010-2013, Cisco Systems, Inc. All rights reserved.