Method and device for switch to automatically adapt to Bonding mode of server network card

By automatically adapting to the server network card Bonding mode on the switch side and using AABDU to exchange configuration information, the problem of cumbersome configuration of switch-side link aggregation strategy is solved, and efficient interoperability between server Bonding and switch-side link aggregation is achieved.

CN119484268APending Publication Date: 2025-02-18西安超越申泰信息科技有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411525573.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The link aggregation strategy on the switch side is cumbersome, especially the switch CLI and configuration syntax of different brands are different, and there may be differences in functions and configurations between switches of the same brand and different models, which increases the complexity of configuration.

Method used

Provide a method and device for automatically adapting to the server network card Bonding mode of the switch. By configuring the network card binding and selecting the Bonding mode on the server, the interface connected to the server is added to the link aggregation group on the switch, and sending and receiving AABDU Exchange configuration information and automatically adjust the link aggregation mode to match the server-side settings.

Benefits of technology

The switch automatically adapts to the server network card Bonding mode, simplifies the mutual passage of server Bonding and switch-side link aggregation, and solves the cumbersome problem of link aggregation policy configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484268A_ABST
    Figure CN119484268A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for a switch to automatically adapt to a Bonding mode of a server network card, relates to the technical field of server network cards, and aims to solve the problem that a link aggregation strategy at a current switch side is tedious in configuration, and adopts the scheme as follows: at a server side, network card binding is configured, and a suitable Bonding mode is selected; the method comprises the following steps: adding interfaces connected with a server into a link aggregation group on a switch, and ensuring that the interfaces are identified as a part of a server network card; after both the server and the switch are ready to carry out Bonding, the server and the switch exchange necessary configuration information by sending and receiving the AABDU, and the configuration information comprises a Bonding mode, an MAC (Media Access Control) address, a rate and duplex setting; the switch firstly determines the Bonding mode of the server side according to the received AABDU, and then automatically adjusts the link aggregation mode to match the setting of the server side. According to the invention, the intercommunication between the server Bonding and the access switch side link aggregation can be efficiently completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of server network cards, in particular to a method and a device for automatically adapting a switch to a server network card bonding mode. Background Art

[0002] The seven modes of server network card bond include balanced polling strategy, master-slave strategy, XOR strategy, broadcast strategy, IEEE 802.3ad dynamic link aggregation, adapter transmission load balancing, and adapter adaptive load balancing. The details are as follows:

[0003] 1. Balance-RR mode: Features: Data packets are sent to each interface in turn in a round-robin manner to achieve load balancing; Applicable scenarios: Suitable for scenarios with high bandwidth requirements and relatively stable network environment.

[0004] 2. Active-Backup mode, features: only one device is active, and the other devices serve as backups; when the active device fails, the backup device takes over; Applicable scenarios: Suitable for scenarios with high requirements for high availability of network connections but not particularly large bandwidth requirements.

[0005] 3. XOR strategy (Balance-XOR) mode, features: select the interface to send data based on the XOR value of the source MAC address and the destination MAC address; applicable scenarios: suitable for scenarios where traffic distribution needs to be performed according to a specific hash strategy.

[0006] 4. Broadcast strategy (Broadcast) mode, features: all interfaces send the same data packets, suitable for broadcast or multicast scenarios; Applicable scenarios: suitable for network environments that require extremely high reliability, such as the financial industry and other scenarios where no problems are allowed, but this mode wastes resources.

[0007] 5. IEEE 802.3ad dynamic link aggregation (802.3ad) mode, features: follow the LACP protocol and implement link aggregation through LACP negotiation; applicable scenarios: suitable for network environments that need to follow the IEEE 802.3ad standard and the switch supports this standard.

[0008] 6. Adaptive Transmit Load Balancing (balance-tlb) mode, features: dynamically adjust data packet sending according to the load of each interface; applicable scenarios: suitable for scenarios where there is no special switch support in the network environment and traffic distribution needs to be performed according to the real-time network load.

