WO2022062568A1 - Procédé de configuration de commutateur et dispositif associé - Google Patents

Procédé de configuration de commutateur et dispositif associé Download PDF

Info

Publication number
WO2022062568A1
WO2022062568A1 PCT/CN2021/104921 CN2021104921W WO2022062568A1 WO 2022062568 A1 WO2022062568 A1 WO 2022062568A1 CN 2021104921 W CN2021104921 W CN 2021104921W WO 2022062568 A1 WO2022062568 A1 WO 2022062568A1
Authority
WO
WIPO (PCT)
Prior art keywords
switch
electrical switch
interface
configuration information
optical
Prior art date
Application number
PCT/CN2021/104921
Other languages
English (en)
Chinese (zh)
Inventor
刘欣超
郑好棉
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022062568A1 publication Critical patent/WO2022062568A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/111Switch interfaces, e.g. port details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports

Definitions

  • the present application relates to the field of communications, and in particular, to a switch configuration method and related equipment.
  • optical interconnect technology can solve some problems of electrical switches, such as energy consumption and scalability.
  • a part of electrical switches can be replaced by optical switches, and connections between different electrical switches can be established through optical switches.
  • the transmission and reception of services between the two electrical switches need to use the same pair of optical ports of the optical switch to perform optical switching.
  • the embodiments of the present application provide a switch configuration method and related equipment. There can be more idle paths in the system for establishing a new connection between two electrical switches, and there is no need to deploy more interfaces and user interfaces on the electrical switches. For the connected fiber, cost savings.
  • the present application provides a method for configuring a switch.
  • the method is executed by the controller and specifically includes multiple steps.
  • the controller acquires the physical topology between the optical switch and the set of electrical switches, wherein each electrical switch includes at least one group of physical interfaces, each group of physical interfaces includes a sending interface and a receiving interface, and the optical switch includes multiple optical ports.
  • the controller determines the service sending path and the service receiving path between the first electrical switch and the second electrical switch in the electrical switch set according to the physical topology, wherein the sending interface on the service sending path and the receiving interface on the service receiving path are not in the same group physical interface.
  • the controller determines a logical interface in the first electrical switch or the second electrical switch according to the service sending path and the service receiving path, where the logical interface includes a sending interface on the service sending path and a receiving interface on the service receiving path.
  • the controller sends first configuration information to the first electrical switch or the second electrical switch, where the first configuration information is used to instruct the first electrical switch or the second electrical switch to transmit services through a local logical interface.
  • the method further includes:
  • the controller determines each pair of optical ports used for optical switching in the optical switch according to the service sending path and the service receiving path.
  • the controller sends second configuration information to the optical switch, where the second configuration information is used to indicate each pair of optical ports used for optical switching in the optical switch.
  • the controller also needs to configure the optical switch, so that the optical switch can perform optical switching according to the service transmission path determined by the controller.
  • the optical switch includes at least a first optical switch and a second optical switch.
  • Acquiring the physical topology between the optical switch and the electrical switch set includes: acquiring the first physical topology between the first optical switch and the electrical switch set, and acquiring the second physical topology between the second optical switch and the electrical switch set.
  • Determining each pair of optical ports used for optical switching in the optical switch according to the service sending path and the service receiving path includes: determining each pair of optical ports used for optical switching in the first optical switch according to the service sending path, and determining each pair of optical ports used for optical switching in the first optical switch according to the service receiving path. Determine each pair of optical ports used for optical switching in the second optical switch.
  • the number of optical switches is multiple, and the controller needs to acquire the physical topology between each optical switch and the electrical switch, and determine each pair of optical ports used for optical switching on each optical switch.
  • This solution is specifically applied to the scenario of multiple optical switches, which improves the practicability of this solution.
  • the first electrical switch or the second electrical switch includes a link aggregation interface
  • the link aggregation interface includes multiple groups of physical interfaces.
  • Determining the logical interface in the first electrical switch or the second electrical switch according to the service sending path and the service receiving path includes: updating the link aggregation interface according to the service sending path and the service receiving path, and the updated link aggregation interface includes a logical interface.
  • the first configuration information includes an Internet Protocol (Internet Protocol, IP) address of the logical interface of the peer electrical switch corresponding to the logical interface of each electrical switch, so that the electrical switch can transmit services according to the IP address , which improves the feasibility of this scheme.
  • IP Internet Protocol
  • the present application provides a method for configuring a switch.
  • the method is specifically completed by autonomous pairing between electrical switches.
  • the first electrical switch is connected to the optical switch
  • the second electrical switch is connected to the optical switch
  • the first electrical switch includes multiple groups of interfaces
  • the second electrical switch includes multiple groups of interfaces
  • each group of interfaces includes a sending interface and a receiving interface.
  • the method specifically includes multiple steps.
  • the first electrical switch receives the first configuration information sent by the second electrical switch through the optical switch.
  • the first configuration information includes a first identifier of a sending interface on the second electrical switch that outputs the first configuration information.
  • the first electrical switch broadcasts the second configuration information through each sending interface on the first electrical switch, and sends the second configuration information to the second electrical switch through the optical switch.
  • Each second configuration information includes a first identifier, a second identifier of a receiving interface on the first electrical switch that inputs the first configuration information, and a third identifier of a sending interface on the first electrical switch that outputs the second configuration information.
  • the first electrical switch receives third configuration information sent by the second electrical switch through the optical switch, where the third configuration information includes the first identifier, the second identifier, the third identifier and a receiving interface on the second switch for inputting the second configuration information
  • the fourth identifier of wherein the sending interface for outputting the first configuration information on the second electrical switch and the receiving interface for inputting the second configuration information are not the same group of interfaces.
  • the optical switch includes at least a first optical switch and a second optical switch.
  • the receiving, by the first electrical switch, the first configuration information sent by the second electrical switch through the optical switch includes: the first electrical switch receiving the first configuration information sent by the second electrical switch through the first optical switch.
  • the first electrical switch sends the second configuration information through each sending interface on the first electrical switch, and sends the second configuration information to the second electrical switch through the optical switch.
  • Each sending interface sends the second configuration information, and sends the second configuration information to the second electrical switch through the second optical switch.
  • the method further includes:
  • the first electrical switch receives, through the optical switch, fourth configuration information broadcast by the third electrical switch, where the fourth configuration information is configuration information used by the third electrical switch to reply to the first electrical switch.
  • the first electrical switch deletes the fourth configuration information.
  • the electrical switch can determine whether the configuration information is related to itself according to the identifier in the received configuration information, and if not, the configuration information can be deleted. It is ensured that the pairing of electrical switches is not affected by other electrical switches.
  • the present application provides a controller including a processor, a memory and a transceiver.
  • the processor, the memory and the optical transceiver are connected to each other through lines.
  • the processor is used to: first, obtain the physical topology between the optical switch and the electrical switch set, each electrical switch in the electrical switch set includes at least one group of physical interfaces, each group of physical interfaces includes a sending interface and a receiving interface, and the optical switch Including multiple optical ports. After that, determine the service sending path and the service receiving path between the first electrical switch and the second electrical switch in the electrical switch set according to the physical topology, wherein the sending interface on the service sending path and the receiving interface on the service receiving path are not in the same group physical interface. Next, a logical interface in the first electrical switch or the second electrical switch is determined according to the service sending path and the service receiving path, where the logical interface includes a sending interface on the service sending path and a receiving interface on the service receiving path.
  • the transceiver is configured to: send first configuration information to the first electrical switch or the second electrical switch, where the first configuration information is used to instruct the first electrical switch or the second electrical switch to transmit services through a local logical interface.
  • the processor is further configured to: determine each pair of optical ports used for optical switching in the optical switch according to the service sending path and the service receiving path.
  • the transceiver is further configured to: send second configuration information to the optical switch, where the second configuration information is used to indicate each pair of optical ports used for optical switching in the optical switch.
  • the optical switch includes at least a first optical switch and a second optical switch.
  • the processor is specifically configured to: acquire the first physical topology between the first optical switch and the electrical switch set, and acquire the second physical topology between the second optical switch and the electrical switch set.
  • Each pair of optical ports used for optical switching in the first optical switch is determined according to the service sending path, and each pair of optical ports used for optical switching in the second optical switch is determined according to the service receiving path.
  • the first electrical switch or the second electrical switch includes a link aggregation interface
  • the link aggregation interface includes multiple groups of physical interfaces.
  • the processor is specifically configured to: update the link aggregation interface according to the service sending path and the service receiving path, and the updated link aggregation interface includes a logical interface.
  • the first configuration information includes an IP address of a logical interface of the peer electrical switch corresponding to the logical interface.
  • the present application provides an electrical switch, including a processor, a memory, and a transceiver.
  • the processor, the memory and the optical transceiver are connected to each other through lines.
  • the processor invokes program code in memory for controlling the transceiver.
  • the transceiver is used for: first, receiving first configuration information sent by the second electrical switch through the optical switch, where the first configuration information includes a first identifier of a sending interface on the second electrical switch that outputs the first configuration information. After that, broadcast the second configuration information through each sending interface on the electrical switch, and send the second configuration information to the second electrical switch through the optical switch, where each second configuration information includes the first identifier, the first identifier entered on the electrical switch The second identifier of the receiving interface of the configuration information and the third identifier of the sending interface on the electrical switch that outputs the second configuration information.
  • the third configuration information sent by the second electrical switch is received by the optical switch, where the third configuration information includes the first identifier, the second identifier, the third identifier and the fourth identifier of the receiving interface on the second switch for inputting the second configuration information identification, wherein the sending interface for outputting the first configuration information on the second electrical switch and the receiving interface for inputting the second configuration information are not in the same group of interfaces.
  • the optical switch includes at least a first optical switch and a second optical switch.
  • the transceiver is specifically configured to: receive the first configuration information sent by the second electrical switch through the first optical switch.
  • the second configuration information is sent through each sending interface on the electrical switch, and the second configuration information is sent to the second electrical switch through the second optical switch.
  • the transceiver is further configured to receive, through the optical switch, fourth configuration information broadcast by the third electrical switch, where the fourth configuration information is the configuration information used by the third electrical switch to reply to the electrical switch.
  • the processor is used for: deleting the fourth configuration information.
  • the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, wherein, when the computer program is executed by hardware, any one of the methods in the first aspect or the second aspect can be implemented. some or all of the steps.
  • FIG. 1 is a schematic diagram of a network structure in an embodiment of the application
  • FIG. 2 is a schematic diagram of an embodiment of a configuration method of a switch in an embodiment of the present application
  • FIG. 3 is a schematic diagram of a physical topology between an optical switch and an electrical switch set in an embodiment of the present application
  • FIG. 4 is a schematic diagram of a link aggregation interface in an embodiment of the present application.
  • FIG. 5 is another schematic diagram of a physical topology between an optical switch and an electrical switch set in an embodiment of the present application
  • FIG. 6 is a schematic diagram of one embodiment of a configuration method of a switch in an embodiment of the present application.
  • FIG. 7 is another schematic diagram of a physical topology between an optical switch and an electrical switch set in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a structure of a controller in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a structure of an electrical switch in an embodiment of the present application.
  • the embodiments of the present application provide a switch configuration method and related equipment. There can be more idle paths in the system for establishing a new connection between two electrical switches, and there is no need to deploy more interfaces and user interfaces on the electrical switches. For the connected fiber, cost savings.
  • FIG. 1 is a schematic diagram of a network structure in an embodiment of the present application. As shown in FIG. 1 , the present application is mainly applied in a scenario where an electrical switch interacts with an optical switch.
  • the electrical switch includes electrical switch 1 , electrical switch 2 , electrical switch 3 and electrical switch 4 as shown in FIG. 1 .
  • the optical switches include optical switch A, optical switch B, and optical switch C as shown in FIG. 1 . Specifically, a connection is established between every two electrical switches through an optical switch.
  • Each group of physical interfaces (including sending interfaces and receiving interfaces) on the electrical switch is connected with a corresponding optical interface on the optical switch through optical fibers.
  • connection between the electrical switch 1 and the electrical switch 3 is established through the optical switch A.
  • a connection is established between the electrical switch 2 and the electrical switch 4 through the optical switch B.
  • a connection is established between the electrical switch 3 and the electrical switch 4 through the optical switch C.
  • the electrical switch 2 and the electrical switch 4 may be changed to establish a connection through the optical switch A. Then, the physical interface corresponding to the optical switch B on the electrical switch 1 is idle, and the physical interface corresponding to the optical switch B on the electrical switch 4 is also idle.
  • the number of physical interfaces on each electrical switch is limited, and the transmission and reception of services between every two electrical switches requires the use of the same pair of optical ports of the optical switch for optical switching. This may result in not enough free paths in the system for establishing new connections. If the number of physical interfaces on an electrical switch is to be increased, more physical interfaces and optical fibers for connection need to be deployed on the electrical switch, resulting in higher costs.
  • the present application provides a method for configuring a switch, and there can be more idle paths in the system for establishing a new connection between two electrical switches, without deploying more interfaces on the electrical switches and connecting them fiber, saving costs.
  • FIG. 2 is a schematic diagram of an embodiment of a configuration method of a switch in an embodiment of the present application.
  • the configuration method of the switch is specifically performed by the controller, and the configuration method of the switch includes the following steps.
  • the controller may acquire the physical topology between the optical switch and the set of electrical switches through pre-configuration or manual input.
  • the physical topology specifically includes the physical connection relationship between the interface on the electrical switch and the optical interface on the optical switch. Wherein, every two electrical switches are connected through optical switches.
  • each electrical switch includes at least one group of physical interfaces, and each group of physical interfaces includes a sending interface and a receiving interface.
  • Each optical switch includes multiple optical ports for optical switching.
  • Each group of physical ports on the electrical switch can be connected to the corresponding optical ports on the optical switch through optical fibers. It should be understood that the number of optical switches in this application is usually multiple, and the specific number is not limited here.
  • this application does not limit the specific application scenarios of the above physical topology, as long as it is a connection established between a layer of electrical switches and a layer of optical switches.
  • the above physical topology can be specifically applied to spine layer switches in a data center.
  • FIG. 3 is a schematic diagram of a physical topology between an optical switch and an electrical switch set in an embodiment of the present application.
  • the electrical switch includes an electrical switch 101 , an electrical switch 102 and an electrical switch 103 .
  • the optical switch includes an optical switch 201 and an optical switch 202 .
  • Each electrical switch includes two groups of physical interfaces, namely interface group 1 and interface group 2.
  • Each group of physical interfaces includes a sending interface (the interface shown in the black box in Figure 3) and the receiving interface (the white box in Figure 3). interface shown).
  • Each group of physical ports on the electrical switch is connected to the optical ports on the optical switch in one-to-one correspondence.
  • the transmission and reception of the service between two electrical switches requires the same pair of optical ports of the optical switch to perform optical switching.
  • electrical switch 101 outputs services through interface group 1, the services are input to optical port 1 of optical switch 201, and output from optical port 2 to interface group 1 of electrical switch 102 through optical switching.
  • the electrical switch 102 outputs services through the interface group 1, the services are input to the optical port 2 of the optical switch 201, and output from the optical port 1 to the interface group 1 of the electrical switch 101 after the optical switch.
  • the embodiment of the present application is different from the traditional service transmission mode in that the sending interface on the service sending path and the receiving interface on the service receiving path between at least two electrical switches are not the same group of interfaces.
  • electrical switch 101 outputs services through interface group 1, the services are input to optical port 1 of optical switch 201, and output from optical port 2 to interface group 1 of electrical switch 102 through optical switching.
  • the electrical switch 102 outputs the service through the interface group 2, the service is input to the optical port 2 of the optical switch 202, and is output from the optical port 1 to the interface group 2 of the electrical switch 101 after the optical switch.
  • the service sent from the electrical switch 101 to the electrical switch 102 needs to be optically switched through the optical switch 201
  • the service sent from the electrical switch 102 to the electrical switch 101 needs to be optically switched through the optical switch 202 .
  • the electrical switch 101 sends the service to the electrical switch 102 through the sending interface in the interface group 1, and receives the service from the electrical switch 102 through the receiving interface in the interface group 2.
  • the electrical switch 102 sends services to the electrical switch 101 through the sending interface in the interface group 2 , and receives the service from the electrical switch 101 through the receiving interface in the interface group 1 .
  • the interfaces used for service sending and service receiving are not the same set of physical interfaces.
  • the service transmission mode provided by the present application can be integrated with the traditional service transmission mode.
  • the above-mentioned traditional service transmission mode is used between certain two electrical switches, and the service transmission mode provided by the present application is used between the other two electrical switches.
  • the controller can more flexibly calculate the service transmission path between every two electrical switches, so that there can be more idle paths in the system for establishing a new connection between the two electrical switches.
  • the controller may configure the sending interface on the service sending path and the receiving interface on the service receiving path as a set of logical interfaces.
  • a logical interface can be understood as an interface that can realize the data exchange function but does not exist physically and needs to be established through configuration. That is, the controller can be reconfigured on the basis of an existing physical interface group to form a logical interface, so that the sending interface and the receiving interface in different physical interface groups can be configured as one logical interface.
  • a logical interface is only a logical division to distinguish it from a physical interface group, and it is essentially composed of physical interfaces. With reference to the example in step 202 above, the sending interface in the interface group 1 and the receiving interface in the interface group 2 on the electrical switch 101 may be configured as logical interfaces.
  • the sending interface in the interface group 2 and the receiving interface in the interface group 1 on the electrical switch 102 may be configured as logical interfaces. It should be understood that the controller also needs to determine each pair of optical ports used for optical switching in the optical switch according to the service sending path and the service receiving path. It should also be understood that if a certain electrical switch still transmits and receives services through the same set of physical interfaces, then there is no need to configure a logical interface for the electrical switch. It should be noted that the logical interface configured on the electrical switch includes a plurality of physical interfaces, but is not limited to the sending interface on the above-mentioned sending path and the receiving interface on the service receiving path.
  • the link aggregation interface may be updated on the basis of the existing link aggregation interface of the electrical switch to form the above-mentioned logical interface.
  • Link aggregation refers to a logical link formed by bundling several links together.
  • Each aggregation group uniquely corresponds to a logical interface, which is called a link aggregation interface or an Eth-Trunk interface. It should be understood that, in the traditional link aggregation technology, each link aggregation interface includes multiple groups of physical interfaces, and the sending interface and the receiving interface in each group of physical interfaces need to be configured on the same link aggregation interface.
  • FIG. 4 is a schematic diagram of a link aggregation interface in an embodiment of the present application.
  • the electrical switch includes physical interface groups 1-4, wherein interface group 1 and interface group 2 are configured as link aggregation interface 1, and interface group 3 and interface group 4 are configured as link aggregation interface 2.
  • the controller determines according to the calculation that the sending interface of interface group 1 and the receiving interface of interface group 3 need to be configured as a group of logical interfaces. Then, the controller can update Link Aggregation Interface 1 and Link Aggregation Interface 2. Specifically, the receiving interface in the interface group 1 is allocated to the link aggregation interface 2, and the receiving interface in the interface group 3 is allocated to the link aggregation interface 1. In this way, the updated link aggregation interface 1 includes the above-mentioned logical interface that needs to be configured. In this way, it is not only ensured that there are more idle paths in the system for establishing a new connection between the two electrical switches, but also the bandwidth and reliability can be increased through link aggregation.
  • the controller may generate first configuration information corresponding to the first electrical switch or the second electrical switch according to the determined logical interface, and send the first configuration information to the corresponding electrical switch.
  • the electrical switch can complete the configuration of the local logical interface according to the first configuration information, and transmit services through the local logical interface.
  • the first configuration information may include an Internet Protocol (Internet Protocol, IP) address of the logical interface of the opposite end electrical switch, so that the electrical switch sends services to the opposite end electrical switch according to the IP address.
  • IP Internet Protocol
  • the first electrical switch can determine the IP address of the logical interface of the second electrical switch, and the first electrical switch can send services to the logical interface of the second electrical switch through the local logical interface.
  • the first configuration information may also include Open Shortest Path First (Open Shortest Path First, OSPF) related configuration information and Border Gateway Protocol (Border Gateway Protocol, BGP) related configuration information, etc., which are not specifically limited here.
  • the controller also needs to generate the second configuration information according to the determined optical port on the optical switch for optical switching, and send the second configuration information to the optical switch.
  • the optical switch may determine each pair of optical ports used for optical switching according to the second configuration information.
  • the configuration of the electrical switch and the configuration of the optical switch can be done by the same controller. Specifically, as shown in FIG. 3 , the controller sends corresponding first configuration information to each electrical switch, and sends corresponding second configuration information to each optical switch. Furthermore, the configuration of the electrical switches and the configuration of the optical switches can be done by different controllers.
  • FIG. 5 is another schematic diagram of a physical topology between an optical switch and an electrical switch set in an embodiment of the present application. As shown in FIG. 5 , the first controller sends corresponding first configuration information to each electrical switch, and the second controller sends corresponding second configuration information to each optical switch.
  • FIG. 3 the following describes a service sending path and a service receiving path between every two electrical switches in FIG. 3 .
  • the electrical switch 101 outputs the service through the sending interface in the interface group 1, the service is input from the optical port 1 of the optical switch 201, and after the optical switch is output from the optical port 2 of the optical switch 201 to the receiving interface of the interface group 1 in the electrical switch 102 interface.
  • the electrical switch 102 outputs the service through the sending interface in the interface group 2, the service is input from the optical port 2 of the optical switch 202, and after the optical switch is output from the optical port 1 of the optical switch 202 to the receiving interface of the interface group 2 in the electrical switch 101 interface.
  • the electrical switch 101 outputs the service through the sending interface in the interface group 2, the service is input from the optical port 1 of the optical switch 202, and after the optical switch is output from the optical port 3 of the optical switch 202 to the receiving interface group 1 in the electrical switch 103 interface.
  • the electrical switch 103 outputs the service through the sending interface in the interface group 2, the service is input from the optical port 3 of the optical switch 201, and after the optical switch is output from the optical port 1 of the optical switch 201 to the receiving interface group 1 of the electrical switch 101 interface.
  • the electrical switch 102 outputs the service through the sending interface in the interface group 1, the service is input from the optical port 2 of the optical switch 201, and after the optical switch is output from the optical port 3 of the optical switch 201 to the receiving interface group 2 of the electrical switch 103 interface.
  • the electrical switch 103 outputs the service through the sending interface in the interface group 1, the service is input from the optical port 3 of the optical switch 202, and after the optical switch is output from the optical port 2 of the optical switch 202 to the receiving interface group 2 of the electrical switch 102 interface.
  • FIG. 6 is a schematic diagram of an embodiment of a configuration method of a switch in an embodiment of the present application.
  • the configuration method of the switch includes the following steps.
  • the first electrical switch receives, through the optical switch, the first configuration information sent by the second electrical switch.
  • FIG. 7 is another schematic diagram of a physical topology between an optical switch and an electrical switch set in an embodiment of the present application.
  • This embodiment is also applied to a system in which a physical topology is established between an electrical switch and an optical switch.
  • the difference from the foregoing embodiment is that this embodiment does not require the participation of a controller.
  • the first configuration information includes a first identifier of a sending interface on the second switch that outputs the first configuration information.
  • the first identifier may be a combination of switch ID and interface number.
  • the electrical switch 101 sends the first configuration information through the sending interface in the interface group 1, then the first identifier can be represented as (switch 101, sending interface 1). It should be understood that the above-mentioned first identifier is just an example, and the present application does not limit the specific expression form of the first identifier.
  • the second electrical switch can start a timer while sending the first configuration information. If the timer expires and still cannot receive messages replied by other electrical switches, it proves that the current service sending path is unreachable, and the second electrical switch cannot communicate with the other electrical switches. The switch needs to reselect a new interface to send the first configuration information.
  • the first electrical switch broadcasts the second configuration information through each sending interface.
  • the first electrical switch since the first electrical switch does not know which local interface can be paired with the second electrical switch. Therefore, the first electrical switch needs to send the second configuration information through each sending interface, then the second configuration information output by at least one sending interface can be transmitted to the second electrical switch.
  • the second configuration information includes the above-mentioned first identifier, the second identifier of the receiving interface on the first electrical switch that inputs the first configuration information, and the third identifier of the sending interface that outputs the second configuration information on the first electrical switch.
  • the electrical switch 102 sends the second configuration information through the sending interfaces in the interface group 1 and the interface group 2 .
  • the first configuration information is input from the receiving interface of the interface group 1 on the electrical switch 102, and the second identifier can be represented as (receiver 102, receiving interface 1).
  • the third identification may include (receiver 102, transmission interface 1) and (receiver 102, transmission interface 2).
  • the first electrical switch receives, through the optical switch, the third configuration information sent by the second electrical switch.
  • the second electrical switch After the second electrical switch receives the second configuration information sent by the first electrical switch, it can determine the service sending path and the service receiving path between the first electrical switch and the second electrical switch, and complete the local configuration. Furthermore, the second electrical switch also needs to send third configuration information to the first electrical switch, so that the first electrical switch determines the service sending path and the service receiving path, and completes the local configuration.
  • the third configuration information includes the first identification, the second identification, the third identification and the fourth identification of the receiving interface on the second electrical switch where the second configuration information is input.
  • the second configuration information is output from the sending interface of the interface group 2 on the electrical switch 102, and the second configuration information is input from the receiving interface of the interface group 2 on the electrical switch 101.
  • the fourth identifier can be represented as (receive machine 101, receiving interface 2). It should be understood that if the second electrical switch has received the second configuration information from multiple local receiving interfaces, the second electrical switch may select one receiving interface to complete the local configuration and send the third configuration information to the first electrical switch.
  • the transmission and reception of services between two electrical switches need to use the same pair of optical ports of the optical switch to perform optical switching.
  • the sending interface for outputting the first configuration information and the receiving interface for inputting the second configuration information on the second electrical switch may not be the same group of physical interfaces. It should be understood that, from a global perspective, the present application does not limit whether the same set of physical interfaces is used for service transmission and reception between two electrical switches.
  • the two electrical switches are automatically paired according to their own idle interfaces, and the sending and receiving services can use the same group of physical interfaces or physical interfaces in different groups.
  • the third electrical switch receives the second configuration information broadcast by the first electrical switch, since the second configuration information includes identifiers related to the first electrical switch and the second electrical switch, the third electrical switch The electrical switch can then determine that the pairing is performed between the first electrical switch and the second electrical switch.
  • the third electrical switch may delete the second configuration information without processing.
  • the second configuration information is output from the sending interface of the interface group 1 on the electrical switch 102, and the second configuration information is input from the receiving interface of the interface group 2 on the electrical switch 103.
  • the electrical switch 103 can determine that the second configuration information is used for the pairing of the electrical switch 101 and the electrical switch 102 according to the relevant identifier in the second configuration information, and the electrical switch 103 can delete the second configuration information.
  • FIG. 8 is a schematic diagram of a structure of a controller in an embodiment of the present application.
  • the controller includes a processor 801 , a memory 802 and a transceiver 803 .
  • the processor 801, the memory 802 and the transceiver 803 are interconnected by wires.
  • the memory 802 is used for storing program instructions and data.
  • the transceiver 803 is configured to perform the operation of sending and receiving information in the embodiment shown in FIG. 2 above.
  • the processor 801 is configured to perform other operations except for information sending and receiving in the above-mentioned embodiment shown in FIG. 2 .
  • FIG. 9 is a schematic diagram of a structure of an electrical switch in an embodiment of the present application.
  • the controller includes a processor 901 , a memory 902 and a transceiver 903 .
  • the processor 901, the memory 902 and the transceiver 903 are interconnected by wires.
  • the memory 902 is used for storing program instructions and data.
  • the transceiver 903 is configured to perform the operations of sending and receiving information in the embodiments shown in FIG. 2 and FIG. 6 .
  • the processor 901 is configured to perform other operations except for information sending and receiving in the above-mentioned embodiments shown in FIG. 2 and FIG. 6 .
  • the processors shown in FIG. 8 and FIG. 9 can be a general-purpose central processing unit (Central Processing Unit, CPU), a microprocessor, an application-specific integrated circuit ASIC, or at least one integrated circuit for Relevant programs are executed to realize the technical solutions provided by the embodiments of the present application.
  • the memories shown in Figures 8 and 9 above may store operating systems and other applications.
  • program codes for implementing the technical solutions provided by the embodiments of the present application are stored in a memory and executed by a processor.
  • a memory may be included within the processor.
  • the processor and memory are two separate structures.
  • the above-mentioned processing unit or processor may be a central processing unit, a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices , transistor logic devices, hardware components, or any combination thereof.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • the computer program product includes one or more computer instructions.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Optical Communication System (AREA)

