Identifying MZ510 Ports in the OS
The following describes how to identify MZ510 ports in Linux.
In Linux, run the lspci | grep Emulex command to view the MZ510 information (PCIe function).
Figure 4-57 shows the MZ510 information when UMC is disabled and FCoE is enabled.
The information indicates that the MZ510 uses the BE3 chip.
After FCoE is enabled for the MZ510, each physical port is displayed as one NIC logical channel and one FCoE logical channel, as shown in Figure 4-57. 02:00.0 and 02:00.2 are the NIC and FCoE logical channels respectively of one physical port; 02:00.1 and 02:00.3 are the NIC and FCoE logical channels respectively of the other physical port.
If FCoE is disabled on the MZ510, two NIC devices are displayed, and the two lines of FCoE initiator information are not displayed. Run the ifconfig -a command.
You can view the two NIC ports, which are displayed in the format of eth[num]. See eth12 and eth13 in Figure 4-58.
The ifconfig command displays only the NIC ports (or NIC logical channels) because FCoE logical channels are for storage and not displayed.
In Figure 4-58, eth12 corresponds to physical port Port0 of the MZ510, whose MAC address is 00:25:9E:CA:88:50; eth13 corresponds to physical port Port1 of the MZ510, whose MAC address is 00:25:9E:CA:88:54. The MZ510 supports UMC and a maximum of eight PFs. Therefore it occupies eight MAC addresses. Table 4-3 lists the MAC addresses of the MZ510.
Physical Port |
PCIe Function |
Mode |
MAC |
---|---|---|---|
Port0 |
PF0 |
NIC |
00:25:9E:CA:88:50 |
PF2 |
NIC/FCoE/iSCSI |
00:25:9E:CA:88:51 |
|
PF4 |
NIC |
00:25:9E:CA:88:52 |
|
PF6 |
NIC |
00:25:9E:CA:88:53 |
|
Port1 |
PF1 |
NIC |
00:25:9E:CA:88:54 |
PF3 |
NIC/FCoE/iSCSI |
00:25:9E:CA:88:55 |
|
PF5 |
NIC |
00:25:9E:CA:88:56 |
|
PF7 |
NIC |
00:25:9E:CA:88:57 |
If FCoE is enabled on the MZ510, the NIC logical channels of Port0 use the MAC address 00:25:9E:CA:88:50, and the FCoE logical channels use the MAC address 00:25:9E:CA:88:51; the NIC logical channels of Port1 use the MAC address 00:25:9E:CA:88:54, and the FCoE logical channels use the MAC address 00:25:9E:CA:88:55. The other MAC addresses are not displayed and reserved because UMC is disabled on the MZ510.
Figure 4-59 shows the MZ510 information when UMC and FCoE are enabled.
After FCoE is enabled on the MZ510, each physical port is displayed as three NIC logical channels and one FCoE logical channel, as shown in Figure 4-59. 02:00.0, 02.00.4, and 02:00.6 are the NIC logical channels of one physical port and 02:00.2 is the FCoE logical channel of this port. 02:00.1, 2.00.3, and 02:00.5 are the NIC logical channels and 02:00.7 is the FCoE logical channel of the other physical port.
If FCoE is disabled on the MZ510, eight NIC devices are displayed because 02:00.2 and 02:00.3 are also displayed as NIC logical channels.
Run the ifconfig -a command. You can view the eight NIC ports displayed in the format of eth[num], as shown in Figure 4-60. eth12, eth13, eth22, eth23, eth24, and eth25 are the six NIC logical channels, and the two FCoE logical channels are not displayed.
In Figure 4-60, eth12 corresponds to PF0 of physical port Port0 on the MZ510, eth25 corresponds to PF4, and eth23 corresponds to PF6; eth13 corresponds to PF1 of physical port Port1, eth22 corresponds to PF5, and eth24 corresponds to PF7.
The values of network port eth[num] displayed in the OS are changed when NICs are replaced or added. The OS saves the original configuration information so that the ports on the new NICs will change based on actual configuration. If a node is equipped with two MZ510s or other NICs, their ports are displayed as eth[num] in the OS.
To identify the MZ510 NIC ports, you can run the yast2 lan command to open the Network Settings window in SUSE Linux Enterprise Server (SLES) 11, and view the values of eth[num] and MAC addresses of the MZ510, as shown in Figure 4-61.