[0009] 7. Adapter Adaptive Load Balancing (Balance-ALB) mode, features: load balancing in both transmission and reception directions, no special switch support is required; applicable scenarios: suitable for scenarios where sending and receiving load balancing need to be achieved at the same time and there is no special switch support in the network environment.

[0010] When using bond technology, different link aggregation policies need to be configured on the access switch side. For technicians who are not familiar with the configuration of switches from different manufacturers, the configuration on the switch side is cumbersome. For example, switches of different brands may have different command line interfaces (CLIs) and configuration syntaxes, and even different models of switches of the same brand may have differences in functions and configurations. In addition, some advanced link aggregation functions may require specific hardware support or software licenses, which also increases the complexity of configuration. Summary of the invention

[0011] Aiming at the problem of complicated configuration of link aggregation strategy on the current switch side, the present invention provides a method and device for automatically adapting the server network card Bonding mode of the switch to efficiently complete the intercommunication between server Bonding and link aggregation on the access switch side.

[0012] In a first aspect, the present invention provides a method for automatically adapting a switch to a server network card bonding mode. The technical solution adopted to solve the above technical problem is as follows:

[0013] A method for automatically adapting a switch to a server network card bonding mode comprises the following steps:

[0014] S1. On the server side, configure network card binding and select the appropriate Bonding mode;

[0015] S2. On the switch, add the interfaces connected to the server to the link aggregation group and ensure that these interfaces are recognized as part of the server network card;

[0016] S3. When the server and switch are ready for bonding, they exchange necessary configuration information by sending and receiving AABDUs, including bonding mode, MAC address, speed, and duplex settings.

[0017] S4. The switch first determines the Bonding mode of the server based on the Actor_mode / Partner_mode field in the received AABDU, and then automatically adjusts its link aggregation mode to match the setting of the server.

[0018] Optionally, when executing step S2, it is necessary to configure the port channel of the switch to aggregate the interface connected to the server into a logical interface, which specifically includes the following operations:

[0019] Select ports and create a link aggregation group: Select a physical interface for link aggregation that meets the set conditions; create a link aggregation group, and add the selected physical interface to the created link aggregation group by configuring the command channel-group;

[0020] Configure port mode: Configure the port to Trunk mode or Access mode as needed. If the port is a Trunk port, it forwards traffic from all VLANs. If it is an Access port, it can only forward traffic from a single VLAN.

[0021] Enable link aggregation: Use the channel-group command<group_number> mode <mode>To enable link aggregation,<group_number> is the link aggregation group number, <mode>Depends on the link aggregation protocol required;

[0022] Verify the configuration: Use the show etherchannel summary command to verify that the link aggregation is configured correctly and check whether the port status is "up".

[0023] Optionally, in the process of executing steps S1 to S4 to implement the link aggregation configuration between the server and the switch, the interaction between the server and the switch is as follows:

[0024] (1) The server first creates an AABDU containing information about link aggregation, then encapsulates the AABDU and sends it to the switch through the network;

[0025] (2) The switch parses the received AABDU, then sends the configuration according to its own bonding mode, encapsulates the AABDU and sends it back to the server;

[0026] (3) The server parses the AABDU received from the switch, determines the link aggregation configuration information of the switch, and continues to send AABDU to the switch when the link is not connected until a satisfactory configuration state is reached;

[0027] (4) The switch completes dynamic link aggregation negotiation based on multiple AABDU exchanges with the server and can start or continue data transmission.

[0028] Optionally, step (2) specifically includes the following process:

[0029] After the switch receives the AABDU sent by the server, it first parses the AABDU to obtain the link aggregation mode and configuration information on the server side, then adjusts or confirms these settings according to its own Bonding configuration, and encapsulates a new AABDU. This new AABDU contains the link aggregation configuration information on the switch side, and then sends the new AABDU back to the server.

[0030] Optionally, step (3) specifically includes the following process:

