WO2017054535A1 - 流量转发方法及装置 - Google Patents

流量转发方法及装置 Download PDF

Info

Publication number
WO2017054535A1
WO2017054535A1 PCT/CN2016/087111 CN2016087111W WO2017054535A1 WO 2017054535 A1 WO2017054535 A1 WO 2017054535A1 CN 2016087111 W CN2016087111 W CN 2016087111W WO 2017054535 A1 WO2017054535 A1 WO 2017054535A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
routing
primary
routing device
vrrp
Prior art date
Application number
PCT/CN2016/087111
Other languages
English (en)
French (fr)
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 WO2017054535A1 publication Critical patent/WO2017054535A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers

Definitions

  • This document relates to but not limited to the field of network communication, and in particular to a method and device for forwarding traffic.
  • the VRRP Virtual Router Redundancy Protocol
  • a backup group consists of a master router (primary device) and multiple backup routers (standby devices), which is equivalent to a virtual router.
  • the primary device forwards the traffic
  • the VRRP backup group address information is forwarded.
  • the backup device does not store the VRRP backup group address information. Therefore, the traffic cannot be forwarded.
  • the standby device switches the primary device to perform traffic forwarding by sensing the failure of the primary device.
  • the current problem is that when the backup device is switched to the active device, the VRRP backup group address information is not stored yet. If the traffic has been transmitted to the active device at this time, the primary device cannot forward the traffic. The case of traffic loss.
  • the embodiment of the invention provides a method and a device for forwarding traffic, which can reduce the situation that traffic is lost due to the inability to forward traffic when the standby device is switched to the active device.
  • the traffic forwarding method provided by the embodiment of the present invention includes the following steps: when the running state of the routing device is a standby device in the virtual router redundancy backup protocol VRRP backup group, the routing device stores the Address information of the VRRP backup group;
  • the routing device receives the traffic sent by the terminal;
  • the routing device forwards the traffic.
  • the routing device receives the traffic sent by the terminal.
  • the steps include:
  • the routing device switches the running state from the standby device to the primary device.
  • the routing device When the routing device switches the running state from the standby device to the primary device, the routing device receives the traffic sent by the terminal.
  • the detecting that the primary device in the VRRP backup group fails includes:
  • the routing device receives the VRRP packet sent by the primary device
  • the routing device determines that the primary device is faulty.
  • the routing device is a standby device associated with the primary device.
  • the embodiment of the present invention further provides a traffic forwarding device, where the traffic forwarding device includes:
  • a storage module configured to store address information of the VRRP backup group when the running state of the routing device is a standby device in the virtual router redundancy backup protocol VRRP backup group;
  • the first receiving module is configured to: if it is detected that the primary device in the VRRP backup group is faulty, and the routing device is a standby device associated with the active device, receive the traffic sent by the terminal; And if the destination address information of the traffic is consistent with the address information stored by the routing device, the traffic is forwarded.
  • the first receiving module includes:
  • the switching unit is configured to switch the running status from the standby device to the primary device if the primary device in the VRRP backup group is faulty and the routing device is the standby device associated with the primary device. ;
  • a receiving unit configured to switch the running state from the standby device to the primary device when the routing device When receiving the traffic sent by the terminal.
  • the traffic forwarding device further includes:
  • a second receiving module configured to receive a VRRP packet sent by the active device
  • the determining module is configured to determine that the primary device is faulty if the VRRP packet sent by the active device is not received within a preset time interval.
  • the routing device is a standby device associated with the primary device.
  • the method and device for forwarding a traffic when the running state of the routing device is a standby device in the VRRP backup group, the routing device stores the address information of the VRRP backup group, and then detects the VRRP backup.
  • the routing device When the primary device in the group fails, and the routing device is the standby device associated with the primary device, receiving the traffic sent by the terminal, and storing the destination address information of the traffic with the routing device If the address information is the same, the traffic is directly forwarded.
  • the address of the VRRP backup group is stored before the routing device is switched from the standby device to the active device.
  • the solution directly forwards the received traffic through the address information stored in advance, which reduces the traffic loss during the traffic forwarding process.
  • FIG. 1 is a schematic flowchart of a first embodiment of a traffic forwarding method according to the present invention
  • FIG. 3 is a schematic flowchart of a third embodiment of a traffic forwarding method according to the present invention.
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a traffic forwarding device according to the present invention.
  • FIG. 5 is a schematic diagram of a refinement function module of an alternative embodiment of the first receiving module of FIG. 4;
  • FIG. 6 is a schematic diagram of functional modules of a third embodiment of a traffic forwarding device according to the present invention.
  • the invention provides a traffic forwarding method.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a traffic forwarding method according to the present invention.
  • This embodiment provides a traffic forwarding method, where the traffic forwarding method includes:
  • Step S10 The routing device stores address information of the VRRP backup group when the running state of the routing device is a standby device in the virtual router redundancy backup protocol VRRP backup group.
  • this embodiment may optionally include multiple standby devices.
  • the routing device corresponding to the active device and the standby device stores the address information of the VRRP backup group. That is, the running status of the routing device is the virtual router redundancy backup protocol VRRP backup group.
  • the routing device stores the address information of the VRRP backup group, where the address information includes a virtual physical address or an Internet Protocol (IP) address. In this embodiment, the address information may be virtual.
  • IP Internet Protocol
  • the routing device stores the address information of the VRRP backup group, the routing device sends a virtual physical address corresponding to the VRRP packet to the forwarding plane through the control plane, and then the routing device sends the virtual physical address corresponding to the VRRP packet to the forwarding plane.
  • the virtual physical address is stored in the forwarding plane.
  • the VRRP packet is sent by the active device to the control plane of the standby device (that is, the routing device).
  • the VRRP packet is used by the master device to notify the other device that it is still working.
  • the other device is always listening to VRRP packets. If the VRRP packet is not received for a period of time, the master device is faulty.
  • Step S20 If it is detected that the primary device in the VRRP backup group is faulty, and the routing device is the standby device associated with the active device, the routing device receives the traffic sent by the terminal.
  • the implementation manner of the step S20 includes:
  • the routing device determines whether the primary device is a higher-level device based on a preset device priority.
  • the first level indicates that the two devices are adjacent to each other.
  • the routing device can be determined as the standby device associated with the primary device. In this case, the routing device receives the traffic sent by the terminal.
  • the routing device determines whether the association between the active device and the routing device is pre-stored.
  • the routing device pre-stores the association relationship between the active device and the routing device, the routing device can determine the backup device associated with the primary device. In this case, the routing device receives the traffic sent by the terminal.
  • the primary device and the routing device are connected to the heartbeat line in advance, that is, the primary device and the routing device are associated with each other based on the connected heartbeat line.
  • the routing device connected to the heartbeat of the primary device can sense the failure of the primary device and receive the traffic sent by the terminal.
  • Step S30 If the destination address information of the traffic is consistent with the address information stored by the routing device, the routing device forwards the traffic.
  • the routing device when the routing device receives the traffic sent by the terminal, it first determines whether the destination address information corresponding to the received traffic matches the stored address information, and if it matches, directly according to the stored address.
  • the information is forwarded by the information, and the method for forwarding the traffic includes the routing device querying the pre-stored forwarding table to obtain the egress port of the traffic, and then forwarding the traffic according to the obtained egress port, and pre-storing the address information.
  • the traffic of the VRRP backup group is stored first, and then the traffic information of the VRRP backup group is stored. Forwarding, the process of waiting, because the terminal may always send traffic, and at this time, the routing device cannot forward the traffic, resulting in packet loss of the traffic.
  • the routing device when the routing device is in the VRRP backup group, the routing device stores the address information of the VRRP backup group, and then detects the VRRP backup group.
  • the primary device fails, and the routing device is the primary device
  • the device is associated with the backup device, the traffic sent by the terminal is received, and the destination address information of the traffic is consistent with the address information stored by the routing device, and the traffic is directly forwarded instead of the routing device running.
  • the backup device is switched to the primary device, the address information of the VRRP backup group must be stored before the traffic can be forwarded. As a result, the traffic cannot be forwarded and the traffic is lost. Directly forward the received traffic, which reduces traffic loss during traffic forwarding.
  • the second embodiment of the traffic forwarding method of the present invention is proposed based on the first embodiment.
  • the step S20 includes:
  • Step S21 If it is detected that the primary device in the VRRP backup group is faulty, and the routing device is the standby device associated with the active device, the routing device is switched from the standby device to the standby device.
  • Step S22 When the routing device switches the running state from the standby device to the active device, the routing device receives the traffic sent by the terminal.
  • the routing device when the routing device detects that the primary device in the VRRP backup group is faulty, the routing device determines, according to the preset device priority, whether the primary device is a higher level. The device, if the primary device is the upper-level device of the routing device, the routing device directly switches the running state from the standby device to the primary device, and the routing device receives the traffic sent by the terminal.
  • the device priority includes a preset switching priority in the VRRP backup group, that is, the switching priority is set in advance in the VRRP backup group for the routing device corresponding to each standby device.
  • the routing device at the next level of the primary device needs to be switched to the primary device, and the routing device at the next level of the primary device can directly switch based on the preset device priority.
  • the master device other routing devices with lower priority than the device of the routing device can enter the sleep state.
  • the routing device switches the running state from the standby device to the master device The routing device of the next level of the routing device performs an operating state, and other routing devices with a lower level are equivalent to enter a sleep state.
  • the routing device may further determine whether the pre-storage is pre-stored when detecting that the primary device in the VRRP backup group is faulty. If the relationship between the active device and the routing device is pre-stored, the routing device can directly switch the running state from the standby device to the primary device.
  • Use equipment That is, the primary device and the routing device connect the heartbeat line in advance, establish an association relationship based on the connected heartbeat line, and when the primary device fails, connect the routing device of the heartbeat line with the primary device. The fault of the primary device is perceived, and the running state is directly switched from the standby device to the primary device.
  • the third embodiment of the traffic forwarding method of the present invention is proposed based on the first embodiment.
  • the VRRP backup group is detected.
  • the failure of the primary device in the process includes:
  • Step S40 The routing device receives the VRRP packet sent by the active device.
  • Step S50 If the VRRP packet sent by the active device is not received within a preset time interval, the routing device determines that the primary device is faulty.
  • the routing device receives the VRRP packet sent by the active device in real time.
  • the active device sends a VRRP packet in real time, indicating that the active device is in a normal working mode. If the primary device sends a VRRP packet every 1 second, the routing device does not receive the preset time interval. If the VRRP packet is not received by the VRRP packet, the routing device may determine that the primary device is faulty and may directly receive the VRRP packet sent by the primary device. flow.
  • Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
  • the invention further provides a traffic forwarding device.
  • FIG. 4 is a schematic diagram of functional modules of an optional embodiment of a traffic forwarding device according to the present invention.
  • the functional module diagram shown in FIG. 4 is merely an exemplary diagram of an optional embodiment, and those skilled in the art can surround the functional modules of the traffic forwarding device shown in FIG. It is easy to add a new function module; the name of each function module is a custom name, which is only used to assist in understanding the various program function blocks of the traffic forwarding device, and is not used to define the technical solution of the present invention, and is the core of the technical solution of the present invention. Yes, each function module that defines the name The function to be achieved.
  • This embodiment provides a traffic forwarding device, where the traffic forwarding device includes:
  • the storage module 10 is configured to store the address information of the VRRP backup group when the running state of the routing device is a standby device in the virtual router redundancy backup protocol VRRP backup group.
  • this embodiment may optionally include multiple standby devices.
  • the routing device corresponding to the active device and the standby device stores the address information of the VRRP backup group. That is, the running status of the routing device is the virtual router redundancy backup protocol VRRP backup group.
  • the storage module 10 stores the address information of the VRRP backup group, and the address information includes a virtual physical address or a virtual IP address. In this embodiment, the address information may include a virtual physical address (Media Access Control).
  • the storage module 10 stores the address information of the VRRP backup group by using the control plane to send the virtual physical address corresponding to the VRRP packet to the forwarding plane, and then the storage module 10 forwards the packet.
  • the virtual physical address is stored in the VRRP backup group.
  • the primary device in the VRRP backup group sends VRRP packets, the primary device is in normal working state.
  • the virtual physical address in the VRRP backup group is stored in the VRRP backup group.
  • the first receiving module 20 is configured to: if it is detected that the primary device in the VRRP backup group is faulty, and the routing device is a standby device associated with the active device, receive the traffic sent by the terminal;
  • the first receiving module 20 receives the terminal and sends the The implementation of the traffic includes:
  • the routing device determines whether the primary device is a higher-level device based on a preset device priority.
  • the first level indicates that the two devices are adjacent to each other.
  • the associated primary device is the upper device of the routing device, in other words, when the device of the routing device is prioritized
  • the routing device can be determined as the backup device associated with the primary device. In this case, the first receiving module 20 receives the traffic sent by the terminal.
  • the routing device determines whether the association between the active device and the routing device is pre-stored.
  • the routing device pre-stores the association relationship between the active device and the routing device, the routing device can determine that the routing device is a backup device associated with the primary device.
  • the first receiving module 20 receives the terminal. Traffic.
  • the primary device and the routing device are connected to the heartbeat line in advance, that is, the primary device and the routing device are associated with each other based on the connected heartbeat line.
  • the routing device connected to the heartbeat of the primary device can sense the failure of the primary device, and the first receiving module 20 receives the traffic sent by the terminal.
  • the forwarding module 30 is configured to forward the traffic if the destination address information of the traffic is consistent with the address information stored by the routing device.
  • the first receiving module 20 when the first receiving module 20 receives the traffic sent by the terminal, it first determines whether the destination address information corresponding to the received traffic matches the stored address information, and if the matching, the forwarding The module 30 can directly forward the traffic according to the stored address information, and the forwarding module 30 forwards the traffic to the routing device to query the pre-stored forwarding table to obtain the outgoing port of the traffic, and then the forwarding module.
  • the device forwards the traffic according to the obtained egress port, and directly forwards the traffic through the pre-stored address information, thereby improving the speed of the traffic forwarding.
  • the VRRP backup group is not required to be stored when receiving the traffic sent by the terminal.
  • the address information is then forwarded to the VRRP backup group after the address information is stored, and then the traffic is forwarded.
  • the waiting process may be performed because the terminal may be transmitting traffic at the same time. The packet loss of the traffic.
  • the routing device when the routing device is in the standby state of the VRRP backup group, the routing device stores the address information of the VRRP backup group, and then detects the VRRP backup group.
  • the primary device is faulty, and the routing device is the standby device associated with the primary device, the traffic sent by the terminal is received, and the destination address information of the traffic is consistent with the address information stored by the routing device.
  • the traffic of the VRRP backup group is stored first, and then the traffic of the VRRP backup group is forwarded, and the traffic cannot be forwarded.
  • the solution directly forwards the received traffic through the address information stored in advance. Reduces traffic loss during traffic forwarding.
  • the second embodiment of the traffic forwarding device of the present invention is proposed based on the first embodiment.
  • the first receiving module 20 includes:
  • the switching unit 21 is configured to switch the running status from the standby device to the primary device if the primary device in the VRRP backup group is faulty and the routing device is the standby device associated with the active device. device;
  • the receiving unit 22 is configured to receive the traffic sent by the terminal when the routing device switches the running state from the standby device to the active device.
  • the routing device when the routing device detects that the primary device in the VRRP backup group is faulty, the routing device determines, according to the preset device priority, whether the primary device is a higher level. The device, if the primary device is the upper-level device of the routing device, the switching unit 21 directly switches the operating state from the standby device to the primary device, and the receiving unit 22 receives the traffic sent by the terminal. Optionally, if the primary device is not the upper device of the routing device, the routing device remains unchanged.
  • the device priority includes a preset switching priority in the VRRP backup group, that is, the switching priority is set in advance in the VRRP backup group for the routing device corresponding to each standby device.
  • the routing device of the next-level device is based on the preset device.
  • the priority can be directly switched to the active device.
  • other routing devices with lower priority than the routing device can enter the sleep state.
  • the switching unit 21 switches the running state from the standby device to the standby device.
  • the routing device of the next level of the routing device performs the working state, and the other routing devices with lower levels are equivalent to enter the sleep state.
  • the routing device may further determine whether the primary device is pre-stored when detecting that the primary device in the VRRP backup group is faulty. If the relationship between the device and the routing device is pre-stored, the switching unit 21 can directly switch the running state from the standby device to the active device. . That is, the primary device and the routing device are connected to the heartbeat line in advance, based on the connection. The heartbeat line establishes an association relationship, and when the primary device fails, the routing device that connects the heartbeat line with the primary device, that is, the switching unit 21, can sense the failure of the primary device, and Switch the running status directly from the standby device to the active device.
  • the third embodiment of the traffic forwarding device of the present invention is proposed based on the first embodiment.
  • the traffic forwarding device further includes:
  • the second receiving module 40 is configured to receive the VRRP packet sent by the active device.
  • the determining module 50 is configured to determine that the primary device is faulty if the VRRP packet sent by the active device is not received within a preset time interval.
  • the second receiving module 40 receives the VRRP packet sent by the active device in real time.
  • the active device sends a VRRP packet in real time, indicating that the primary device is in a normal working mode, for example, the primary device sends a VRRP packet every 1 second, and when the routing device is at a preset time interval. If the VRRP packet is not received, if the VRRP packet is not received by the active device, the determining module 50 may determine that the primary device is faulty, and the The first receiving module 20 can directly receive the traffic sent by the terminal.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, Light
  • a storage medium such as ROM/RAM, disk, Light
  • the disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the foregoing technical solution reduces the situation that traffic is lost during the traffic forwarding process.

