Configuring FCoE for the MZ520 in VMware ESXi
This section uses VMware ESXi 6.0 as an example. For details about the configuration on other OSs, see the OS documentation provided by the OS vendors.
To configure FCoE in VMware ESXi 6.0, perform the following steps:
- If NPAR is enabled, set the working mode of the PFs that need to use the FCoE function to FCoE (NIC+FCoE). For details, see Configuring NPAR. After the configuration, check and record the NIC MAC address of the PF in NIC+FCoE mode.
If NPAR is disabled, skip this step.
- Install Ethernet and FCoE drivers in VMware ESXi 6.0. For details, see Installing and Uninstalling the MZ520 Drivers in VMware ESXi.
- On the VMware ESXi CLI, run the esxcli fcoe nic list command to check for vmnics that support the FCoE function.Figure 4-293 vmnics that support the FCoE function
- Run the esxcli fcoe nic discover-n vmnic<n> command to enable the FCoE function for one of vmnics. If NPAR is enabled, vmnic<n> is the name of the port for the PF in NIC+FCoE mode. You can identify the NIC port name from the NIC MAC address recorded in Step 1.Figure 4-294 Enabling the FCoE function
- Run the esxcli fcoe adapter list command to view FCoE port information, including FCF MAC, VNPort MAC, Physical NIC, and VLAN id.Figure 4-295 Viewing FCoE port information
- Run the esxcli storage san fcoe list command to view FCoE port details and the connection status, such as Port ID, Node Name, Port Name, Port State, and Vmnic Name.Figure 4-296 Viewing FCoE port details and connection status