[0031] After receiving the AABDU returned by the switch, the server first parses the AABDU to understand the link aggregation configuration of the switch, and then determines whether the link configuration information of the switch matches its own configuration and whether the link is unobstructed based on the parsing result. If the link is unobstructed or the configuration does not match, the server continues to send AABDU to the switch to try to renegotiate or correct the configuration until a satisfactory configuration state is reached.

[0032] In a second aspect, the present invention provides a device for automatically adapting a switch to a server network card bonding mode. The technical solution adopted to solve the above technical problem is as follows:

[0033] A device for automatically adapting a switch to a server network card bonding mode, comprising:

[0034] Configuration selection module, deployed on the server side, is used to configure network card binding and select the appropriate bonding mode;

[0035] The interface joining module is deployed on the switch and is used to join the interfaces connected to the server to the link aggregation group and ensure that these interfaces are identified as part of the server network card;

[0036] The information interaction module is deployed on the server and the switch. After the server and the switch are ready for bonding, it assists the server and the switch to exchange necessary configuration information by sending and receiving AABDU, including bonding mode, MAC address, speed, and duplex settings.

[0037] The automatic adjustment module is deployed on the switch to assist the switch in determining the Bonding mode of the server according to the Actor_mode / Partner_mode field in the received AABDU, and then automatically adjusts its link aggregation mode to match the setting of the server.

[0038] Optionally, when the interface adding module adds the interface connected to the server to the link aggregation group, it is necessary to configure the port channel of the switch to aggregate the interface connected to the server into a logical interface, which specifically includes the following operations:

[0039] Select ports and create a link aggregation group: Select a physical interface for link aggregation that meets the set conditions; create a link aggregation group, and add the selected physical interface to the created link aggregation group by configuring the command channel-group;

[0040] Configure port mode: Configure the port to Trunk mode or Access mode as needed. If the port is a Trunk port, it forwards traffic from all VLANs. If it is an Access port, it can only forward traffic from a single VLAN.

[0041] Enable link aggregation: Use the channel-group command<group_number> mode <mode>To enable link aggregation,<group_number> is the link aggregation group number, <mode>Depends on the link aggregation protocol required;

[0042] Verify the configuration: Use the show etherchannel summary command to verify that the link aggregation is configured correctly and check whether the port status is "up".

[0043] Optionally, the device involved implements the link aggregation configuration between the server and the switch by configuring the selection module, the interface adding module, the information interaction module and the automatic adjustment module. The interaction between the server and the switch in this process is as follows:

[0044] (1) The server first creates an AABDU containing information about link aggregation, then encapsulates the AABDU and sends it to the switch through the network;

[0045] (2) The switch parses the received AABDU, then sends the configuration according to its own bonding mode, encapsulates the AABDU and sends it back to the server;

[0046] (3) The server parses the AABDU received from the switch, determines the link aggregation configuration information of the switch, and continues to send AABDU to the switch when the link is not connected until a satisfactory configuration state is reached;

[0047] (4) The switch completes dynamic link aggregation negotiation based on multiple AABDU exchanges with the server and can start or continue data transmission.

[0048] Optionally, the step (2) may include the following steps:

[0049] After the switch receives the AABDU sent by the server, it first parses the AABDU to obtain the link aggregation mode and configuration information on the server side, then adjusts or confirms these settings according to its own Bonding configuration, and encapsulates a new AABDU. This new AABDU contains the link aggregation configuration information on the switch side, and then sends the new AABDU back to the server.

[0050] Optionally, the step (3) may include the following steps:

[0051] After receiving the AABDU returned by the switch, the server first parses the AABDU to understand the link aggregation configuration of the switch, and then determines whether the link configuration information of the switch matches its own configuration and whether the link is unobstructed based on the parsing result. If the link is unobstructed or the configuration does not match, the server continues to send AABDU to the switch to try to renegotiate or correct the configuration until a satisfactory configuration state is reached.