Abstract

一种流量转发方法,在路由设备的运行状态为虚拟路由器冗余备份协议VRRP备份组中的备用设备时,所述路由设备存储所述VRRP备份组的地址信息;若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则所述路由设备接收终端发送的流量;若所述流量的目的地址信息与所述路由设备存储的所述地址信息一致,则所述路由设备转发所述流量。本发明还公开了一种流量转发装置。

Description

流量转发方法及装置 技术领域
本文涉及但不限于网络通信领域,尤指一种流量转发方法及装置。
背景技术
随着网络通信技术的发展,目前VRRP(Virtual Router Redundancy Protocol,虚拟路由器冗余备份协议)将局域网内的一组路由器划分在一起,称为一个备份组。备份组由一个Master路由器(主用设备)和多个Backup路由器(备用设备)组成,功能上相当于一台虚拟路由器。在主用设备转发流量时,通过存储的VRRP备份组地址信息将流量转发出去,而备用设备没有存储VRRP备份组地址信息,因此不能转发流量。但是在主用设备发生故障时,备用设备通过感知主用设备的故障,切换为主用设备从而进行流量的转发。但是,目前存在的问题是,备用设备切换为主用设备时,由于还没存储VRRP备份组地址信息,如果这个时候流量已经传送到该主用设备,由于主用设备无法转发该流量,而产生流量丢包的情况。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提出一种流量转发方法及装置,能够在备用设备切换为主用设备时,减少由于无法转发流量而导致流量丢包的情况。
本发明实施例提供的一种流量转发方法,所述流量转发方法包括以下步骤:在路由设备的运行状态为虚拟路由器冗余备份协议VRRP备份组中的备用设备时,所述路由设备存储所述VRRP备份组的地址信息;
若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则所述路由设备接收终端发送的流量;
若所述流量的目的地址信息与所述路由设备存储的所述地址信息一致,则所述路由设备转发所述流量。
可选地,所述若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则所述路由设备接收终端发送的流量的步骤包括:
若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则所述路由设备将运行状态由备用设备切换为主用设备;
当所述路由设备将运行状态由备用设备切换为主用设备时,所述路由设备接收终端发送的流量。
可选地,所述检测到所述VRRP备份组中的主用设备发生故障包括:
所述路由设备接收所述主用设备发送的VRRP报文;
若在预设时间间隔内未接收到所述主用设备发送的所述VRRP报文,则所述路由设备确定所述主用设备发生故障。
可选地,当所述路由设备的设备优先级为所述主用设备的下一级设备时,或者所述路由设备预存有所述主用设备与所述路由设备之间的关联关系时,所述路由设备为主用设备关联的备用设备。
本发明实施例还提出一种流量转发装置,所述流量转发装置包括:
存储模块,设置为在路由设备的运行状态为虚拟路由器冗余备份协议VRRP备份组中的备用设备时,存储所述VRRP备份组的地址信息;
第一接收模块,设置为若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则接收终端发送的流量;转发模块,设置为若所述流量的目的地址信息与所述路由设备存储的所述地址信息一致,则转发所述流量。
可选地,所述第一接收模块包括:
切换单元,设置为若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则将运行状态由备用设备切换为主用设备;
接收单元,设置为当所述路由设备将运行状态由备用设备切换为主用设备 时,接收终端发送的流量。
可选地,所述流量转发装置还包括:
第二接收模块,设置为接收所述主用设备发送的VRRP报文;
确定模块,设置为若在预设时间间隔内未接收到所述主用设备发送的所述VRRP报文,则确定所述主用设备发生故障。
可选地,当所述路由设备的设备优先级为所述主用设备的下一级设备时,或者所述路由设备预存有所述主用设备与所述路由设备之间的关联关系时,所述路由设备为主用设备关联的备用设备。
本发明实施例提出的流量转发方法及装置,在路由设备的运行状态为VRRP备份组中的备用设备时,所述路由设备存储所述VRRP备份组的地址信息,然后若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,接收终端发送的流量,并在所述流量的目的地址信息与所述路由设备存储的所述地址信息一致,直接转发所述流量,而不是在路由设备将运行状态由备用设备切换为主用设备时,要先存储所述VRRP备份组的地址信息,然后才能进行流量的转发,导致无法转发该流量而产生流量丢包的情况,本方案通过事先存储的地址信息直接转发接收到的流量,减小了流量转发过程中流量丢包的情况。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明流量转发方法第一实施例的流程示意图;
图2为本发明若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则所述路由设备接收终端发送的流量的较佳实施例的流程示意图;
图3为本发明流量转发方法第三实施例的流程示意图;
图4为本发明流量转发装置第一实施例的功能模块示意图;
图5为图4中第一接收模块的可选实施例的细化功能模块示意图;
图6为本发明流量转发装置第三实施例的功能模块示意图。
本发明的实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种流量转发方法。
参照图1,图1为本发明流量转发方法第一实施例的流程示意图。
本实施例提出一种流量转发方法,所述流量转发方法包括:
步骤S10,在路由设备的运行状态为虚拟路由器冗余备份协议VRRP备份组中的备用设备时,所述路由设备存储所述VRRP备份组的地址信息;
在虚拟路由器冗余备份协议VRRP备份组中,包括一个主用设备和一个或多个备用设备,本实施例可选包括多个备用设备。在主用设备和备用设备竞选成功后,主用设备和备用设备对应的路由设备都会存储所述VRRP备份组的地址信息,即在路由设备的运行状态为虚拟路由器冗余备份协议VRRP备份组中的备用设备时,所述路由设备存储所述VRRP备份组的地址信息,所述地址信息包括虚拟物理地址或虚拟互联网协议(IP,Internet Protocol)地址,本实施例可选所述地址信息包括虚拟物理地址(Media Access Control,MAC),所述路由设备存储所述VRRP备份组的地址信息的方式包括:所述路由设备先通过其控制面发送VRRP报文对应的虚拟物理地址给转发面,然后通过转发面存储所述虚拟物理地址,实现了在VRRP备份组中的主用设备正常发送VRRP报文时,即所述主用设备处于正常工作状态下,每一个备用设备对应的路由设备事先存储了所述VRRP备份组中的虚拟物理地址。
也就是说,备用设备竞选成功后,自身的运行状态就是备用设备。
其中,VRRP报文由主用设备发送给备用设备(即路由设备)的控制面。
其中,VRRP报文是主用设备用来告知其他设备自身仍处于工作状态,其他设备一直侦听VRRP报文,一段时间收不到VRRP报文,就认为主用设备发生故障。
步骤S20,若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则所述路由设备接收终端发送的流量;
在本实施例中,所述步骤S20的实施方式包括:
1)方式一、在检测到所述VRRP备份组中的主用设备发生故障时,所述路由设备基于预设的设备优先级先确定所述主用设备是否为上一级设备,所述上一级是表示两个设备之间是设备优先级相邻的关系,当关联的主用设备为所述路由设备的上一级设备时,换句话说,也就是当所述路由设备的设备优先级为所述主用设备的下一级设备时,即可确定所述路由设备为主用设备关联的备用设备,此时,所述路由设备接收终端发送的流量。
2)方式二、在检测到所述VRRP备份组中的主用设备发生故障时,所述路由设备先确定是否预存有所述主用设备与所述路由设备之间的关联关系,当所述路由设备预存有所述主用设备与所述路由设备之间的关联关系时,即可确定所述路由设备为主用设备关联的备用设备,此时,所述路由设备接收终端发送的流量。在本实施方式中,所述主用设备和路由设备事先连接心跳线,即所述主用设备与所述路由设备基于连接的心跳线建立有关联关系,在所述主用设备发生故障时,与所述主用设备连接心跳线的路由设备即可感知所述主用设备的故障,并接收终端发送的流量。
步骤S30,若所述流量的目的地址信息与所述路由设备存储的所述地址信息一致,则所述路由设备转发所述流量。
在本实施例中,在所述路由设备接收到终端发送的流量时,先确定所述接收到的流量对应的目的地址信息是否与存储的地址信息相匹配,若匹配,可直接根据存储的地址信息转发所述流量,所述转发所述流量的方式包括路由设备查询预存的转发表,以获取所述流量的出端口,然后根据获取的所述出端口转发所述流量,通过预存的地址信息直接转发流量,提高了流量转发的速度,同时,不需要在接收到终端发送的流量时,要先存储所述VRRP备份组的地址信息,然后等到VRRP备份组的地址信息存储后,再进行流量的转发,这个等待的过程,由于终端可能一直都在发送流量,而此时所述路由设备无法进行流量的转发,而导致所述流量的丢包。
本实施例提出的流量转发方法,在路由设备的运行状态为VRRP备份组中的备用设备时,所述路由设备存储所述VRRP备份组的地址信息,然后若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主 用设备关联的备用设备时,接收终端发送的流量,并在所述流量的目的地址信息与所述路由设备存储的所述地址信息一致,直接转发所述流量,而不是在路由设备将运行状态由备用设备切换为主用设备时,要先存储所述VRRP备份组的地址信息,然后才能进行流量的转发,导致无法转发该流量而产生流量丢包的情况,本方案通过事先存储的地址信息直接转发接收到的流量,减小了流量转发过程中流量丢包的情况。
可选地,为了增加流量转发的灵活性,基于第一实施例提出本发明流量转发方法的第二实施例,在本实施例中,参照图2,所述步骤S20包括:
步骤S21,若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则所述路由设备将运行状态由备用设备切换为主用设备;
步骤S22,当所述路由设备将运行状态由备用设备切换为主用设备时,所述路由设备接收终端发送的流量。
在本实施例中,所述路由设备在检测到所述VRRP备份组中的主用设备发生故障时,所述路由设备基于预设的设备优先级先确定所述主用设备是否为上一级设备,若所述主用设备为所述路由设备的上一级设备,所述路由设备直接将运行状态由备用设备切换为主用设备,并且所述路由设备接收终端发送的流量。
可选地,若所述主用设备不是所述路由设备的上一级设备,则所述路由设备保持不变。在本实施方式中,所述设备优先级包括所述VRRP备份组中预设的切换优先级,即在所述VRRP备份组中会事先对每一个备用设备对应的路由设备设定切换优先级,当所述主用设备发生故障,需要所述主用设备下一级的路由设备切换为主用设备时,所述主用设备下一级的路由设备基于预设的设备优先级即可直接切换为主用设备,而此时,比所述路由设备的设备优先级更低的其它路由设备可进入休眠状态,同理,在所述路由设备将运行状态由备用设备切换为主用设备时,所述路由设备的下一级的路由设备进行工作状态,而其它级别更低的路由设备相当于进入休眠状态。
可选地,为提高所述路由设切换为主用设备的灵活性,所述路由设备还可在检测到所述VRRP备份组中的主用设备发生故障时,先确定是否预存有 所述主用设备与所述路由设备之间的关联关系,若预存有所述主用设备与所述路由设备之间的关联关系,所述路由设备可以直接将运行状态由备用设备切换为主用设备。即所述主用设备和路由设备事先连接心跳线,基于连接的所述心跳线建立关联关系,并在所述主用设备发生故障时,与所述主用设备连接心跳线的路由设备即可感知所述主用设备的故障,并将运行状态由备用设备直接切换为主用设备。
可选地,为了增加流量转发的灵活性,基于第一实施例提出本发明流量转发方法的第三实施例,在本实施例中,参照图3,所述步骤S20中,检测到VRRP备份组中的主用设备发生故障包括:
步骤S40,所述路由设备接收所述主用设备发送的VRRP报文;
步骤S50,若在预设时间间隔内未接收到所述主用设备发送的所述VRRP报文,则所述路由设备确定所述主用设备发生故障。
在本实施例中,在所述VRRP备份组中的主用设备实时发送VRRP报文的过程中,相应地,所述路由设备实时接收所述主用设备发送的VRRP报文,此时所述主用设备实时发送VRRP报文,说明所述主用设备处于正常工作模式,如所述主用设备每个1秒发送一次VRRP报文,而当所述路由设备在预设时间间隔内未接收到所述VRRP报文,如间隔3秒都没接收到所述主用设备发送的所述VRRP报文,则所述路由设备可确定所述主用设备发生故障,并可直接接收终端发送的流量。
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。
本发明进一步提供一种流量转发装置。
参照图4,图4为本发明流量转发装置可选实施例的功能模块示意图。
需要强调的是,对本领域的技术人员来说,图4所示功能模块图仅仅是一个可选实施例的示例图,本领域的技术人员围绕图4所示的流量转发装置的功能模块,可轻易进行新的功能模块的补充;每一个功能模块的名称是自定义名称,仅用于辅助理解该流量转发装置的各个程序功能块,不用于限定本发明的技术方案,本发明技术方案的核心是,各自定义名称的功能模块所 要达成的功能。
本实施例提出一种流量转发装置,所述流量转发装置包括:
存储模块10,设置为在路由设备的运行状态为虚拟路由器冗余备份协议VRRP备份组中的备用设备时,存储所述VRRP备份组的地址信息;
在虚拟路由器冗余备份协议VRRP备份组中,包括一个主用设备和一个或多个备用设备,本实施例可选包括多个备用设备。在主用设备和备用设备竞选成功后,主用设备和备用设备对应的路由设备都会存储所述VRRP备份组的地址信息,即在路由设备的运行状态为虚拟路由器冗余备份协议VRRP备份组中的备用设备时,所述存储模块10存储所述VRRP备份组的地址信息,所述地址信息包括虚拟物理地址或虚拟IP地址,本实施例可选所述地址信息包括虚拟物理地址(Media Access Control,MAC),所述存储模块10存储所述VRRP备份组的地址信息的方式包括:先通过其控制面发送所述VRRP报文对应的虚拟物理地址给转发面,然后所述存储模块10通过转发面存储所述虚拟物理地址,实现了在VRRP备份组中的主用设备正常发送VRRP报文时,即所述主用设备处于正常工作状态下,每一个备用设备对应的路由设备事先存储了所述VRRP备份组中的虚拟物理地址。
第一接收模块20,设置为若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则接收终端发送的流量;
在本实施例中,若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则所述第一接收模块20接收终端发送的流量的实施方式包括:
1)方式一、在检测到所述VRRP备份组中的主用设备发生故障时,所述路由设备基于预设的设备优先级先确定所述主用设备是否为上一级设备,所述上一级是表示两个设备之间是设备优先级相邻的关系,当关联的主用设备为所述路由设备的上一级设备时,换句话说,也就是当所述路由设备的设备优先级为所述主用设备的下一级设备时,即可确定所述路由设备为主用设备关联的备用设备,此时,所述第一接收模块20接收终端发送的流量。
2)方式二、在检测到所述VRRP备份组中的主用设备发生故障时,所述路由设备先确定是否预存有所述主用设备与所述路由设备之间的关联关系,当所述路由设备预存有所述主用设备与所述路由设备之间的关联关系时,即可确定所述路由设备为主用设备关联的备用设备,此时,所述第一接收模块20接收终端发送的流量。在本实施方式中,所述主用设备和路由设备事先连接心跳线,即所述主用设备与所述路由设备基于连接的心跳线建立有关联关系,在所述主用设备发生故障时,与所述主用设备连接心跳线的路由设备即可感知所述主用设备的故障,并且所述第一接收模块20接收终端发送的流量。
转发模块30,设置为若所述流量的目的地址信息与所述路由设备存储的所述地址信息一致,则转发所述流量。
在本实施例中,在所述第一接收模块20接收到终端发送的流量时,先确定所述接收到的流量对应的目的地址信息是否与存储的地址信息相匹配,若匹配,所述转发模块30可直接根据存储的地址信息转发所述流量,所述转发模块30转发所述流量的方式为所述路由设备查询预存的转发表,以获取所述流量的出端口,然后所述转发模块30根据获取的所述出端口转发所述流量,通过预存的地址信息直接转发流量,提高了流量转发的速度,同时,不需要在接收到终端发送的流量时,要先存储所述VRRP备份组的地址信息,然后等到VRRP备份组的地址信息存储后,再进行流量的转发,这个等待的过程,由于终端可能一直都在发送流量,而此时所述路由设备无法进行流量的转发,而导致所述流量的丢包。
本实施例提出的流量转发装置,在路由设备的运行状态为VRRP备份组中的备用设备时,所述路由设备存储所述VRRP备份组的地址信息,然后若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,接收终端发送的流量,并在所述流量的目的地址信息与所述路由设备存储的所述地址信息一致,直接转发所述流量,而不是在路由设备将运行状态由备用设备切换为主用设备时,要先存储所述VRRP备份组的地址信息,然后才能进行流量的转发,导致无法转发该流量而产生流量丢包的情况,本方案通过事先存储的地址信息直接转发接收到的流量, 减小了流量转发过程中流量丢包的情况。
可选地,为了增加流量转发的灵活性,基于第一实施例提出本发明流量转发装置的第二实施例,在本实施例中,参照图5,所述第一接收模块20包括:
切换单元21,设置为若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则将运行状态由备用设备切换为主用设备;
接收单元22,设置为当所述路由设备将运行状态由备用设备切换为主用设备时,接收终端发送的流量。
在本实施例中,所述路由设备在检测到所述VRRP备份组中的主用设备发生故障时,所述路由设备基于预设的设备优先级先确定所述主用设备是否为上一级设备,若所述主用设备为所述路由设备的上一级设备,所述切换单元21直接将运行状态由备用设备切换为主用设备,并且所述接收单元22接收终端发送的流量。可选地,若所述主用设备不是所述路由设备的上一级设备,则所述路由设备保持不变。在本实施方式中,所述设备优先级包括所述VRRP备份组中预设的切换优先级,即在所述VRRP备份组中会事先对每一个备用设备对应的路由设备设定切换优先级,当所述主用设备发生故障,需要所述主用设备下一级的路由设备切换为主用设备时,所述主用设备下一级的路由设备即所述切换单元21基于预设的设备优先级即可直接切换为主用设备,而此时,比所述路由设备优先级更低的其它路由设备可进入休眠状态,同理,在所述切换单元21将运行状态由备用设备切换为主用设备时,所述路由设备的下一级的路由设备进行工作状态,而其它级别更低的路由设备相当于进入休眠状态。
可选地,为提高所述路由设切换为主用设备的灵活性,所述路由设备还可在检测到所述VRRP备份组中的主用设备发生故障时,先确定是否预存有所述主用设备与所述路由设备之间的关联关系,若预存有所述主用设备与所述路由设备之间的关联关系,所述切换单元21可以直接将运行状态由备用设备切换为主用设备。即所述主用设备和路由设备事先连接心跳线,基于连接 的所述心跳线建立关联关系,并在所述主用设备发生故障时,与所述主用设备连接心跳线的路由设备即所述切换单元21即可感知所述主用设备的故障,并将运行状态由备用设备直接切换为主用设备。
可选地,为了增加流量转发的灵活性,基于第一实施例提出本发明流量转发装置的第三实施例,在本实施例中,参照图6,所述流量转发装置还包括:
第二接收模块40,设置为接收所述主用设备发送的VRRP报文;
确定模块50,设置为若在预设时间间隔内未接收到所述主用设备发送的所述VRRP报文,则确定所述主用设备发生故障。
在本实施例中,在所述VRRP备份组中的主用设备实时发送VRRP报文的过程中,相应地,所述第二接收模块40实时接收所述主用设备发送的VRRP报文,此时所述主用设备实时发送VRRP报文,说明所述主用设备处于正常工作模式,如所述主用设备每个1秒发送一次VRRP报文,而当所述路由设备在预设时间间隔内未接收到所述VRRP报文,如间隔3秒都没接收到所述主用设备发送的所述VRRP报文,则所述确定模块50可确定所述主用设备发生故障,并且所述第一接收模块20可直接接收终端发送的流量。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光 盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储与存储器中的程序/指令来实现其相应功能。本发明不限于任何特定形式的硬件和软件的结合。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。
工业实用性
上述技术方案减小了流量转发过程中流量丢包的情况。

