Configuring CNA ports and FC ports

Configuring CNA ports

If a node has onboard CNA ports or a CNA card, you must check the configuration of the ports and possibly reconfigure them, depending on how you want to use the upgraded system.

Before you begin

You must have the correct SFP+ modules for the CNA ports.

About this task

CNA ports can be configured into native Fibre Channel (FC) mode or CNA mode. FC mode supports FC initiator and FC target; CNA mode allows concurrent NIC and FCoE traffic the same 10GbE SFP+ interface and supports FC target.

Note: NetApp marketing materials might use the term UTA2 to refer to CNA adapters and ports. However, the CLI and product documentation use the term CNA.

CNA ports might be on an adapter or onboard the controller and have the following configurations:

  • CNA cards ordered when the controller is ordered are configured before shipment to have the personality you request.
  • CNA cards ordered separately from the controller are shipped with the default FC target personality.
  • Onboard CNA ports on new controllers are configured before shipment to have the personality you request.

However, you should check the configuration of the CNA ports on the node and change it, if necessary.

Steps

  1. Check how the ports are currently configured by entering one of the following commands on the new controller:ucadmin show

The system displays output similar to the following examples:

node> ucadmin show

Current Current   Pending  Pending

Adapter  Mode    Type      Mode     Type      Status

——-  ——- ——— ——-  ——-   ——

0e       fc      initiator –        –         online

0f       fc      initiator –        –         online

0g       cna     target    –        –         online

0h       cna     target    –        –         online

0e       fc      initiator –        –         online

0f       fc      initiator –        –         online

0g       cna     target    –        –         online

0h       cna     target    –        –         online

*>

You can use the -c option to display the supported personality mode and FC4 type, as shown in the following example:

node> ucadmin show -c

Adapter  Mode    FC Supported Types     CNA Supported Types

——-  ——  ———————  ———————

1a      fc         initiator,target        –

1b      fc         initiator,target        –

2a      fc         initiator,target        –

2b      fc         initiator,target        –

  1. If the current SFP+ module does not match the desired use, replace it with the correct SFP+ module.
  2. Examine the output of the ucadmin show command and determine whether the CNA ports have the personality you want.
  3. Take one of the following actions:
If the CNA ports … Then…
Do not have the personality that you want Go to Step 5.
Have the personality that you want Skip Step 5 through Step 7 and go to Step 8.
  1. If the CNA port is online, take it offline by entering one of the following commands:
If the adapter… Then…
Is in initiator mode Enter the following command: storage disable adapter adapter-name
Is in target mode Enter the following command: fcp config adapter_name down
  1. If the current configuration does not match the desired use, enter the following commands to change the configuration as needed: ucadmin modify -m fc|cna -t initiator|target adapter_name
    • -m is the personality mode, fc or 10GbE cna.
    • -t is the FC4 type, target or initiator.

Note: You need to use FC initiator for tape drives, FlexArray Virtualization systems, and Fabric MetroCluster. You also need to use FC initiator for stretch MetroCluster if you are using a FibreBridge6500N bridge. You need to use FC target for SAN clients.

  1. Verify the settings by entering one of the following commands: ucadmin show

Example

The output in the following examples show that the FC4 type of adapter 1b is changing to initiator and that the mode of adapters 2a and 2b is changing to cna.

node> ucadmin show

Current Current   Pending  Pending

Adapter  Mode    Type      Mode     Type       Status

——-  ——- ——— ——-  ——-    ——

1a       fc      initiator –        –          online

1b       fc      target    –        initiator  online

2a       fc      target    cna      –          online

2b       fc      target    cna      –          online

*>

  1. Online any target ports by entering the following command: fcp config adapter_name up

It is not necessary to online initiator ports. They automatically come online if they are connected to a device.

  1. Reboot the node so that the configuration changes take effect.
  2. Cable the port.

 

Leave a Reply

Your email address will not be published. Required fields are marked *