UMC
Figure 5-1 shows the networking topology of the MZ510 working with the CX310.
In Figure 5-1, the CH121 (1) is installed in slot Blade1 in the E9000 chassis, and the CH121 (2) is in slot Blade2. The MZ510 is installed in slot Mezz1 on the CH121, and the two physical ports connect to two CX310s respectively. The CX310 (1) is installed in slot 2X in the E9000 chassis, and the CX310 (2) is in slot 3X.
UMC is enabled on the MZ510. Each physical port supports a maximum of four PFs, and each PF is configured with one LPVID (native VLAN ID). The PFs with the numbers on the MZ510 (1) and MZ510 (2) are configured with the same LPVID.
For details about how to configure UMC, see section 3.2.2. In Windows, open the network management window, and configure an IP address for the NIC. In Linux, find eth[num] of each PF by referring to section 3.3, and then run the following command to configure a temporary IP address (which is not saved in case of reset or power failures), or open the network management window and set an IP address (which is saved even if power failures occur).
#ifconfig eth[num] [IP address] netmask [Mask]
The following lists the VLAN and IP address configurations of each PF:
MZ510(1): Port0: PF0:192.168.10.10 (VLAN10) PF2:192.168.20.10 (VLAN20) PF4:192.168.30.10 (VLAN30) PF6:192.168.40.10 (VLAN40) Port1: PF1:192.168.11.10 (VLAN11) PF3:192.168.21.10 (VLAN21) PF5:192.168.31.10 (VLAN31) PF7:192.168.41.10 (VLAN41) MZ510(2): Port0: PF0:192.168.10.20 (VLAN10) PF2:192.168.20.20 (VLAN20) PF4:192.168.30.20 (VLAN30) PF6:192.168.40.20 (VLAN40) Port1: PF1:192.168.11.20 (VLAN11) PF3:192.168.21.20 (VLAN21) PF5:192.168.31.20 (VLAN31) PF7:192.168.41.20 (VLAN41)
Configure the mode of the CX310 port connected to the MZ510 to hybrid or trunk (the following uses hybrid as an example), and add VLANs that are used by the MZ510 ports. The following lists the detailed configurations:
CX310(1): [HUAWEI]vlan 10 [HUAWEI]vlan 20 [HUAWEI]vlan 30 [HUAWEI]vlan 40 [HUAWEI] interface 10GE2/1/1 [HUAWEI-10GE2/1/1] port link-type hybrid [HUAWEI-10GE2/1/1] port hybrid tagged vlan 10 [HUAWEI-10GE2/1/1] port hybrid tagged vlan 20 [HUAWEI-10GE2/1/1] port hybrid tagged vlan 30 [HUAWEI-10GE2/1/1] port hybrid tagged vlan 40 [HUAWEI] interface 10GE2/2/1 [HUAWEI-10GE2/2/1] port link-type hybrid [HUAWEI-10GE2/2/1] port hybrid tagged vlan 10 [HUAWEI-10GE2/2/1] port hybrid tagged vlan 20 [HUAWEI-10GE2/2/1] port hybrid tagged vlan 30 [HUAWEI-10GE2/2/1] port hybrid tagged vlan 40 CX310(2): [HUAWEI]vlan 11 [HUAWEI]vlan 21 [HUAWEI]vlan 31 [HUAWEI]vlan 41 [HUAWEI] interface 10GE3/1/1 [HUAWEI-10GE3/1/1] port link-type hybrid [HUAWEI-10GE3/1/1] port hybrid tagged vlan 11 [HUAWEI-10GE3/1/1] port hybrid tagged vlan 21 [HUAWEI-10GE3/1/1] port hybrid tagged vlan 31 [HUAWEI-10GE3/1/1] port hybrid tagged vlan 41 [HUAWEI] interface 10GE3/2/1 [HUAWEI-10GE3/2/1] port link-type hybrid [HUAWEI-10GE3/2/1] port hybrid tagged vlan 11 [HUAWEI-10GE3/2/1] port hybrid tagged vlan 21 [HUAWEI-10GE3/2/1] port hybrid tagged vlan 31 [HUAWEI-10GE3/2/1] port hybrid tagged vlan 41
After configuration is complete, the PFs with the same number on the MZ510 (1) and MZ510 (2) can communicate with each other. For example, the IP addresses of two PF0s can ping each other. PFs with different numbers on the two MZ510s, for example, PF0 and PF1, are isolated from each other based on VLANs. If the CX310 uplink port is connected to the external network, the PFs on the MZ510 can communicate with the devices that are on the same network segment of the same VLAN on the external network.