> # Pre-Configuring FlexAttach for Each Port Individually

> Using the Pre-Configure Server Advanced configuration wizard, you can set the following port configurations for each port in one or more switches individually:

> - Enable FlexAttach Auto on all ports.
> - Enable FlexAttach Auto or Manual on individual ports.
> - Set the virtual pWWN for ports where FlexAttach is enabled Manually.
> - Set pWWN to vPWWN mapping.
> - Set the default VSAN ID for each port.
> - Set the Interface status for each port.

> ## Detailed Steps

> To pre-configure FlexAttach on each port individually, follow these steps:

> 1. In the DCNM-SAN window, select Tools > NPV > Flex Attach Pre-configure Server.

> The Pre-Configure Server window is displayed.

> 2. In the Pre-Configure Server window, click the Advanced radio button to configure FlexAttach on each port individually. Click Next.

> The Pre-Configure Server Advanced configuration window is displayed.

> Note From the Interface tab, you can select a switch from the list of switches displayed in the left pane and click Disable FlexAttach to change the switches to manual configuration. Select Undo Changes to return to the previous configuration.

> 3. In the Interface tab, and select a switch from the list of switches displayed in the left pane.

> The switch configuration details are displayed in the right pane with tabs and columns.

> 4. Configure the following settings, for each interface:
> - In the Status Admin column corresponding to the interface, double-click and then select up or down from the drop-down list.
> - In the VSAN column corresponding to the interface, double-click and then select the VSAN ID from the drop-down list of existing VSAN IDs.
> - In the Auto column corresponding to the interface, double-click and then select Auto to automatically enable FlexAttach or select Manual to manually enable FlexAttach later.
> - In the Interface vPWWN cell, enter the vPWWN if Manual was selected in the Auto FlexAttach configuration cell.

> Note You can click Set All Auto to change all the interfaces with manual FlexAttach configuration to Auto on the selected switch. However, if a valid virtual PWWN value is already configured, then changing it to Auto does not change the configuration. Before you change from Manual to Auto, update the Interface vPWWN column with the 00:00:00:00:00:00:00:00 value.

> 5. Repeat Step 3 through Step 4 for each switch.
> 6. Click the pWWN to vPWWN tab to configure pWWN to virtual PWWN mapping.

> The Advanced Configuration window is displayed.

> 7. From the Select a switch drop-down list, select the switch to display the existing pWWN to Virtual PWWN mapping table for the CFS region to which the switch belongs, and then follow these steps to add virtual pWWN to virtual pWWN automap entries:
> 1. Click Add Row to display the pWWN to vPWWN dialog box.
> 2. Enter the pWWN and the corresponding Virtual pWWN.
> 3. Click Create to add the mapping list.

> Note To delete an existing mapping, select the row, and then click Delete Row. Only one pWWN to vPWWN table can be updated at a time. To update the table for each CFS region, perform
> Step 6 though Step 8 for a switch from each CFS region.

> 8. Click Finish to complete the configurations for each port.

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