[0052] Compared with the prior art, the method and device for automatically adapting a switch to a server network card bonding mode of the present invention have the following beneficial effects:

[0053] The present invention can realize the automatic adaptation of the switch to the server network card bonding mode, complete the intercommunication between the server bonding and the link aggregation on the access switch side, and solve the problem of complicated configuration of the link aggregation strategy on the current switch side. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Attached Figure 1 is a flowchart of a method according to Embodiment 1 of the present invention;

[0055] Attached Figure 2 is a module connection block diagram of the second embodiment of the present invention;

[0056] Attached Figure 3 It is a flow chart of the interaction between the server and the switch in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] In order to make the technical solution, the technical problem solved and the technical effect of the present invention more clearly understood, the technical solution of the present invention is clearly and completely described below in conjunction with specific embodiments.

[0058] The English words involved in the embodiments are now explained.

[0059] Bond: usually refers to the process of combining multiple physical network interfaces (such as Ethernet ports) into a single logical interface. This combination can provide higher bandwidth, increase redundancy or improve load balancing. Bonding: refers to the technology or method to achieve the above "Bond" process. It involves configuring and managing multiple network interfaces so that they work like a single interface. In actual applications, it is usually said that the Bonding mode is configured to achieve the bonding of network cards.

[0060] AABDU, the full name of Automatic Adaptive Bonding Data Unit, is a data unit used in the Link Aggregation Control Protocol (LACP). It is used to transmit the configuration and status information of link aggregation between network devices. During the link aggregation process, the server and the switch will exchange the necessary configuration information by sending and receiving AABDU.

[0061] Embodiment 1:

[0062] Combined with Figure 1 This embodiment proposes a method for automatically adapting a switch to a server network card bonding mode, which includes the following steps:

[0063] S1. On the server side, configure network card bonding and select the appropriate Bonding mode.

[0064] S2. On the switch, add the interfaces connected to the server to the link aggregation group and ensure that these interfaces are identified as part of the server network card. This process requires configuring the switch port channel to aggregate the interfaces connected to the server into a logical interface. The specific operations include the following:

[0065] Select ports and create a link aggregation group: Select a physical interface for link aggregation that meets the set conditions; create a link aggregation group, and add the selected physical interface to the created link aggregation group by configuring the command channel-group;

[0066] Configure port mode: Configure the port to Trunk mode or Access mode as needed. If the port is a Trunk port, it forwards traffic from all VLANs. If it is an Access port, it can only forward traffic from a single VLAN.

[0067] Enable link aggregation: Use the channel-group command<group_number> mode <mode>To enable link aggregation,<group_number> is the link aggregation group number, <mode>Depends on the link aggregation protocol required;

[0068] Verify the configuration: Use the show etherchannel summary command to verify that the link aggregation is configured correctly and check whether the port status is "up".

[0069] S3. When the server and switch are ready for bonding, they exchange necessary configuration information by sending and receiving AABDU, including bonding mode, MAC address, rate, and duplex settings. The main fields of AABDU are described as follows:

[0070] Table 1 Description of the main fields of AABDU

[0071]

[0072]

[0073]

[0074] S4. The switch first determines the Bonding mode of the server according to the Actor_mode / Partner_mode field in the received AABDU, and then automatically adjusts its link aggregation mode to match the setting of the server.

[0075] Combined with Figure 3 In this embodiment, steps S1-S4 are executed to implement the link aggregation configuration process between the server and the switch. The interaction between the server and the switch is as follows:

[0076] (1) The server first creates an AABDU containing information about link aggregation, then encapsulates the AABDU and sends it to the switch through the network;

[0077] (2) The switch parses the received AABDU, then sends the configuration according to its own bonding mode, encapsulates the AABDU and sends it back to the server. The specific process includes the following:

[0078] After receiving the AABDU sent by the server, the switch first parses the AABDU to obtain the link aggregation mode and configuration information on the server side, then adjusts or confirms these settings according to its own bonding configuration, and encapsulates a new AABDU, which contains the link aggregation configuration information on the switch side, and then sends the new AABDU back to the server;