Claims (8)

  1. 一种流量转发方法,所述流量转发方法包括以下步骤:
    在路由设备的运行状态为虚拟路由器冗余备份协议VRRP备份组中的备用设备时,所述路由设备存储所述VRRP备份组的地址信息;
    若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则所述路由设备接收终端发送的流量;
    若所述流量的目的地址信息与所述路由设备存储的所述地址信息一致,则所述路由设备转发所述流量。
  2. 如权利要求1所述的流量转发方法,其中,所述若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则所述路由设备接收终端发送的流量的步骤包括:
    若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则所述路由设备将运行状态由备用设备切换为主用设备;
    当所述路由设备将运行状态由备用设备切换为主用设备时,所述路由设备接收终端发送的流量。
  3. 如权利要求1所述的流量转发方法,所述检测到所述VRRP备份组中的主用设备发生故障包括:
    所述路由设备接收所述主用设备发送的VRRP报文;
    若在预设时间间隔内未接收到所述主用设备发送的所述VRRP报文,则所述路由设备确定所述主用设备发生故障。
  4. 如权利要求1-3任一项所述的流量转发方法,其中,当所述路由设备的设备优先级为所述主用设备的下一级设备时,或者所述路由设备预存有所述主用设备与所述路由设备之间的关联关系时,所述路由设备为主用设备关联的备用设备。
  5. 一种流量转发装置,所述流量转发装置包括:
    存储模块,设置为在路由设备的运行状态为虚拟路由器冗余备份协议 VRRP备份组中的备用设备时,存储所述VRRP备份组的地址信息;
    第一接收模块,设置为若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则接收终端发送的流量;
    转发模块,设置为若所述流量的目的地址信息与所述路由设备存储的所述地址信息一致,则转发所述流量。
  6. 如权利要求5所述的流量转发装置,其中,所述第一接收模块包括:
    切换单元,设置为若检测到所述VRRP备份组中的主用设备发生故障,且所述路由设备为所述主用设备关联的备用设备时,则将运行状态由备用设备切换为主用设备;
    接收单元,设置为当所述路由设备将运行状态由备用设备切换为主用设备时,接收终端发送的流量。
  7. 如权利要求5所述的流量转发装置,所述流量转发装置还包括:
    第二接收模块,设置为接收所述主用设备发送的VRRP报文;
    确定模块,设置为若在预设时间间隔内未接收到所述主用设备发送的所述VRRP报文,则确定所述主用设备发生故障。
  8. 如权利要求5-7任一项所述的流量转发装置,其中,当所述路由设备的设备优先级为所述主用设备的下一级设备时,或者所述路由设备预存有所述主用设备与所述路由设备之间的关联关系时,所述路由设备为主用设备关联的备用设备。
