No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Typical Configuration Examples

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Interoperation Between CE Series Switches and Servers Using Mellanox ConnectX Ethernet Adapter Network Adapters (IEEE 802.3ad Mode)

Configuring Interoperation Between CE Series Switches and Servers Using Mellanox ConnectX Ethernet Adapter Network Adapters (IEEE 802.3ad Mode)

Applicable Products and Versions

This example applies to CE series switches of V100R001C00SPC200 or later versions.

Networking Requirements

As shown in Figure 3-6, a server uses a network adapter group consisting of two Mellanox ConnectX Ethernet Adapter network adapters that connect to different interfaces of SwitchA. It is required that link aggregation be configured on links between the CE series switch and server to improve the interface bandwidth and the links load balance service traffic.

Figure 3-6 Interoperability between a CE series switch and a server

Configuration Roadmap

The network adapter group in load balancing mode can meet the preceding requirement. The configuration roadmap is as follows:
  1. Create an Eth-Trunk on the CE series switch and configure the Eth-Trunk to work in static LACP mode to improve the interface bandwidth and reliability.
  2. Configure the network adapter group to work in dynamic link aggregation (IEEE 802.3ad) mode to improve the link reliability and interface bandwidth and implement link load balancing.
NOTE:

The load balancing mode applies to scenarios in which a server connects to a switch or a stack system.

Procedure

  1. Configure an Eth-Trunk and a VLAN on the CE series switch.

    <HUAWEI> system-view                                                             
    [~HUAWEI] sysname SwitchA                                                             
    [*HUAWEI] commit                                                              
    [~SwitchA] vlan batch 2                             //Create VLAN 2.              
    [*SwitchA] interface eth-trunk 1                                                  
    [*SwitchA-Eth-Trunk1] mode lacp-static                     //Configure the Eth-Trunk to work in static LACP mode.             
    [*SwitchA-Eth-Trunk1] trunkport 10ge 1/0/1 to 1/0/2         //Add the two interfaces connected to the server to the Eth-Trunk.      
    [*SwitchA-Eth-Trunk1] port default vlan 2                                           
    [*SwitchA-Eth-Trunk1] commit                                                      
    NOTE:

    When a 40GE interface on the CE-L36LQ-EG card is connected to an interface on a Mellanox network adapter using a passive QSFP+ high-speed cable, the two interfaces may fail to go Up due to different 40GBASE-CR4 negotiation mechanisms used on the interfaces. In this case, disable the auto-negotiation function on the 40GE interface so that the two interfaces can go Up and communicate properly.

  2. Configure a network adapter group on the server.
    1. Choose Start > Control Panel > Network and Sharing Center. Click Change adapter settings. The Network Connections page is displayed.
    2. Right-click a network adapter to be added to the network adapter group, and click Properties. The Mellanox ConnectX-3 Ethernet Adapter Properties window is displayed.
    3. Click the LBFO tab page and click Create in the lower left corner to create a network adapter group.
    4. Enter the network adapter group name, for example, TX, in the Bundle Name text box. In the Bundle Type drop-down list box, choose Dynamic Link Aggregation (802.3ad), select network adapters to be added to the network adapter group, and click Commit to complete the network adapter group configuration.
    5. Choose Start > Control Panel > Network and Sharing Center. Click Change adapter settings. The Network Connections page is displayed. Right-click the created network adapter group, and click Properties.
    6. Click the Network tab page and double-click Internet Protocol Version 4 (TCP/IPv4) to configure the IP address of the network adapter group.
    7. In the Internet Protocol Version 4 (TCP/IPv4) Properties window, select an IP address obtaining mode, and click OK.

Checking the Configuration

  1. Run the display eth-trunk [ trunk-id ] command in any view to check the Eth-Trunk status. Check whether the Eth-Trunk status is normal based on key information in Table 3-12.
    <HUAWEI> display eth-trunk 1
    Eth-Trunk1's state information is:                                              
    Local:                                                                          
    LAG ID: 1                       Working Mode: Dynamic                           
    Preempt Delay: Disabled         Hash Arithmetic: profile default                
    System Priority: 32768          System ID: 04f9-388d-e681                       
    Least Active-linknumber: 1      Max Active-linknumber: 8                        
    Operating Status: up          Number Of Up Ports In Trunk: 2                  
    Timeout Period: Slow                                                            
    --------------------------------------------------------------------------------
    ActorPortName          Status   PortType PortPri PortNo PortKey PortState Weight
    10GE1/0/1              Selected  10GE     32768   1      321     10100010  1     
    10GE1/0/2              Selected  10GE     32768   2      321     10100010  1     
    
    Table 3-12 Eth-Trunk status

    Check Item

    Normal State

    Working Mode

    Dynamic.

    Operating Status

    up: indicates that the Eth-Trunk is Up.

    Number Of Up Ports In Trunk

    Number of Up member interfaces in the Eth-Trunk. If the value is the same as the number of member interfaces, the Eth-Trunk is normal.

    Status

    Selected: indicates that the member interface is selected as an active interface.

    Weight

    Weight of the member interface. If all member interfaces have the same weight, the Eth-Trunk is normal.

  2. On the CE switch, ping the IP address of the server in the user view. The ping succeeds.
  3. Check properties of the created network adapter group TX. On the Network Connections page, right-click the created network adapter group, and click Properties. In the window that is displayed, click Config, and click the Settings tab page. Check the network adapter group status based on information in Table 3-13.

    Table 3-13 Network adapter group status

    Check Item

    Normal State

    Group type

    The configured type is displayed.

    Adapters in the group

    Configured member network adapters are displayed.

    Status

    Active.

Configuration Files

  • SwitchA configuration file
    #
    sysname SwitchA
    #
    vlan batch 2
    #
    interface Eth-Trunk1
     port default vlan 2
     mode lacp-static
    #
    interface 10GE1/0/1
     eth-trunk 1
    #
    interface 10GE1/0/2
     eth-trunk 1
    #
    return
Download
Updated: 2019-04-03

Document ID: EDOC1000039339

Views: 114908

Downloads: 7519

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next