[0079] (3) The server parses the AABDU received from the switch, determines the link aggregation configuration information of the switch, and continues to send AABDU to the switch when the link is not connected until a satisfactory configuration state is reached. The specific process includes the following:

[0080] After receiving the AABDU returned by the switch, the server first parses the AABDU to understand the link aggregation configuration of the switch, and then determines whether the link configuration information of the switch matches its own configuration and whether the link is unobstructed based on the parsing result. If the link is unobstructed or the configuration does not match, the server continues to send AABDU to the switch to try to renegotiate or correct the configuration until a satisfactory configuration state is reached;

[0081] (4) The switch completes dynamic link aggregation negotiation based on multiple AABDU exchanges with the server and can start or continue data transmission.

[0082] Embodiment 2:

[0083] Combined with Figure 2 This embodiment proposes a device for automatically adapting a switch to a server network card bonding mode, which includes:

[0084] Configuration selection module, deployed on the server side, is used to configure network card binding and select the appropriate bonding mode;

[0085] The interface joining module is deployed on the switch and is used to join the interfaces connected to the server to the link aggregation group and ensure that these interfaces are identified as part of the server network card;

[0086] The information interaction module is deployed on the server and the switch. After the server and the switch are ready for bonding, it assists the server and the switch to exchange necessary configuration information by sending and receiving AABDU, including bonding mode, MAC address, speed, and duplex settings.

[0087] The automatic adjustment module is deployed on the switch to assist the switch in determining the Bonding mode of the server according to the Actor_mode / Partner_mode field in the received AABDU, and then automatically adjusts its link aggregation mode to match the setting of the server.

[0088] In this embodiment, when the interface adding module adds the interface connected to the server to the link aggregation group, it is necessary to configure the port channel of the switch to aggregate the interface connected to the server into a logical interface, which specifically includes the following operations:

[0089] Select ports and create a link aggregation group: Select a physical interface for link aggregation that meets the set conditions; create a link aggregation group, and add the selected physical interface to the created link aggregation group by configuring the command channel-group;

[0090] Configure port mode: Configure the port to Trunk mode or Access mode as needed. If the port is a Trunk port, it forwards traffic from all VLANs. If it is an Access port, it can only forward traffic from a single VLAN.

[0091] Enable link aggregation: Use the channel-group command<group_number> mode <mode>To enable link aggregation,<group_number> is the link aggregation group number, <mode>Depends on the link aggregation protocol required;

[0092] Verify the configuration: Use the show etherchannel summary command to verify that the link aggregation is configured correctly and check whether the port status is "up".

[0093] Combined with Figure 3 In this embodiment, the device involved implements the link aggregation configuration between the server and the switch through the configuration selection module, the interface adding module, the information interaction module and the automatic adjustment module. The interaction between the server and the switch in this process is as follows:

[0094] (1) The server first creates an AABDU containing information about link aggregation, then encapsulates the AABDU and sends it to the switch through the network;

[0095] (2) The switch parses the received AABDU, then sends the configuration according to its own bonding mode, encapsulates the AABDU and sends it back to the server. The specific process includes the following:

[0096] After receiving the AABDU sent by the server, the switch first parses the AABDU to obtain the link aggregation mode and configuration information on the server side, then adjusts or confirms these settings according to its own bonding configuration, and encapsulates a new AABDU, which contains the link aggregation configuration information on the switch side, and then sends the new AABDU back to the server;

[0097] (3) The server parses the AABDU received from the switch, determines the link aggregation configuration information of the switch, and continues to send AABDU to the switch when the link is not connected until a satisfactory configuration state is reached. The specific process includes the following:

