Identifying MZ520 Ports 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 identify MZ520 ports in VMware ESXi 6.0, perform the following steps:
During the ESXi host startup, press F2 to go to the Customize System/View Logs screen and enter the user name and password as prompted.
Select Configure Management Network and press Enter.
Select Network Adapters and press Enter.
As shown in Figure 4-197, vmnic0 and vmnic1 are the two NIC ports of the MZ520. You can press the space bar to select one or more vmnic ports as management network ports.
The sequence of vmnic network ports in Figure 4-197 may vary in the actual situation, and you can use the MAC addresses to identify the physical ports. The MAC addresses of the are allocated as follows: the last byte of the MAC address of Port 1 is larger by 2 than that of Port 0 of the same controller. Therefore, vmnic0 maps to Port 0, and vmnic1 maps to Port 1. Table 4-6 lists the mapping between physical ports and MAC addresses.
Physical Port |
NIC Function |
FCoE/iSCSI Function |
---|---|---|
Port 0 |
20:17:02:04:14:00 |
20:17:02:04:14:01 |
Port 1 |
20:17:02:04:14:02 |
20:17:02:04:14:03 |
After NPAR is enabled, eight vmnics are displayed on the Network Adapters screen, as shown in Figure 4-198.
The FCoE/iSCSI functions of each physical port can be allocated to any PF. Therefore, the MZ520 reserves MAC addresses for all NIC and FCoE/iSCSI functions, as shown in Table 4-7.
Physical Port |
PF |
NIC Function |
FCoE/iSCSI Function |
---|---|---|---|
Port 0 |
PF0 |
20:17:02:04:14:00 |
20:17:02:04:14:01 |
PF2 |
20:17:02:04:14:04 |
20:17:02:04:14:05 |
|
PF4 |
20:17:02:04:14:08 |
20:17:02:04:14:09 |
|
PF6 |
20:17:02:04:14:0C |
20:17:02:04:14:0D |
|
Port 1 |
PF1 |
20:17:02:04:14:02 |
20:17:02:04:14:03 |
PF3 |
20:17:02:04:14:06 |
20:17:02:04:14:07 |
|
PF5 |
20:17:02:04:14:0A |
20:17:02:04:14:0B |
|
PF7 |
20:17:02:04:14:0E |
20:17:02:04:14:0F |
After the IP address of the vmnic management port is configured and SSH is enabled, you can use a terminal tool to log in to the VMware ESXi CLI over SSH.
On the Configure Management Network screen, select IPv4 Configuration and press Enter.
Set an IP address for the management network port.
On the Configure Management Network screen, select Troubleshooting Options and press Enter.
Select Enable SSH and press Enter to enable SSH.
Use a terminal tool to log in to the OS CLI over SSH, and run the lspci|grep -i 57810 command to view to MZ520 PCIe devices, as shown in Figure 4-203. After NPAR is enabled, there are eight PCIe devices, corresponding to eight vmnic ports.