WO2020259121A1 - 一种实现流量切换的方法、装置及系统 - Google Patents
一种实现流量切换的方法、装置及系统 Download PDFInfo
- Publication number
- WO2020259121A1 WO2020259121A1 PCT/CN2020/090593 CN2020090593W WO2020259121A1 WO 2020259121 A1 WO2020259121 A1 WO 2020259121A1 CN 2020090593 W CN2020090593 W CN 2020090593W WO 2020259121 A1 WO2020259121 A1 WO 2020259121A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- lag
- virtual channel
- port
- member port
- lag member
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/245—Link aggregation, e.g. trunking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Definitions
- the embodiment of the present invention relates to but not limited to MC-LAG (Multi-Chassis Link Aggregation Group, multi-chassis link aggregation group) technology, and more specifically relates to a method, device and system for realizing traffic switching.
- MC-LAG Multi-Chassis Link Aggregation Group, multi-chassis link aggregation group
- VXLAN Virtual Extensible Local Area Network
- MC-LAG Dual network cards forward traffic at the same time, and there are problems such as traffic forwarding redundancy and MAC (Media Access Control, media access control) drift, which leads to the MC-LAG technology.
- MC-LAG technology is a cross-device link aggregation technology that allows two access devices to negotiate link aggregation with the accessed device in the same state. From the perspective of the accessed device, it is like a The access device has established a link aggregation relationship, so that the problems of traffic forwarding redundancy and MAC drift are eliminated.
- MC-LAG also avoids loop problems through the port isolation mechanism.
- MC-LAG uses two or more devices for link aggregation.
- the devices synchronize their respective MAC, ARP (Address Resolution Protocol, address resolution protocol) tables and other information through peer-link (peer-to-peer link) links.
- ARP Address Resolution Protocol, address resolution protocol
- MC-LAG member port failure or single device failure can realize the backup function, which improves the stability of data communication.
- the MC-LAG member port on Switch B fails, the MAC address will be learned on the peer-link port, and traffic will be forwarded to Switch A through the peer-link port.
- the traditional MC-LAG technology has the problem of slow link switching during the failure process, especially when there are a large number of MAC addresses that need to be synchronized, the convergence speed is slow, packet loss is prone to occur, and it is difficult to meet the needs of some customers in the market.
- the embodiment of the present invention provides a method for realizing traffic switching, which is applied to a MC-LAG device of a multi-chassis link aggregation group, including: detecting the status of an MC-LAG member port on the MC-LAG device; When the MC-LAG member port fails, remove the MC-LAG member port from the pre-created virtual channel, and add the peer-link port on the MC-LAG device to the virtual channel; The peer-link port in the virtual channel is used as the traffic forwarding exit.
- the embodiment of the present invention also provides a device for realizing traffic switching, which is applied to the MC-LAG equipment of a multi-chassis link aggregation group, and includes: a fault detection module for detecting the MC-LAG member ports on the MC-LAG equipment
- the virtual channel module is used to remove the MC-LAG member port from the pre-created virtual channel when the MC-LAG member port fails, and remove the peer-link port on the MC-LAG device Join the virtual channel; traffic forwarding module, used to use the peer-link port in the virtual channel as the traffic forwarding exit.
- the embodiment of the present invention also provides a system for realizing traffic switching, including: a local MC-LAG device and a peer MC-LAG device connected through a peer-link; the local MC-LAG device, Used to detect the status of the first MC-LAG member port on the local MC-LAG device.
- the opposite MC-LAG device is used to detect the status of the second MC-LAG member port on the opposite MC-LAG device, and create a second MC-LAG member port when the second MC-LAG member port is normal Virtual channel, adding the second MC-LAG member port on the opposite MC-LAG device to the second virtual channel, and learning the MAC entry of the second MC-LAG member port;
- the second MC-LAG member port in the second virtual channel serves as the traffic forwarding exit.
- the embodiment of the present invention also provides a device for realizing traffic switching, which is applied to the MC-LAG equipment of a multi-chassis link aggregation group, and includes: a memory, a processor, and a memory and a processor that are stored in the memory and can run on the processor When the computer program is executed by the processor, the method for realizing traffic switching is realized.
- the embodiment of the present invention also provides a computer-readable storage medium having an information processing program stored on the computer-readable storage medium, and when the information processing program is executed by a processor, the steps of the foregoing method for realizing traffic monitoring are implemented.
- Figure 1 is a schematic diagram of the flow recovery mechanism when an existing MC-LAG member port fails
- FIG. 2 is a schematic flowchart of a method for implementing traffic switching according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of an MC-LAG architecture provided by an embodiment of the present invention.
- FIG. 4 is a schematic flowchart of a method for implementing traffic switching according to another embodiment of the present invention.
- FIG. 5 is a schematic diagram of the existing aggregated link having multiple member ports on a single SW and some of them fail;
- Fig. 6 is a schematic diagram of failure of MC-LAG member ports on two existing SWs
- FIG. 7 is a schematic structural diagram of a device for implementing traffic switching provided by an embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of a device for implementing traffic switching according to another embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a system for implementing traffic switching provided by an embodiment of the present invention.
- FIG. 10 is a schematic diagram of an existing server with dual-homing and single-homing access to the MC-LAG system at the same time;
- FIG. 11 is a schematic structural diagram of a device for implementing traffic switching provided by an embodiment of the present invention.
- FIG 2 is a schematic flow chart of a method for implementing traffic switching provided by an embodiment of the present invention. The method is applied to a MC-LAG device of a multi-chassis link aggregation group. As shown in Figure 2, it includes:
- Step 201 Detect the status of the MC-LAG member port on the MC-LAG device
- Step 202 When the MC-LAG member port fails, remove the MC-LAG member port from the pre-created virtual channel, and add the peer-link port on the MC-LAG device to the virtual channel ;
- Step 203 Use the peer-link port in the virtual channel as the traffic forwarding exit.
- the method before the MC-LAG member port fails, the method also includes:
- the MC-LAG member port in the virtual channel is used as the traffic forwarding exit.
- the method also includes:
- the MC-LAG member port in the virtual channel is used as the traffic forwarding exit.
- the method before adding the MC-LAG member port to the virtual channel, the method further includes:
- the method further includes:
- the method further includes:
- FIG. 3 is a schematic diagram of an MC-LAG architecture provided by an embodiment of the present invention, as shown in FIG. 3,
- a cross-frame link aggregation connection is established between CE (Customer Edge) 1 and CE2 through MC-LAG.
- CE1 is connected to SW (switch) 1 and SW2 through the aggregation interface smartgroup1
- CE2 is connected to SW1 and SW2 through smartgroup2.
- SW2 connection hereinafter referred to as sg1 and sg2
- SW1 and SW2 are connected through a peer-link link
- CE1 and CE2 play known unicasts to each other, changing the source MAC and destination MAC, the actual application scenario may vary greatly, and the flow is automatic Hash, load sharing is between the two member ports of sg.
- port 1 (port1) on SW1 learns MAC1
- port 3 (port3) learns MAC3
- port 2 (port2) learns MAC2 on SW2,
- port 4 (port4) learns To MAC4.
- the message sent from CE1 with the destination MAC of MAC3 may go to SW1 or SW2.
- the MAC table on SW1 is synchronized on SW2, and the MAC3 learns on its own MC-LAG member port, port 4, so packets arriving at SW2 can also be forwarded to CE2 normally.
- the message whose destination MAC is MAC4 will be forwarded from port 4 on SW2 or port 3 on SW1, and the message on the CE2 side is the same.
- the MC-LAG member port port 3 fails and the link is down.
- CE1 does not perceive the failure of the CE2 side link and still sends a message to CE2.
- the forwarding of this message will be affected.
- the MC-LAG system has one Sets a link failure handling mechanism to ensure that traffic can be forwarded normally. The convergence process is as follows:
- Step 1 SW1 clears the MAC learned by the failed port, that is, the MAC3 and MAC4 learned by port 3 are deleted.
- the MC-LAG system triggers a MAC table entry synchronization process, and SW2 synchronizes the MAC table entries of CE2 to SW1.
- the outgoing interface is the peer-link port;
- Step 2 After SW1 receives the traffic accessing CE2, it looks up the MAC table entry, and passes the traffic to SW2 through the peer-link port. After the traffic reaches SW2, it looks up the MAC table entry and forwards it from port 4 to complete the convergence process;
- Step 3 When the member port failure recovers, the MC-LAG system will trigger another MAC table entry synchronization process to restore the outbound directions of MAC3 and MAC4 on SW1 to normal ports.
- the MAC synchronization process in step 1 and step 3 is triggered by the MC-LAG platform (command) in MC-LAG.
- the convergence time of the tangent and switchback of 1K entries is about 50ms, but with the increase of MAC addresses, the convergence time shows an increasing trend.
- the convergence time of 32K entries reaches 200ms, and the convergence time of 256K entries reaches the second level.
- the failure recovery process is slow, and there is obvious packet loss, which does not meet the requirements of some customers.
- the embodiment of the present invention provides a method for implementing traffic switching, which is applied to the MC-LAG system shown in FIG. 3. As shown in Figure 4, the method includes:
- Step 401 When the link is normal, create a virtual channel on SW1;
- the virtual channel can learn the MAC address, and the device uses the virtual channel as the effective outbound port of the MAC table entry. After the traffic reaches the virtual channel, it is no longer addressed and can be directly forwarded from the actual port mapped in the virtual channel.
- Step 402 Add the MC-LAG member port on SW1 to the virtual channel, and learn the MAC table entries of the MC-LAG member port;
- the MC-LAG member port on SW1, namely port3 is added to the virtual channel.
- the port added to the virtual channel is not the outbound port of the MAC.
- the MAC learned by itself will age in real time and synchronize to Virtual channel. In this way, the MAC that is synchronized to the MC-LAG port on the peer-link port will naturally be learned from the virtual channel;
- Step 403 Detect the status of the MC-LAG member port on SW1;
- step 404 When the MC-LAG member port on SW1 is normal, go to step 404; when it fails, go to step 405; when it recovers, go to step 406:
- Step 404 Use the MC-LAG member port in the virtual channel as the traffic forwarding outlet;
- Step 405 Remove the MC-LAG member port from the virtual channel, add the peer-link port to the virtual channel, and use the peer-link port in the virtual channel as the traffic forwarding exit;
- the MC-LAG member port on SW1, namely port3, fails, the MC-LAG member port is removed from the virtual channel and the peer-link port is added to the virtual channel. Because the MAC address is learned on the virtual channel and There is a peer-link port in the virtual channel as the actual forwarding port, so the traffic can be forwarded normally;
- Step 406 Remove the peer-link port from the virtual channel, add the MC-LAG member port to the virtual channel; use the MC-LAG member port in the virtual channel as the traffic forwarding exit
- the MC-LAG member port on SW1, namely port3 fails to recover, the MC-LAG member port is added to the virtual channel, and the peer-link port is removed, and the MC-LAG member port in the virtual channel is used as the actual forwarding port , The traffic can be forwarded normally.
- a virtual channel can also be created on SW2, and the process is similar to the above process and will not be repeated.
- the two devices of MC-LAG have their own virtual channels, and the traffic is forwarded through the virtual channels.
- the normal forwarding of traffic is realized by switching the mapped ports in the virtual channel.
- the technical solution provided in this embodiment proposes a concept of "virtual channel", which does not completely rely on the MAC synchronization function.
- sg2 or peer-link ports are added to the virtual channel Adding a port to the underlying implementation of the virtual channel is obviously faster than synchronizing a large number of MAC entries. Therefore, the technical solution provided by the embodiment of the present invention can greatly improve the convergence speed of traffic recovery in the MC-LAG member port failure scenario.
- the MC-LAG member port failure described in this embodiment refers to the failure of the entire smart group as the MC-LAG member port on a single machine frame, that is, a single SW.
- the smart group aggregate chain Road
- the traffic of this type of failure will be automatically forwarded from other member ports of the smart group in this frame; as shown in Figure 6
- the MC-LAG member ports on the two machine frames, namely the two SWs fail, the system cannot forward traffic at all, and this does not belong to the failure described in the embodiment of the present invention.
- Fig. 7 is a schematic structural diagram of a device for implementing traffic switching provided by an embodiment of the present invention.
- the device is applied to a MC-LAG device of a multi-chassis link aggregation group. As shown in Fig. 7, it includes:
- a fault detection module for detecting the status of the MC-LAG member port on the MC-LAG device
- the virtual channel module is used to remove the MC-LAG member port from the pre-created virtual channel when the MC-LAG member port fails, and add the peer-link port on the MC-LAG device to the Narration channel
- the traffic forwarding module is used to use the peer-link port in the virtual channel as the traffic forwarding exit.
- the virtual channel module is also used to add the MC-LAG member port to the virtual channel;
- the traffic forwarding module is also used to use the MC-LAG member port in the virtual channel as a traffic forwarding exit.
- the virtual channel module is also used to remove the peer-link port from the virtual channel and add the MC-LAG member port to the virtual channel ;
- the traffic forwarding module is also used to use the MC-LAG member port in the virtual channel as a traffic forwarding exit.
- the virtual channel module is also used to create a virtual channel and learn the MAC table entries of the MC-LAG member port.
- the virtual channel module is also used to clear the MAC table entries of the MC-LAG member port.
- the virtual channel module is also used to restore the MAC table entries of the MC-LAG member port.
- Fig. 8 is a schematic structural diagram of a device for implementing traffic switching provided by another embodiment of the present invention.
- the device is applied to a MC-LAG device of a multi-chassis link aggregation group. As shown in Fig. 8, it includes:
- MC-LAG platform fault detection module, virtual channel module, traffic forwarding module.
- the MC-LAG platform notifies the virtual channel module to create a virtual channel through the platform command line.
- the MC-LAG platform can notify the start of the timer of the fault detection module to periodically detect the status of the MC-LAG member port of the MC-LAG device; if there is a fault, it will prompt the creation failure, that is, it is not allowed to be in the faulty frame That is, a virtual channel is created on the MC-LAG device. If there is no fault, the fault detection module sends a message carrying the information of the MC-LAG port and peer-link port to the virtual channel module. The virtual channel module creates a virtual channel in the underlying chip. After the creation is complete Add the MC-LAG port to the virtual channel.
- the virtual channel refers to a logical interface.
- the creation of a virtual channel can be implemented based on the existing switch link aggregation protocol (LACP, IEEE 802.1ax) and other technologies.
- the virtual channel is different from the smartgroup port that uses the same technology.
- the virtual channel is not for increasing bandwidth, load balancing and link backup. It mainly relies on the port mapping and layer 2 traffic forwarding functions of the logical interface implemented by the technology. For the attributes of member ports The requirements are not as strict as smartgroup.
- the LACP port mapping interface provided by the chip manufacturer can be used to implement the MC-LAG port or peer-link port to or from the virtual channel.
- the virtual channel module synchronizes the MAC of the MC-LAG port to the virtual channel, and calls the MAC module interface to set the aging time of the MC-LAG port.
- the MAC table entries originally learned from the MC-LAG member ports are learned in On the virtual channel, the traffic forwarding module will transfer the traffic to the virtual channel when it forwards the traffic.
- the traffic in the virtual channel is no longer addressed but directly forwards the traffic from the up port mapped in it.
- the fault detection module regularly detects the status of the MC-LAG port, and when a fault occurs, it sends a message to the MC-LAG platform and the virtual channel module.
- the MC-LAG platform receives the message and performs the normal MAC synchronization fault handling mechanism, instructs the faulty frame to clear the MAC table entries of the MC-LAG port of this frame, and informs the opposite frame to synchronize the MAC table entries of the MC-LAG port to the fault.
- the peer-link port of the chassis In addition, in order to prevent loops caused by multicast, broadcast and unknown unicast, the MC-LAG system has a port isolation mechanism.
- the traffic received by the peer-link port will not be transmitted from the MC-LAG dual
- the member port is sent out again, so the MC-LAG platform also needs to notify the opposite terminal frame to release the port isolation mechanism.
- the virtual channel module After the virtual channel module receives the message, it matches whether the faulty port is a port in the channel. If it is, remove the port in the channel and add the peer-link port that came in before to the virtual channel. Because MAC learning is on the virtual channel, Therefore, traffic forwarding can realize fast switching paths, shorten the convergence time, and improve the performance of the MC-LAG system.
- the fault detection module sends a message to the MC-LAG platform and the virtual channel module when it detects that the MC-LAG port fails to recover.
- the MC-LAG platform After receiving the message, the MC-LAG platform performs a normal recovery mechanism, restores the MAC table entries of the failed port and the port isolation mechanism of the opposite chassis.
- the virtual channel module moves the peer-link port out of the virtual channel after receiving the message, and removes the previous The MC-LAG port is moved back, and the traffic is normally forwarded from the respective MC-LAG member port.
- this mechanism of switching the mapped ports in the virtual channel can improve the speed of traffic forwarding convergence during failure recovery.
- the virtual channel is a virtual logical port.
- the traffic forwarding module needs to be the same as the ordinary physical port, aggregation port, and VLAN port. It can be used as the outgoing destination of MAC addressing. The traffic entering the virtual channel is no longer addressed. It can be forwarded directly from the actual physical port mapped on the virtual channel. According to this, the use of chips from different manufacturers can produce different underlying implementations. The specific implementation also needs to pay attention to the coupling of the fault detection module and the traffic forwarding module.
- the fault detection module obtains the information of the MC-LAG port and peer-link port of this box from the MC-LAG platform, and monitors the MC- by sending detection messages regularly.
- the state of the LAG port needs to send a notification message to the virtual channel module when a fault is found or when the fault is restored.
- the virtual channel module obtains the fault identification and port identification in the message to move the port in and out.
- the virtual channel module synchronizes the MAC table entries on the MC-LAG port in the channel to itself through the traffic forwarding module. There is no need to update the MAC table entries in a large amount during the failure and recovery process, only the switching operation of the mapping relationship between the port and the virtual channel is required. .
- the technical solution provided by the embodiment of the present invention needs to realize the coupling of the virtual channel module, the flow forwarding module, and the fault detection module. Through the series connection of the flow forwarding module and the fault detection module, the flow fast cut function of the MC-LAG system fault process is indirectly realized.
- FIG. 9 is a schematic structural diagram of a system for implementing traffic switching provided by an embodiment of the present invention. As shown in FIG. 9, it includes:
- the local MC-LAG device is used to detect the status of the first MC-LAG member port on the local MC-LAG device.
- the first MC-LAG member port is normal, the first virtual channel is created, and the The first MC-LAG member port on the local MC-LAG device is added to the first virtual channel, and the MAC entry of the first MC-LAG member port is learned; and the first virtual channel
- the first MC-LAG member port is used as the traffic forwarding exit;
- the opposite MC-LAG device is used to detect the status of the second MC-LAG member port on the opposite MC-LAG device.
- a second virtual channel is created, The second MC-LAG member port on the opposite MC-LAG device is added to the second virtual channel, and the MAC table entries of the second MC-LAG member port are learned; and the second virtual channel
- the second MC-LAG member port is used as the traffic forwarding exit.
- the local MC-LAG device is also used to remove the first MC-LAG member port from the first virtual channel when the first MC-LAG member port fails, and to remove the The peer-link port on the local MC-LAG device is added to the first virtual channel; the peer-link port in the first virtual channel is used as the traffic forwarding exit;
- the opposite MC-LAG device is further configured to remove the second MC-LAG member port from the second virtual channel when the second MC-LAG member port fails, and remove the The peer-link port on the MC-LAG device at the opposite end is added to the second virtual channel; and the peer-link port in the second virtual channel is used as the traffic forwarding exit.
- the local MC-LAG device is also used to connect the peer-link port on the local MC-LAG device from the first virtual channel when the first MC-LAG member port fails to recover. Move out, add the first MC-LAG member port to the first virtual channel; use the first MC-LAG member port in the first virtual channel as a traffic forwarding outlet.
- the opposite MC-LAG device is also used to connect the peer-link port on the opposite MC-LAG device from the second virtual channel when the second MC-LAG member port fails to recover. Move out, add the second MC-LAG member port to the second virtual channel; use the second MC-LAG member port in the second virtual channel as a traffic forwarding outlet.
- the technical solutions provided in the above embodiments are only applied to MC-LAG member port failure scenarios, and will not affect the failure handling mechanism of the MC-LAG system itself in the device failure, peer-link port failure, and network-side uplink failure scenarios. These faults are switched to a single device for forwarding, and the fault detection module will not detect MC-LAG port faults, and there is no conflict with the virtual channel processing mechanism.
- the embodiment of the present invention is not suitable for scenarios where the peer-link port needs to forward traffic under normal circumstances, such as the scenario where there are dual-homing and single-homing to the server of the MC-LAG system at the same time, as shown in FIG.
- Switch A When CE1 accesses CE2, Switch A will learn the MAC table entries of CE2, so it can be forwarded to CE2 normally.
- CE2 When CE2 accesses CE1, CE2 will first perform hashing. If the traffic is hashed to the side of Switch A, since Switch A will learn the MAC entries of CE1, it can be forwarded to CE1 normally. If the traffic is hashed to the side of Switch B, since Switch A will synchronize the table entries to Switch B, Switch B will learn the MAC table entries of CE1 from the peer-link port (that is, the MAC table entries of CE1 on Switch B are output. The interface is the peer-link port), so Switch B will send the traffic to Switch A through the peer-link port. Similarly, Switch A forwards the traffic to CE1.
- the peer-link port learns the MAC. If a virtual channel is used, when the MC-LAG port on Switch B fails, the peer-link port is added to the virtual channel and cannot normally forward the traffic sent by CE2 to CE1. The traffic sent from the network can only be forwarded through the virtual channel. Even if the MAC on the peer-link port is learned on the virtual channel when joining, the purpose of fast convergence cannot be met when the peer-link port learns more MACs, so it is not recommended Apply the virtual channel mechanism to such scenarios.
- Figure 11 is a schematic structural diagram of a device for implementing traffic switching provided by an embodiment of the present invention.
- the embodiment of the present invention also provides a device for implementing traffic switching, which is applied to MC-LAG equipment of a multi-chassis link aggregation group, including : A memory 1101, a processor 1102, and a computer program that is stored on the memory 1101 and can run on the processor 1102, and when the computer program is executed by the processor 1102, the realization flow of any one of the above is realized The method of switching.
- the embodiment of the present invention also provides a computer-readable storage medium having an information processing program stored on the computer-readable storage medium, and when the information processing program is executed by a processor, the method for implementing any one of the foregoing traffic switching is implemented A step of.
- the technical solution provided by the embodiment of the present invention can realize the rapid recovery of the flow of the MC-LAG system when the MC-LAG member port fails, thereby improving the performance of the MC-LAG system.
- Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium).
- the term computer storage medium includes volatile and non-volatile memory implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media.
- Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, tape, magnetic disk storage or other magnetic storage device, or Any other medium used to store desired information and that can be accessed by a computer.
- communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
Claims (11)
- 一种实现流量切换的方法,应用于多机箱链路聚合组MC-LAG设备,包括:检测所述MC-LAG设备上的MC-LAG成员口的状态;当所述MC-LAG成员口故障时,将所述MC-LAG成员口从预先创建的虚通道中移出,将所述MC-LAG设备上的peer-link口加入到所述虚通道;将所述虚通道中的peer-link口作为流量转发出口。
- 根据权利要求1所述的方法,在MC-LAG成员口故障之前,还包括:将所述MC-LAG成员口加入到所述虚通道;将所述虚通道中的MC-LAG成员口作为流量转发出口。
- 根据权利要求1所述的方法,还包括:当所述MC-LAG成员口故障恢复时,将所述peer-link口从虚通道中移出,将所述MC-LAG成员口加入到所述虚通道;将所述虚通道中的MC-LAG成员口作为流量转发出口。
- 根据权利要求2所述的方法,在将MC-LAG成员口加入到所述虚通道之前,还包括:创建虚通道,并学习所述MC-LAG成员口的MAC表项。
- 根据权利要求1所述的方法,当所述MC-LAG成员口故障时,还包括:清除所述MC-LAG成员口的MAC表项。
- 根据权利要求3所述的方法,当所述MC-LAG成员口故障恢复时,还包括:恢复所述MC-LAG成员口的MAC表项。
- 一种实现流量切换的装置,应用于多机箱链路聚合组MC-LAG设备,包括:故障检测模块,用于检测所述MC-LAG设备上的MC-LAG成员口的状态;虚通道模块,用于当所述MC-LAG成员口故障时,将所述MC-LAG成员口从预先创建的虚通道中移出,将所述MC-LAG设备上的peer-link口加入到所述虚通道;流量转发模块,用于将所述虚通道中的peer-link口作为流量转发出口。
- 一种实现流量切换的系统,包括:通过对等链路peer-link连接的本端MC-LAG设备和对端MC-LAG设备;所述本端MC-LAG设备,用于检测所述本端MC-LAG设备上的第一MC-LAG成员口的状态,在第一MC-LAG成员口正常时,创建第一虚通道,将所述本端MC-LAG设备上的第一MC-LAG成员口加入到所述第一虚通道,并学习所述第一MC-LAG成员口的MAC表项;将所述第一虚通道中的第一MC-LAG成员口作为流量转发出口;所述对端MC-LAG设备,用于检测所述对端MC-LAG设备上的第二MC-LAG成员口的状态,在第二MC-LAG成员口正常时,创建第二虚通道,将所述对端MC-LAG设备上的第二MC-LAG成员口加入到所述第二虚通道,并学习所述第二MC-LAG成员口的MAC表项;将所述第二虚通道中的第二MC-LAG成员口作为流量转发出口。
- 根据权利要求8所述的系统,其中,所述本端MC-LAG设备,还用于当所述第一MC-LAG成员口故障时,将所述第一MC-LAG成员口从所述第一虚通道中移出,将所述本端MC-LAG设备上的peer-link口加入到所述第一虚通道;将所述第一虚通道中的peer-link口作为流量转发出口;或者,所述对端MC-LAG设备,还用于当所述第二MC-LAG成员口故障时,将所述第二MC-LAG成员口从所述第二虚通道中移出,将所述对端MC-LAG设备上的peer-link口加入到所述第二虚通道;将所述第二虚通道中的peer-link口作为流量转发出口。
- 一种实现流量切换的装置,应用于多机箱链路聚合组MC-LAG设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述实现流量切换的方法。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有信息处理程序,所述信息处理程序被处理器执行时实现如权利要求1至6中任一项所述实现流量切换的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910553387.6 | 2019-06-25 | ||
CN201910553387.6A CN112134796B (zh) | 2019-06-25 | 2019-06-25 | 一种实现流量切换的方法、装置及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020259121A1 true WO2020259121A1 (zh) | 2020-12-30 |
Family
ID=73850041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/090593 WO2020259121A1 (zh) | 2019-06-25 | 2020-05-15 | 一种实现流量切换的方法、装置及系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112134796B (zh) |
WO (1) | WO2020259121A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114189471A (zh) * | 2021-11-29 | 2022-03-15 | 苏州浪潮智能科技有限公司 | 跨设备链路聚合组主备配置方法、系统、终端及存储介质 |
CN114374659A (zh) * | 2022-01-18 | 2022-04-19 | 苏州盛科科技有限公司 | 一种堆叠系统中实现本地优先转发的方法、装置及存储介质 |
CN114500007A (zh) * | 2022-01-07 | 2022-05-13 | 成都市联洲国际技术有限公司 | M-LAG系统中的MACsec的实现方法、装置、存储介质及终端设备 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116016385A (zh) * | 2021-10-21 | 2023-04-25 | 华为技术有限公司 | 一种状态同步方法、装置及设备 |
CN115225468B (zh) * | 2022-07-26 | 2024-06-14 | 苏州盛科通信股份有限公司 | 流量快速切换方法、系统及计算机可读存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877677A (zh) * | 2010-06-25 | 2010-11-03 | 中兴通讯股份有限公司 | 一种多协议标签交换业务隧道切换的方法及系统 |
US20140369186A1 (en) * | 2013-06-17 | 2014-12-18 | Telefonaktiebolaget L M Ericsspm (publ) | Methods and systems with enhanced robustness for multi-chassis link aggregation group |
US20170163473A1 (en) * | 2015-12-04 | 2017-06-08 | Arista Networks, Inc. | Link aggregation split-brain detection and recovery |
US20170257309A1 (en) * | 2016-03-02 | 2017-09-07 | Arista Networks, Inc. | Network management system control service for vxlan on an mlag domain |
CN109698788A (zh) * | 2017-10-20 | 2019-04-30 | 华为技术有限公司 | 流量转发方法和流量转发装置 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102739533A (zh) * | 2012-06-25 | 2012-10-17 | 中兴通讯股份有限公司 | 一种实现l3 vpn快速切换的方法和pe |
US20160373294A1 (en) * | 2015-06-18 | 2016-12-22 | Fortinet, Inc. | Flow management in a link aggregation group system |
-
2019
- 2019-06-25 CN CN201910553387.6A patent/CN112134796B/zh active Active
-
2020
- 2020-05-15 WO PCT/CN2020/090593 patent/WO2020259121A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877677A (zh) * | 2010-06-25 | 2010-11-03 | 中兴通讯股份有限公司 | 一种多协议标签交换业务隧道切换的方法及系统 |
US20140369186A1 (en) * | 2013-06-17 | 2014-12-18 | Telefonaktiebolaget L M Ericsspm (publ) | Methods and systems with enhanced robustness for multi-chassis link aggregation group |
US20170163473A1 (en) * | 2015-12-04 | 2017-06-08 | Arista Networks, Inc. | Link aggregation split-brain detection and recovery |
US20170257309A1 (en) * | 2016-03-02 | 2017-09-07 | Arista Networks, Inc. | Network management system control service for vxlan on an mlag domain |
CN109698788A (zh) * | 2017-10-20 | 2019-04-30 | 华为技术有限公司 | 流量转发方法和流量转发装置 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114189471A (zh) * | 2021-11-29 | 2022-03-15 | 苏州浪潮智能科技有限公司 | 跨设备链路聚合组主备配置方法、系统、终端及存储介质 |
CN114189471B (zh) * | 2021-11-29 | 2023-08-08 | 苏州浪潮智能科技有限公司 | 跨设备链路聚合组主备配置方法、系统、终端及存储介质 |
CN114500007A (zh) * | 2022-01-07 | 2022-05-13 | 成都市联洲国际技术有限公司 | M-LAG系统中的MACsec的实现方法、装置、存储介质及终端设备 |
CN114500007B (zh) * | 2022-01-07 | 2023-12-22 | 成都市联洲国际技术有限公司 | M-LAG系统中的MACsec的实现方法、装置、介质及设备 |
CN114374659A (zh) * | 2022-01-18 | 2022-04-19 | 苏州盛科科技有限公司 | 一种堆叠系统中实现本地优先转发的方法、装置及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN112134796A (zh) | 2020-12-25 |
CN112134796B (zh) | 2022-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020259121A1 (zh) | 一种实现流量切换的方法、装置及系统 | |
WO2021088808A1 (zh) | 双归设备接入流量的转发方法、设备及存储介质 | |
CN111865779B (zh) | 一种路由同步方法及跨设备链路聚合组 | |
US10567340B2 (en) | Data center system | |
EP3691185B1 (en) | Method for processing message, device, and system | |
US9391877B2 (en) | System and method for reducing information loss in an aggregated information handling system | |
US8107382B2 (en) | Loop detection in a communications network | |
US9584397B2 (en) | Routing in spine-leaf networking systems | |
US20220174006A1 (en) | Method for EVPN and VPLS Active-Active Integration, Device, and System | |
EP2675121B1 (en) | Vpls fast rerouting method and device | |
CN111935013B (zh) | 流量转发控制方法及装置、流量转发方法及芯片、交换机 | |
CN111740899A (zh) | 一种arp请求报文转发方法、跨设备链路聚合组及网络设备 | |
WO2017000832A1 (zh) | Mac地址的同步方法、装置及系统 | |
WO2022062662A1 (zh) | 数据传输方法、系统、网络设备和存储介质 | |
WO2021185169A1 (zh) | 一种切换方法、装置、设备和存储介质 | |
WO2023273864A1 (zh) | Olt设备的mac地址同步方法和装置 | |
WO2017008641A1 (zh) | 冗余端口的切换方法及装置 | |
CN113839862A (zh) | Mclag邻居之间同步arp信息的方法、系统、终端及存储介质 | |
WO2008095360A1 (fr) | Méthode et système de commutation rapide en cas de défaillance d'une liaison d'un réseau privé virtuel | |
CN105763442A (zh) | 主备倒换lacp聚合链路不中断的pon系统及方法 | |
CN112511419B (zh) | 一种分布式转发系统 | |
US11444842B2 (en) | Network switch and network switch system thereof | |
WO2020156355A1 (zh) | 负载分担方法、装置、系统、单板及存储介质 | |
CN111800525A (zh) | 一种网关冗余方法及系统 | |
JP2016092549A (ja) | 中継システムおよびスイッチ装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20832983 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20832983 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/05/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20832983 Country of ref document: EP Kind code of ref document: A1 |