[0098] After receiving the AABDU returned by the switch, the server first parses the AABDU to understand the link aggregation configuration of the switch, and then determines whether the link configuration information of the switch matches its own configuration and whether the link is unobstructed based on the parsing result. If the link is unobstructed or the configuration does not match, the server continues to send AABDU to the switch to try to renegotiate or correct the configuration until a satisfactory configuration state is reached;

[0099] (4) The switch completes dynamic link aggregation negotiation based on multiple AABDU exchanges with the server and can start or continue data transmission.

[0100] In summary, the method and device for automatically adapting a switch to a server network card Bonding mode of the present invention can efficiently complete the intercommunication between server Bonding and link aggregation on the access switch side.

[0101] The above specific examples are used to explain the principles and implementation methods of the present invention in detail. These examples are only used to help understand the core technical content of the present invention. Based on the above specific embodiments of the present invention, any improvements and modifications made by technicians in this technical field without departing from the principles of the present invention should fall within the scope of patent protection of the present invention.< / mode> < / mode> < / mode> < / mode> < / mode> < / mode> < / mode> < / mode>

Claims

1. A method for automatically adapting a switch to a server network card bonding mode, characterized in that: The following steps are involved: S1. On the server side, configure network card binding and select the appropriate Bonding mode; S2. On the switch, add the interfaces connected to the server to the link aggregation group and ensure that these interfaces are identified as part of the server network card; S3. When the server and switch are ready for bonding, they exchange necessary configuration information by sending and receiving AABDUs, including bonding mode, MAC address, speed, and duplex settings. S4. The switch first determines the Bonding mode of the server based on the Actor_mode / Partner_mode field in the received AABDU, and then automatically adjusts its link aggregation mode to match the setting of the server.

2. A method for automatically adapting a switch to a server network card bonding mode according to claim 1, characterized in that: When executing step S2, it is necessary to configure the port channel of the switch to aggregate the interfaces connected to the server into one logical interface, which specifically includes the following operations: Select ports and create a link aggregation group: Select a physical interface for link aggregation that meets the set conditions; create a link aggregation group, and add the selected physical interface to the created link aggregation group by configuring the command channel-group; Configure port mode: Configure the port to Trunk mode or Access mode as needed. If the port is a Trunk port, it forwards traffic from all VLANs. If it is an Access port, it can only forward traffic from a single VLAN. Enable link aggregation: Use the channel-group command<group_number> mode <mode>To enable link aggregation,<group_number> is the link aggregation group number, <mode> Depends on the link aggregation protocol required;< / mode> < / mode> Verify the configuration: Use the show etherchannel summary command to verify that the link aggregation is configured correctly and check whether the port status is "up".

3. The method for automatically adapting a switch to a server network card bonding mode according to claim 1, characterized in that: During the process of executing steps S1-S4 to realize the link aggregation configuration between the server and the switch, the interaction between the server and the switch is as follows: (1) The server first creates an AABDU containing information about link aggregation, then encapsulates the AABDU and sends it to the switch through the network; (2) The switch parses the received AABDU, then sends the configuration according to its own bonding mode, encapsulates the AABDU and sends it back to the server; (3) The server parses the AABDU received from the switch, determines the link aggregation configuration information of the switch, and continues to send AABDU to the switch when the link is not connected until a satisfactory configuration state is reached; (4) The switch completes dynamic link aggregation negotiation based on multiple AABDU exchanges with the server and can start or continue data transmission.

4. A method for automatically adapting a switch to a server network card bonding mode according to claim 3, characterized in that: The step (2) specifically includes the following process: After the switch receives the AABDU sent by the server, it first parses the AABDU to obtain the link aggregation mode and configuration information on the server side, then adjusts or confirms these settings according to its own Bonding configuration, and encapsulates a new AABDU. This new AABDU contains the link aggregation configuration information on the switch side, and then sends the new AABDU back to the server.