Abstract

La présente invention concerne un procédé de configuration de commutateur et un dispositif associé. Le procédé de la présente invention consiste à : acquérir une topologie physique entre un commutateur optique et un ensemble de commutateurs électriques; déterminer un trajet d'envoi de service et un trajet de réception de service entre un premier commutateur électrique et un second commutateur électrique dans l'ensemble de commutateurs électriques selon la topologie physique, une interface d'envoi sur le trajet d'envoi de service et une interface de réception sur le trajet de réception de service n'étant pas dans le même groupe d'interfaces physiques; déterminer une interface logique dans le premier commutateur électrique ou le second commutateur électrique en fonction du trajet d'envoi de service et du trajet de réception de service, l'interface logique comprenant l'interface d'envoi sur le trajet d'envoi de service et l'interface de réception sur le trajet de réception de service; et envoyer des premières informations de configuration au premier commutateur électrique ou au second commutateur électrique, les premières informations de configuration étant utilisées pour ordonner au premier commutateur électrique ou au second commutateur électrique de transmettre un service au moyen d'une interface logique locale. Les moyens mentionnés ci-dessus permettent d'obtenir plus de trajets inactifs dans un système pour établir une connexion entre deux commutateurs électriques.
PCT/CN2021/104921 2020-09-27 2021-07-07 Procédé de configuration de commutateur et dispositif associé WO2022062568A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011033164.6 2020-09-27
CN202011033164.6A CN114363272B (zh) 2020-09-27 2020-09-27 一种交换机的配置方法及相关设备