PCT/CN2016/087111 2015-09-28 2016-06-24 流量转发方法及装置 WO2017054535A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510631430.8 2015-09-28
CN201510631430.8A CN106559326A (zh) 2015-09-28 2015-09-28 流量转发方法及装置

Publications (1)

Publication Number Publication Date
WO2017054535A1 true WO2017054535A1 (zh) 2017-04-06

Family

ID=58416855

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/087111 WO2017054535A1 (zh) 2015-09-28 2016-06-24 流量转发方法及装置

Country Status (2)

Country Link
CN (1) CN106559326A (zh)
WO (1) WO2017054535A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830310A (zh) * 2019-11-28 2020-02-21 新华三大数据技术有限公司 一种跨数据中心的灾难备份方法及bras系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113328933B (zh) * 2021-05-27 2022-11-01 杭州迪普科技股份有限公司 数据流量转发方法及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1601140A2 (en) * 2004-05-29 2005-11-30 Sarian Systems Ltd. Method of monitoring a member router in a VRRP group
CN101951345A (zh) * 2010-10-15 2011-01-19 杭州华三通信技术有限公司 一种报文的发送方法和设备
CN102413046A (zh) * 2011-11-24 2012-04-11 杭州华三通信技术有限公司 借助虚拟路由器冗余协议备份组转发流量的方法及设备
CN102868616A (zh) * 2012-09-21 2013-01-09 华为技术有限公司 网络中虚mac地址表项建立的方法、路由器及系统
US20140321265A1 (en) * 2013-04-29 2014-10-30 Telefonaktiebolaget L M Ericsson (Publ) Fast traffic recovery in vrrp based routers
CN104821913A (zh) * 2015-05-05 2015-08-05 杭州华三通信技术有限公司 一种数据报文转发方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6556547B1 (en) * 1998-12-15 2003-04-29 Nortel Networks Limited Method and apparatus providing for router redundancy of non internet protocols using the virtual router redundancy protocol
CN1208929C (zh) * 2002-06-23 2005-06-29 华为技术有限公司 一种利用虚拟路由器冗余协议实现路由器接口备份的方法
CN101667927B (zh) * 2009-09-16 2012-02-01 杭州华三通信技术有限公司 快速恢复业务的方法和设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1601140A2 (en) * 2004-05-29 2005-11-30 Sarian Systems Ltd. Method of monitoring a member router in a VRRP group
CN101951345A (zh) * 2010-10-15 2011-01-19 杭州华三通信技术有限公司 一种报文的发送方法和设备
CN102413046A (zh) * 2011-11-24 2012-04-11 杭州华三通信技术有限公司 借助虚拟路由器冗余协议备份组转发流量的方法及设备
CN102868616A (zh) * 2012-09-21 2013-01-09 华为技术有限公司 网络中虚mac地址表项建立的方法、路由器及系统
US20140321265A1 (en) * 2013-04-29 2014-10-30 Telefonaktiebolaget L M Ericsson (Publ) Fast traffic recovery in vrrp based routers
CN104821913A (zh) * 2015-05-05 2015-08-05 杭州华三通信技术有限公司 一种数据报文转发方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830310A (zh) * 2019-11-28 2020-02-21 新华三大数据技术有限公司 一种跨数据中心的灾难备份方法及bras系统
CN110830310B (zh) * 2019-11-28 2022-04-26 新华三大数据技术有限公司 一种跨数据中心的灾难备份方法及bras系统

