Identifying MZ522 Ports in VMware ESXi
To identify MZ522 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-186, vmnic0, vmnic1, vmnic2 and vmnic3 are the four NIC ports of the MZ522. 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-186 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 and vmnic3 map to Port 0 and Port 1 of Controller 0, and vmnic1 and vmnic2 map to Port 0 and Port 1 of Controller 1 respectively. Table 4-6 lists the mapping between physical ports and MAC addresses.
Controller |
Physical Port |
NIC Function |
FCoE/iSCSI Function |
---|---|---|---|
Controller 0 |
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 |
|
Controller 1 |
Port 0 |
20:17:02:04:14:10 |
20:17:02:04:14:11 |
Port 1 |
20:17:02:04:14:12 |
20:17:02:04:14:13 |
After NPAR is enabled, 16 vmnics are displayed on the Network Adapters screen, as shown in Figure 4-187.
The FCoE/iSCSI functions of each physical port can be allocated to any PF. Therefore, the MZ522 reserves MAC addresses for all NIC and FCoE/iSCSI functions, as shown in Table 4-7.
Controller |
Physical Port |
PF |
NIC Function |
FCoE/iSCSI Function |
---|---|---|---|---|
Controller 0 |
Port 0 |
PF 0 |
20:17:02:04:14:00 |
20:17:02:04:14:01 |
PF 2 |
20:17:02:04:14:04 |
20:17:02:04:14:05 |
||
PF 4 |
20:17:02:04:14:08 |
20:17:02:04:14:09 |
||
PF 6 |
20:17:02:04:14:0C |
20:17:02:04:14:0D |
||
Port 1 |
PF 1 |
20:17:02:04:14:02 |
20:17:02:04:14:03 |
|
PF 3 |
20:17:02:04:14:06 |
20:17:02:04:14:07 |
||
PF 5 |
20:17:02:04:14:0A |
20:17:02:04:14:0B |
||
PF 7 |
20:17:02:04:14:0E |
20:17:02:04:14:0F |
||
Controller 1 |
Port 0 |
PF 0 |
20:17:02:04:14:10 |
20:17:02:04:14:11 |
PF 2 |
20:17:02:04:14:14 |
20:17:02:04:14:15 |
||
PF 4 |
20:17:02:04:14:18 |
20:17:02:04:14:19 |
||
PF 6 |
20:17:02:04:14:1C |
20:17:02:04:14:1D |
||
Port 1 |
PF 1 |
20:17:02:04:14:12 |
20:17:02:04:14:13 |
|
PF 3 |
20:17:02:04:14:16 |
20:17:02:04:14:17 |
||
PF 5 |
20:17:02:04:14:1A |
20:17:02:04:14:1B |
||
PF 7 |
20:17:02:04:14:1E |
20:17:02:04:14:1F |
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 MZ522 PCIe devices, as shown in Figure 4-192. After NPAR is enabled, there are 16 PCIe devices, corresponding to 16 vmnic ports.