Publications (1)

Publication Number Publication Date
WO2022062568A1 true WO2022062568A1 (fr) 2022-03-31

Family

ID=80846165

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/104921 WO2022062568A1 (fr) 2020-09-27 2021-07-07 Procédé de configuration de commutateur et dispositif associé

Country Status (2)

Country Link
CN (1) CN114363272B (fr)
WO (1) WO2022062568A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116366467A (zh) * 2023-05-29 2023-06-30 北京大学 服务器无感知的分布式训练软件定义聚合通信框架和方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116781511B (zh) * 2023-08-22 2023-11-03 苏州浪潮智能科技有限公司 主机系统的配置方法及设备、装置、计算系统、存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102177668A (zh) * 2008-08-08 2011-09-07 惠普开发有限公司 用于在相对低基交换机物理网络上实现高基交换机拓扑结构的方法和系统
CN103797737A (zh) * 2011-06-20 2014-05-14 普莱克希公司 使用用于数据中心网络交换的多光纤配置的光学架构和信道计划
CN103812796A (zh) * 2012-11-14 2014-05-21 日立金属株式会社 通信系统以及网络中继装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253770B (zh) * 2013-06-27 2017-07-14 新华三技术有限公司 实现分布式虚拟交换机系统的方法及设备
WO2015077878A1 (fr) * 2013-11-26 2015-06-04 Rockstar Consortium Us Lp Agrégation de chemins commutés pour les centres de données
US9247325B2 (en) * 2013-11-27 2016-01-26 Nec Laboratories America, Inc. Hybrid electro-optical distributed software-defined data center architecture
US9967182B2 (en) * 2015-07-31 2018-05-08 Nicira, Inc. Enabling hardware switches to perform logical routing functionalities
CN108476080B (zh) * 2015-11-05 2021-01-05 洛克利光子有限公司 多维光电子交换机
CN105515993B (zh) * 2015-11-26 2019-02-15 西安空间无线电技术研究所 一种光电混合交换内部路径映射方法
WO2017092009A1 (fr) * 2015-12-03 2017-06-08 华为技术有限公司 Procédé et dispositif de gestion de configuration, pour un commutateur
US10193750B2 (en) * 2016-09-07 2019-01-29 Cisco Technology, Inc. Managing virtual port channel switch peers from software-defined network controller
CN108347378A (zh) * 2017-12-29 2018-07-31 北京智芯微电子科技有限公司 一种用于大电网的控制专用网络及动态路由方法
CN108683617B (zh) * 2018-04-28 2021-01-01 新华三技术有限公司 报文分流方法、装置及分流交换机

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102177668A (zh) * 2008-08-08 2011-09-07 惠普开发有限公司 用于在相对低基交换机物理网络上实现高基交换机拓扑结构的方法和系统
CN103797737A (zh) * 2011-06-20 2014-05-14 普莱克希公司 使用用于数据中心网络交换的多光纤配置的光学架构和信道计划
CN103812796A (zh) * 2012-11-14 2014-05-21 日立金属株式会社 通信系统以及网络中继装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116366467A (zh) * 2023-05-29 2023-06-30 北京大学 服务器无感知的分布式训练软件定义聚合通信框架和方法
CN116366467B (zh) * 2023-05-29 2023-08-08 北京大学 服务器无感知的分布式训练软件定义聚合通信框架和方法