Also Published As

Publication number Publication date
CN106559326A (zh) 2017-04-05

Similar Documents

Publication Publication Date Title
EP3588876B1 (en) Method, device and system for forwarding data messages
EP2562970B1 (en) Switch, and flow table control method
US9219641B2 (en) Performing failover in a redundancy group
RU2612599C1 (ru) Устройство управления, система связи, способ управления коммутаторами и программа
US10237179B2 (en) Systems and methods of inter data center out-bound traffic management
JP4517997B2 (ja) ネットワーク管理装置およびネットワークシステム
WO2017002017A1 (en) Fast convergence in vrrp with multipoint bidirectional forwarding detection
JP6792701B2 (ja) プライマリ・バックアップ疑似回線pw切替
EP3171555A1 (en) Fault detection method for virtual router redundancy protocol and router device
US10367680B2 (en) Network relay apparatus, gateway redundancy system, program, and redundancy method
WO2017054547A1 (zh) 双向转发检测的方法和装置
CN106656857B (zh) 一种报文限速的方法和装置
EP3355533B1 (en) Path switching
US20160205033A1 (en) Pool element status information synchronization method, pool register, and pool element
CN112187633A (zh) 一种链路故障收敛方法、装置、电子设备及存储介质
EP3291486B1 (en) Selective transmission of bidirectional forwarding detection (bfd) messages for verifying multicast connectivity
CN108289044B (zh) 数据转发方法、确定静态路由的链路状态方法及网络设备
WO2014146541A1 (zh) Cdn与网络融合系统、调度模块选定方法及计算机存储介质
WO2017054535A1 (zh) 流量转发方法及装置
US10250497B1 (en) Avoiding false duplicate network address detection in virtual router redundancy protocol (VRRP) scenarios
WO2017219868A1 (zh) Arp条目的处理方法及装置
US10063675B2 (en) Performing duplicate address detection for an integrated routing and bridging device
US10771317B1 (en) Reducing traffic loss during link failure in an ethernet virtual private network multihoming topology
CN106209634B (zh) 地址映射关系的学习方法及装置
US20170070473A1 (en) A switching fabric including a virtual switch

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: 16850159

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: 16850159

Country of ref document: EP

Kind code of ref document: A1