5. A method for automatically adapting a switch to a server network card bond mode according to claim 3, characterized in that: The step (3) specifically includes the following process: After receiving the AABDU returned by the switch, the server first parses the AABDU to understand the link aggregation configuration of the switch, and then determines whether the link configuration information of the switch matches its own configuration and whether the link is unobstructed based on the parsing result. If the link is unobstructed or the configuration does not match, the server continues to send AABDU to the switch to try to renegotiate or correct the configuration until a satisfactory configuration state is reached.

6. A device for automatically adapting a switch to a server network card bonding mode, characterized in that: It includes: Configuration selection module, deployed on the server side, is used to configure network card binding and select the appropriate bonding mode; The interface joining module is deployed on the switch and is used to join the interfaces connected to the server to the link aggregation group and ensure that these interfaces are identified as part of the server network card; The information interaction module is deployed on the server and the switch. After the server and the switch are ready for bonding, it assists the server and the switch to exchange necessary configuration information by sending and receiving AABDU, including bonding mode, MAC address, speed, and duplex settings. The automatic adjustment module is deployed on the switch to assist the switch in determining the Bonding mode of the server according to the Actor_mode / Partner_mode field in the received AABDU, and then automatically adjusts its link aggregation mode to match the setting of the server.

7. The device for automatically adapting a switch to a server network card bonding mode according to claim 6, characterized in that: When the interface adding module adds the interface connected to the server to the link aggregation group, it is necessary to configure the port channel of the switch to aggregate the interface connected to the server into a logical interface, which specifically includes the following operations: Select ports and create a link aggregation group: Select a physical interface for link aggregation that meets the set conditions; create a link aggregation group, and add the selected physical interface to the created link aggregation group by configuring the command channel-group; Configure port mode: Configure the port to Trunk mode or Access mode as needed. If the port is a Trunk port, it forwards traffic from all VLANs. If it is an Access port, it can only forward traffic from a single VLAN. Enable link aggregation: Use the channel-group command<group_number> mode <mode>To enable link aggregation,<group_number> is the link aggregation group number, <mode> Depends on the link aggregation protocol required;< / mode> < / mode> Verify the configuration: Use the show etherchannel summary command to verify that the link aggregation is configured correctly and check whether the port status is "up".

8. The device for automatically adapting a switch to a server network card Bonding mode according to claim 6, characterized in that: The device implements the link aggregation configuration between the server and the switch through the configuration selection module, the interface adding module, the information interaction module and the automatic adjustment module. The interaction between the server and the switch in this process is as follows: (1) The server first creates an AABDU containing information about link aggregation, then encapsulates the AABDU and sends it to the switch through the network; (2) The switch parses the received AABDU, then sends the configuration according to its own bonding mode, encapsulates the AABDU and sends it back to the server; (3) The server parses the AABDU received from the switch, determines the link aggregation configuration information of the switch, and continues to send AABDU to the switch when the link is not connected until a satisfactory configuration state is reached; (4) The switch completes dynamic link aggregation negotiation based on multiple AABDU exchanges with the server and can start or continue data transmission.

9. The device for automatically adapting a switch to a server network card Bonding mode according to claim 8, characterized in that: The step (2) specifically includes the following process: After the switch receives the AABDU sent by the server, it first parses the AABDU to obtain the link aggregation mode and configuration information on the server side, then adjusts or confirms these settings according to its own Bonding configuration, and encapsulates a new AABDU. This new AABDU contains the link aggregation configuration information on the switch side, and then sends the new AABDU back to the server.

10. The device for automatically adapting a switch to a server network card bonding mode according to claim 8, characterized in that: The step (3) specifically includes the following process: After receiving the AABDU returned by the switch, the server first parses the AABDU to understand the link aggregation configuration of the switch, and then determines whether the link configuration information of the switch matches its own configuration and whether the link is unobstructed based on the parsing result. If the link is unobstructed or the configuration does not match, the server continues to send AABDU to the switch to try to renegotiate or correct the configuration until a satisfactory configuration state is reached.

Citation Information

Cited By

  • IPv6-based multi-network card aggregation binding message processing method and device

    CN119728603A