Also Published As

Publication number Publication date
CN114363272A (zh) 2022-04-15
CN114363272B (zh) 2023-03-31

Similar Documents

Publication Publication Date Title
US11563641B1 (en) Shifting network traffic from a network device
TWI393401B (zh) 用以管理多播路由之系統、裝置、方法及具有電腦程式收錄其中之記憶體
US20180013630A1 (en) Method for a switch-initiated sdn controller discovery and establishment of an in-band control network
WO2022062568A1 (fr) Procédé de configuration de commutateur et dispositif associé
CN105162704A (zh) Overlay网络中组播复制的方法及装置
JP2017518007A (ja) ネットワーク制御方法及び装置
US9729948B1 (en) Systems and methods for discovery of a controller in openflow networks
US20150249599A1 (en) Virtual cluster establishment method and network device
WO2021139304A1 (fr) Procédé et dispositif d'interconnexion de multiples nuages
CN110995591A (zh) 基于链路层发现协议选择最优路径的方法、设备及介质
CN107645394B (zh) 一种sdn网络中的交换机配置方法
JP2015104042A (ja) 転送装置、サーバ、および経路変更方法
CN104038427A (zh) 路由更新方法和路由更新装置
CN113992434B (zh) 通信方法、系统、电子设备及可读存储介质
JPWO2016098275A1 (ja) 通信方法
CN113037883B (zh) 一种mac地址表项的更新方法及装置
US11296980B2 (en) Multicast transmissions management
CN111447130B (zh) 一种连通性检测会话的创建方法、网络设备和系统
CN109981315B (zh) 一种anima网络的信息处理方法、设备及系统
CN108259292B (zh) 建立隧道的方法及装置
CN113132129A (zh) 网络管理方法、装置及系统、存储介质
US10129089B1 (en) Shifting network traffic
CN113039752A (zh) 用于支持基于服务的架构的网络节点和方法
WO2021213517A1 (fr) Procédé de configuration d'identifiant de domaine de routage et dispositif
WO2023083103A1 (fr) Procédé de traitement de données et appareil associé

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21870947

Country of ref document: EP

Kind code of ref document: A1