WO2017117958A1 - 本地聚合链路处理方法及装置 - Google Patents

本地聚合链路处理方法及装置 Download PDF

Info

Publication number
WO2017117958A1
WO2017117958A1 PCT/CN2016/089811 CN2016089811W WO2017117958A1 WO 2017117958 A1 WO2017117958 A1 WO 2017117958A1 CN 2016089811 W CN2016089811 W CN 2016089811W WO 2017117958 A1 WO2017117958 A1 WO 2017117958A1
Authority
WO
WIPO (PCT)
Prior art keywords
esadi
homing
link group
nickname
information
Prior art date
Application number
PCT/CN2016/089811
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 WO2017117958A1 publication Critical patent/WO2017117958A1/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/24Multipath
    • H04L45/245Link aggregation, e.g. trunking

Definitions

  • the present application relates to, but is not limited to, the field of communications, and in particular, to a local aggregation link processing method and apparatus.
  • TRILL Transparent Interconnection of Lots of Links
  • ESADI End Station Address Distribution Information
  • ESADI is an end-address learning alternative protocol derived from the Intermediate System to Intermediate System (ISIS), but with a higher priority than the stream learning method.
  • the ESADI protocol exchanges the link state protocol packets (Label Switched Paths, LSPs) of the TRILL protocol.
  • LSP Label Switched Paths
  • each routing bridge RB
  • LSP link state protocol
  • the data packet carries the end address that it can reach, that is, the MAC address, and sends it to the network. Only the RB (Route Bridge) that uses itself as a neighbor will save its ESADI Link State Protocol Packet (LSP) packet to form a Link State Data Base (LSDB).
  • LSP Link State Protocol Packet
  • the RB learns the end address of the ESADI neighbor, the MAC address. What is finally learned is that TRILL's MAC address entry is ⁇ MAC;nickname>, indicating that the native Ethernet frame needs to be sent to this MAC. You can choose TRILL to send the RB to the nickname unicast.
  • Native multi-homing access is a very common network deployment scenario in a data center.
  • a terminal accesses a network through two or more links to form a set of interfaces on a multi-homed link. It is considered that the same link aggregation group is added. These devices are considered to be member devices in the same link aggregation group.
  • the terminal routes the bridge through multiple connections through multiple links (ingress RB) accesses the TRILL network. These uplink and ingress RBs form a multi-homing group, and the link aggregation protocol runs on the RB device.
  • the packets sent by the terminal may be encapsulated by different RBs in the multi-homing group.
  • the MAC may be learned because the same MAC can only learn the mapping of the superimposed network device identifier.
  • the connection code (Ingress-Nickname) of the entry is frequently flipped (called a flip-flop), which causes instability of the MAC address table, and may even cause out-of-order and lost traffic of the returned traffic, causing the session to be interrupted.
  • the present invention provides a local aggregation link processing method and apparatus, so as to at least solve the flip-flop problem of MAC entry learning in multi-homing access in a related art.
  • a local aggregation link processing method including:
  • the first routing bridge RB receives the first link state data packet ESADI-LSP advertised by the second RB in the virtual network in the terminal address interaction protocol ESADI instance corresponding to the virtual local area network VLAN to which the first RB belongs, where The first interface of the first RB and the second interface of the second RB are used to access the user-side device to the TRILL network, where the first interface of the first RB and the second RB are The second interface is bound to the first multi-homing aggregation link group, and the first ESADI-LSP carries information of the second RB in the first multi-homing aggregation link group, where the information includes: a pseudo nickname and a group number of the first multi-homing aggregation link group;
  • the method further includes: the first RB and the second RB receiving the The local packet sent by the user-side device sends the TRILL data packet to the local packet using the common pseudo-nickname as the source nickname.
  • the method further includes: the first RB issuing a second ESADI-LSP in an ESADI instance corresponding to the VLAN, where the second ESADI-LSP carries the first RB in the first A multi-homed information of the aggregated link group.
  • the method further includes: when the first RB is elected as the designated RB in the first RB and the second RB, where the first RB is in the VLAN
  • the third ESADI-LSP is issued in the ESADI instance, wherein the third ESADI-LSP carries indication information indicating that the designated RB is the first RB and the common pseudo nickname information.
  • the method further includes: if the first RB is not elected as the designated RB of the first multi-homing aggregation link group, the first RB does not perform any operation.
  • the manner of carrying the information of the first multi-homing aggregation link group includes: carrying information of the first multi-homing aggregation link group by a byte type length value TLV, where a value in the TLV The group number and pseudo nickname of the aggregation link group.
  • a local aggregation link processing apparatus which is disposed in the first routing bridge RB, and includes:
  • the receiving module is configured to: receive, in the terminal address interaction protocol ESADI instance corresponding to the virtual local area network VLAN to which the first RB belongs, the first link state data packet ESADI-LSP issued by the second RB in the virtual network, The first interface of the first RB and the second interface of the second RB are used to access the user-side device to the TRILL network, where the first interface and the second interface of the first RB are The second interface of the RB is bound to the first multi-homing aggregation link group, and the first ESADI-LSP carries information of the second RB in the first multi-homing aggregation link group, where the information includes: Nickname and the group number of the first multi-homing aggregation link group;
  • the election module is configured to: elect a specified RB according to the system ID of the first RB and the system ID of the second RB, where the designated RB determines, according to the information of the first multi-homing aggregation link group The common nickname of the first multi-homed aggregation link group.
  • the device further includes:
  • a forwarding module configured to: receive a local packet sent by the user side device, where the local The message uses the common pseudo nickname as the source nickname to perform TRILL data packet encapsulation and transmission.
  • the device further includes:
  • a publishing module configured to: advertise a second ESADI-LSP in an ESADI instance corresponding to the VLAN, where the second ESADI-LSP carries information of the first RB in the first multi-homing aggregation link group .
  • the election module further includes:
  • a publishing unit configured to: when the first RB is elected as the designated RB in the first RB and the second RB, issue a third ESADI in an ESADI instance corresponding to the VLAN An LSP, where the third ESADI-LSP carries indication information indicating that the designated RB is the first RB and the common pseudo nickname information.
  • the election module further includes:
  • the election processing unit is configured to: if the first RB is not elected as the designated RB of the first multi-homing aggregation link group, determine that the first RB does not perform any operation.
  • the manner of carrying the information of the first multi-homing aggregation link group includes:
  • the information of the first multi-homing aggregation link group is carried by the byte type length value TLV, wherein the value in the TLV carries the group number of the aggregation link group and the pseudo nickname.
  • a computer readable storage medium storing computer executable instructions that, when executed by a processor, implements the above method.
  • the first RB receives the first ESADI-LSP advertised by the second RB in the ESADI instance corresponding to the VLAN, and selects the designated RB according to the system ID of the first RB and the second RB, where the designated RB is based on
  • the first ESADI-LSP determines the common pseudo-nickname, and solves the problem of the flip-flop for the MAC entry learning in the multi-homing access of the terminal in the related art, thereby implementing the normal learning of the multi-homing access MAC entry of the terminal.
  • FIG. 1 is a flow chart of a processing method in accordance with an embodiment of the present invention.
  • FIG. 2 is a structural block diagram 1 of a local aggregation link processing apparatus according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram 2 of a local aggregation link processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram 3 of a local aggregation link processing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram 4 of a local aggregation link processing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a multi-homing link aggregation group information TLV diagram according to an alternative embodiment of the present invention.
  • FIG. 7 is a schematic flow chart of an overall solution according to an alternative embodiment of the present invention.
  • FIG. 8 is a schematic flow chart of an overall solution according to an alternative embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for processing a local aggregation link according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • the first RB receives the first ESADI-LSP advertised by the second RB in the virtual network in the ESADI instance corresponding to the VLAN to which the first RB belongs, where the first interface and the second RB of the first RB are The second interface of the RB is configured to connect the user-side device to the TRILL network, where the first interface of the first RB and the second interface of the second RB are bound to the first multi-homing aggregation link group.
  • the first ESADI-LSP carries information of the second RB in the first multi-homing aggregation link group, where the information includes: a pseudo nickname and a group number of the first multi-homing aggregation link group;
  • Step S104 the specified RB is elected according to the system ID of the first RB and the system ID of the second RB, where the designated RB determines the first multi-homing aggregation link group according to the information of the first multi-homing aggregation link group. Common nickname.
  • the first routing bridge RB receives the first link state data packet ESADI-LSP advertised by the second RB in the virtual network in the terminal address interaction protocol ESADI instance corresponding to the virtual local area network VLAN to which the first RB belongs.
  • the first interface of the first RB and the second interface of the second RB are used to access the user-side device to the TRILL network, where the first interface of the first RB and the second RB are The second interface is bound to the first multi-homing aggregation link group, and the first ESADI-LSP carries the information of the second RB in the first multi-homing aggregation link group, and the information includes: a pseudo nickname, the first multiple return And the specified RB is selected according to the system ID of the first RB and the system ID of the second RB, where the designated RB determines the first according to the information of the first multi-homing aggregation link group.
  • the common pseudo nickname of the multi-homed aggregation link group The flip-flop problem occurs in the MAC entry learning of the terminal, which causes the out-of-order traffic to be lost and reported, causing the session to be interrupted.
  • the above embodiment solves the flip of the MAC entry learning in the multi-homing access of the terminal.
  • the problem of the -flop in turn, achieves the normal learning of the terminal multi-homing access MAC entry.
  • the method further includes: the first RB and the second RB receiving a local packet sent by the user equipment, and using the common pseudo nickname as the local packet
  • the source nickname performs TRILL data packet encapsulation and transmission.
  • the method further includes: the first RB issuing a second ESADI-LSP in the ESADI instance corresponding to the VLAN, where the second ESADI-LSP carries the first RB in the first multi-homing aggregation link Group of information.
  • the first RB when the first RB is elected as the designated RB in the first RB and the second RB, the first RB issues a third ESADI-LSP in an ESADI instance corresponding to the VLAN.
  • the third ESADI-LSP carries indication information indicating that the designated RB is the first RB and the common pseudo nickname information.
  • the first RB in a case where the first RB is not elected as the designated RB of the first multi-homing aggregation link group, the first RB does not perform any operation.
  • the information of the first multi-homing aggregation link group is carried in the manner that the information of the first multi-homing aggregation link group is carried by the byte type length value TLV, where the value in the TLV carries the aggregation.
  • TLV byte type length value
  • a local aggregation link processing device is also provided.
  • the device is used to implement the foregoing embodiments and optional implementation manners. Let me repeat.
  • the term "module" may implement a combination of software and/or hardware of a predetermined function.
  • FIG. 2 is a block diagram of a structure of a local aggregation link processing apparatus, which is disposed in a first routing bridge RB. As shown in FIG. 2, the apparatus includes:
  • the receiving module 22 is configured to receive, in an instance of the terminal address interaction protocol ESADI corresponding to the virtual local area network VLAN to which the first RB belongs, a first link state data packet ESADI-LSP issued by the second RB in the virtual network, where The first interface of the first RB and the second interface of the second RB are used to access the user-side device to the TRILL network, where the first interface of the first RB and the second interface of the second RB are Binding to the first multi-homing aggregation link group, the first ESADI-LSP carries information of the second RB in the first multi-homing aggregation link group, the information includes: a pseudo nickname and the first multi-homing aggregation chain The group number of the road group;
  • the election module 24 is connected to the receiving module 22, and is configured to: elect a designated RB according to the system ID of the first RB and the system ID of the second RB, where the designated RB is according to the first multi-homing aggregation link group
  • the information determines a common pseudo nickname of the first multi-homed aggregation link group.
  • the receiving module 22 receives the first link state data packet ESADI-LSP issued by the second RB in the virtual network in the terminal address interaction protocol ESADI instance corresponding to the virtual local area network VLAN to which the first RB belongs, where the first The first interface of the RB and the second interface of the second RB are used to connect the user interface to the TRILL network. The first interface of the first RB and the second interface of the second RB are bound to the first interface.
  • the first ESADI-LSP carrying information of the second RB in the first multi-homing aggregation link group, the information including: a pseudo nickname and a group of the first multi-homing aggregation link group
  • the election module 24 elects the designated RB according to the system ID of the first RB and the system ID of the second RB, where the designated RB determines the first multi-homing aggregation according to the information of the first multi-homing aggregation link group.
  • the common pseudo-nickname of the link group because the terminal has multiple flip-flops in the MAC entry learning, causing out-of-order traffic loss and packet loss, causing the session to be interrupted. Into the middle of the MAC entry learning flip-flop problem, and then achieve Multi-homing access terminal MAC entries normal learning.
  • FIG. 3 is a structural block diagram 2 of a local aggregation link processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, in addition to the module of FIG. 2, the apparatus further includes:
  • the forwarding module 34 is configured to: receive the local packet sent by the user side device, and use the common pseudo nickname as the source nickname to perform TRILL data packet encapsulation and sending.
  • the issuing module 32 is configured to: advertise a second ESADI-LSP in the ESADI instance corresponding to the VLAN, where the second ESADI-LSP carries information of the first RB in the first multi-homing aggregation link group.
  • FIG. 4 is a structural block diagram 3 of a local aggregation link processing apparatus according to an embodiment of the present invention.
  • the election module 24 includes:
  • the issuing unit 42 is configured to: when the first RB is elected as the designated RB in the first RB and the second RB, issue a third ESADI-LSP in an ESADI instance corresponding to the VLAN, where The third ESADI-LSP carries indication information indicating that the designated RB is the first RB and the common pseudo nickname information.
  • FIG. 5 is a structural block diagram 4 of a local aggregation link processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the election module 24 includes:
  • the election processing unit 52 is configured to: if the first RB is not elected as the designated RB of the first multi-homing aggregation link group, determine that the first RB does not perform any operation.
  • An optional embodiment of the present invention provides an ESADI-supported local aggregation link group terminal address learning method, and the technical problem to be solved is how to avoid the flip-flop problem and the traffic problem caused by MAC entry learning in multi-homing access. And load balancing to the destination MAC can be achieved.
  • the first VLAN (assuming the system ID is 1111.1111.1111)
  • the same VLAN x on the first interface on the first interface of the first interface and the second RB (assuming the system ID is 2222-22222222) form a multi-homing chain.
  • the first interface of the first RB belongs to the multi-homed link aggregation group A. member.
  • the first RB (assuming the system ID is 1111.1111.1111), the same interface on the first interface of the first interface and the second RB (assuming the system ID is 2222-22222222)
  • the first RB advertises the multi-homed link aggregation group information through the ESADI-LSP in the ESADI instance corresponding to the VLAN x, indicating that the first RB belongs to the multi-homed VLAN x.
  • Link aggregation group A is
  • FIG. 6 is a multi-homing link aggregation group information TLV diagram according to an alternative embodiment of the present invention, as shown in FIG. 6 :
  • Multi-Chassis Link Aggregation (MC-LAG) information TLV includes one byte. Type (T, type), length of one byte (L, length) and value (V, value).
  • the value (V, value) contains multiple aggregated link groups ITEM, and each aggregated link group ITEM consists of two bytes of aggregated link group number and pseudo nickname.
  • the aggregate link group number is filled in as the aggregate link group A, and the pseudo nickname is filled in as 0.
  • a multi-homed link aggregation group information TLV can appear multiple times in an ESADI-LSP packet.
  • the second interface of the second RB is also bound to the VLAN x belongs to the multi-homed link aggregation group A, and the ESADI-LSP issued by the first RB is received in the ESADI instance of the VLAN RD of the second RB, including the aggregation
  • the link group information indicates that it belongs to the aggregation link group A.
  • the second RB performs the designated RB election of the aggregated link group A, and the designated RB with the system ID is large, that is, the second RB is the designated RB of the aggregated link group.
  • the RB of the aggregated link group specifies the pseudo nickname a for the aggregated link group, and the ESADI instance of the VLAN RB of the second RB also passes the ESADI-LSP packet of the second RB.
  • the link aggregation group information TLV issues multi-homed link aggregation group information. At this time, the aggregate link group number in the aggregate link group information TLV is A, and the pseudo nickname is a.
  • the ESADI-LSP advertised by the second RB is received in the ESADI instance of the VLAN RB of the first RB, and the information of the aggregated link group indicates that the same link group A is also included, and the designation of the aggregated link group A is also performed.
  • the election system ID is large as the designated RB, that is, the second RB is still the designated RB of the aggregated link group, and it fails.
  • the pseudo nickname a issued by the second RB is accepted as the pseudo nickname a of the aggregated link group A on the first RB.
  • the embodiment of the present invention requires a special extension of the control plane protocol, and only needs to carry the corresponding multi-homing access link binding identifier on the control plane, and the implementation principle is simple.
  • FIG. 7 is a schematic flowchart of an overall solution according to an alternative embodiment of the present invention.
  • the interface 1 of the first RB and the interface 2 of the second RB are bundled by the link of the device, and are provided to the client device 1 (i.e., host 1 in Fig. 7) multi-homing access constitutes a multi-homed link aggregation group 1.
  • the system IDs are 1111.1111.1111 and 222.2222.2222 are all part of a local access VLAN 1.
  • the interface that is connected to the border RB will have corresponding multi-homed behavior.
  • the SYSTEM ID of the first RB is 1111.1111.1111
  • the SYSTEM ID of the second RB is 2222.2222. 2222.
  • the interface 1 of the first RB is configured as the binding vlan1 aggregation 1, and the interface 1 bound to the first RB belongs to the aggregation link group 1.
  • the interface 1 of the second RB is configured as the binding vlan1 aggregation 1, that is, the interface 1 bound to the second RB belongs to the aggregation link group 1.
  • the first RB and the second RB will issue the multi-homed link aggregation group information in the ESADI-LSP of the ESADI instance 1 corresponding to vlan1, and the multi-homed link aggregation group number in the multi-homed link aggregation group TLV is filled in as 1 , the pseudo nickname is filled in as 0.
  • the specified RB of the aggregated link group 1 is not determined, and the pseudo nickname is filled in with 0.
  • the published ESADI-LSP of the second RB is received by the first RB, and the aggregated link group information is included to indicate that it belongs to the aggregated link group 1.
  • the first RB performs the designated RB election of the aggregation link group 1, and the election system ID is the designated RB because the system-ID of the second RB is 2222.2222.2222, that is, the second RB is the aggregated link.
  • the first RB does nothing.
  • the published ESADI-LSP of the first RB is received by the second RB, and the aggregated link group information is included to indicate that it belongs to the aggregated link group 1.
  • the second RB performs the designated RB election of the aggregation link group 1, and the election system ID is large as the designated RB, because the system ID of the second RB is 2222.2222.2222, that is, the second RB elects itself to aggregate the RB.
  • the RB of link group 1 specifies that the pseudo nickname of this aggregated link group 1 is 1.
  • the ESADI-LSP of ESADI instance 1 corresponding to vlan1 advertises the multi-homed link aggregation group information, and the multi-homed link aggregation group number in the multi-homed link aggregation group TLV is filled in with 1, and the pseudo-nickname is filled in 1.
  • the negotiation is successful for the first RB and the second RB that belong to the aggregated link group 1, and the common pseudo nickname of the aggregated link group in the TRILL is determined.
  • vlan1 receives the native message sent by the client side, and the pseudo nickname is used as the source nickname in the TRILL network for data transmission.
  • FIG. 8 is a schematic flowchart of an overall solution according to an alternative embodiment of the present invention.
  • the interface 1 of the first RB and the interface 2 of the second RB are bundled by the link of the device, and are provided to the client device 1
  • Multi-homing access constitutes a multi-homed link aggregation group 1.
  • the system IDs are 1111.1111.1111 and 222.2222.2222 are all part of a local access VLAN 1.
  • On the other side of the TRILL network there is RB3, and the client-side device 2 is connected.
  • the system-ID is 3333.3333.3333, where interface 1 also belongs to VLAN 1, and there is a terminal access on interface 1.
  • the interface that is connected to the border RB will have corresponding multi-homed behavior.
  • the SYSTEM ID of the first RB is 1111.1111.1111
  • the SYSTEM ID of the second RB is 2222.2222. 2222.
  • the interface 1 of the first RB is configured as the binding vlan1 aggregation 1, and the interface 1 bound to the first RB belongs to the aggregation link group 1.
  • the interface 1 of the second RB is configured as the binding vlan1 aggregation 1, that is, the interface 1 bound to the second RB belongs to the aggregation link group 1.
  • the corresponding binding configuration is not performed in vlan1 on interface 1 of RB3.
  • the first RB and the second RB will issue the multi-homed link aggregation group information in the ESADI-LSP of the ESADI instance 1 corresponding to vlan1, and the multi-homed link aggregation group number in the multi-homed link aggregation group TLV is filled in as 1 , the pseudo nickname is filled in as 0.
  • the specified RB of the aggregated link group 1 is not determined, and the pseudo nickname is filled in with 0.
  • the first RB and the second RB that belong to the aggregated link group 1 are successfully negotiated, and the common pseudo nickname of the aggregated link group in the TRILL is determined.
  • the ESADI instance corresponding to VLAN 1 of RB3 after receiving the first RB and the second RB in the ESADI-LSP, ignores the first RB and the second RB to advertise the multi-homed link aggregation group information on the ESADI-LSP. Because there is no multi-homed link aggregation group 1 in this VLAN1.
  • vlan1 receives the native (Native) message sent by the client device 1 to the access device 2 of the second RB (ie, host 2 in FIG. 8), and will be in the TRILL network.
  • the pseudo nickname 1 is used as its own source nickname for TRILL data packet encapsulation.
  • the destination nickname is pseudo nickname 1 to perform TRILL data packet encapsulation and transmission.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the embodiment of the present invention may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), and includes a plurality of instructions.
  • a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) is caused to perform the method described in the embodiments of the present invention.
  • Embodiments of the present invention also provide a storage medium.
  • the storage medium may be configured to store program code for performing the method steps of the above embodiment:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs the method steps of the foregoing embodiments according to the stored program code in the storage medium.
  • modules or steps of the embodiments of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed either separately as an integrated circuit module, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • embodiments of the invention are not limited to any specific combination of hardware and software.
  • the invention solves the problem of the flip-flop for MAC entry learning in the multi-homing access of the terminal in the related art, and further realizes the normal learning of the multi-homing access MAC entry of the terminal.

Abstract

本文公布一种本地聚合链路处理方法及装置,其中,该方法包括:第一RB在VLAN对应的ESADI实例中接收第二RB发布的第一ESADI-LSP,依据第一RB和第二RB的系统ID选举出指定RB,其中,该指定RB依据该第一ESADI-LSP确定共同伪nickname。

Description

本地聚合链路处理方法及装置 技术领域
本申请涉及但不限于通信领域,尤指一种本地聚合链路处理方法及装置。
背景技术
多链路透明传输协议(Transparent Interconnection of Lots of Links,简称为TRILL)是国际标准的协议,该协议是多年逐步演变而来,将三层路由技术应用于二层传输,实现大规模二层云,满足日益增长的融合网络或超大型数据中心要求,构建一个优良而高效的二层广播域。TRILL使用终端地址交互协议(End Station Address Distribution Information,简称为ESADI)作为其一种可选协议完成端地址媒体接入控制(Media Access Control,简称为MAC)地址的学习。
ESADI是一种由中间系统到中间系统(Intermediate System to Intermediate System,简称为ISIS)衍化而来的端地址学习可选协议,但是具有相比流学习方式的更高优先级。ESADI协议通过TRILL协议的链路状态协议数据包(Label Switched Path,简称为LSP)交互协商,建立ESADI邻居后,每一个路由网桥(Routing Bridge,简称为RB)都产生ESADI的链路状态协议数据包(LSP)携带自己所可以到达的端地址,即MAC地址,并发送到网络中。只有将自己作为邻居的RB(路由网桥),才会保存其ESADI的链路状态协议数据包(LSP)报文,形成链路状态数据库(Link State DataBase,简称为LSDB)。这样,这个RB就学习到ESADI邻居的端地址,即MAC地址。最终学习到的是TRILL的MAC地址表项就是<MAC;nickname>,表示本地(native)以太帧如果需要发送至这个MAC,可以选择TRILL单播发送至代号(nickname)的RB。
本地(native)多归接入是一种数据中心中非常常见的网络部署场景,终端通过两条或者两条以上的链路接入网络,形成一组多归链路接入的设备上的接口认为加入了同一链路聚合组,这些设备认为是同一链路聚合组内的成员设备。对于TRILL网络,终端通过多条链路通过多个连接路由网桥(ingress  RB)接入到TRILL网络,这些上行链路和ingress RB组成一个多归组,RB设备上运行了链路聚合协议。由于终端发出的报文可能会由多归组中的不同的RB进行封装,这样远端的出口RB进行MAC学习的时候,由于同一MAC只能学习到一个叠加网络设备标识的映射,会出现MAC表项的连接代号(Ingress-Nickname)频繁翻动(称为flip-flop),造成MAC地址表的不稳定,甚至会引起返回流量的乱序与丢报,导致会话中断。
针对相关技术中,终端多归接入中MAC表项学习的flip-flop问题,目前还没有有效的解决方案。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本文提供了一种本地聚合链路处理方法及装置,以至少解决相关技术中终端多归接入中MAC表项学习的flip-flop问题。
根据本发明实施例的一个方面,提供了一种本地聚合链路处理方法,包括:
第一路由网桥RB在第一RB所属的虚拟局域网VLAN对应的终端地址交互协议ESADI实例中,接收所述虚拟网中的第二RB发布的第一链路状态数据包ESADI-LSP,其中,所述第一RB的第一接口和所述第二RB的第二接口用于将用户侧设备多归接入TRILL网络,其中,所述第一RB的第一接口和所述第二RB的第二接口绑定为第一多归聚合链路组,所述第一ESADI-LSP携带所述第二RB在所述第一多归聚合链路组的信息,所述信息包括:伪nickname和所述第一多归聚合链路组的组号;
依据所述第一RB的系统ID和所述第二RB的系统ID选举出指定RB,其中,所述指定RB依据所述第一多归聚合链路组的信息确定所述第一多归聚合链路组的共同伪nickname。
可选地,依据所述第一RB的系统标识ID和所述第二RB的系统ID选举出指定RB之后,所述方法还包括:所述第一RB和所述第二RB接收所述 用户侧设备发送的本地报文,将所述本地报文使用所述共同伪nickname作为源nickname进行TRILL数据报文封装发送。
可选地,所述方法还包括:所述第一RB在所述VLAN对应的ESADI实例中发布第二ESADI-LSP,其中,所述第二ESADI-LSP携带所述第一RB在所述第一多归聚合链路组的信息。
可选地,所述方法还包括:在所述第一RB和所述第二RB中选举出所述第一RB为所述指定RB的情况下,所述第一RB在与所述VLAN对应的ESADI实例中发布第三ESADI-LSP,其中,所述第三ESADI-LSP携带有用于指示指定RB为所述第一RB的指示信息和所述共同伪nickname信息。
可选地,所述方法还包括:在所述第一RB没有选举为所述第一多归聚合链路组的指定RB的情况下,所述第一RB不做任何操作。
可选地,携带所述第一多归聚合链路组的信息的方式包括:通过字节类型长度值TLV携带所述第一多归聚合链路组的信息,其中,所述TLV中的值携带聚合链路组的组号和伪nickname。
根据本发明实施例的另一方面,提供了一种本地聚合链路处理装置,设置在第一路由网桥RB中,包括:
接收模块,设置为:在所述第一RB所属的虚拟局域网VLAN对应的终端地址交互协议ESADI实例中,接收所述虚拟网中的第二RB发布的第一链路状态数据包ESADI-LSP,其中,所述第一RB的第一接口和所述第二RB的第二接口用于将用户侧设备多归接入TRILL网络,其中,所述第一RB的第一接口和所述第二RB的第二接口绑定为第一多归聚合链路组,所述第一ESADI-LSP携带所述第二RB在所述第一多归聚合链路组的信息,所述信息包括:伪nickname和所述第一多归聚合链路组的组号;
选举模块,设置为:依据所述第一RB的系统ID和所述第二RB的系统ID选举出指定RB,其中,所述指定RB依据所述第一多归聚合链路组的信息确定所述第一多归聚合链路组的共同nickname。
可选地,所述装置还包括:
转发模块,设置为:接收所述用户侧设备发送的本地报文,将所述本地 报文使用所述共同伪nickname作为源nickname进行TRILL数据报文封装发送。
可选地,所述装置还包括:
发布模块,设置为:在所述VLAN对应的ESADI实例中发布第二ESADI-LSP,其中,所述第二ESADI-LSP携带所述第一RB在所述第一多归聚合链路组的信息。
可选地,所述选举模块还包括:
发布单元,设置为:在所述第一RB和所述第二RB中选举出所述第一RB为所述指定RB的情况下,在与所述VLAN对应的ESADI实例中发布第三ESADI-LSP,其中,所述第三ESADI-LSP携带有用于指示指定RB为所述第一RB的指示信息和所述共同伪nickname信息。
可选地,所述选举模块还包括:
选举处理单元,设置为:在所述第一RB没有选举为所述第一多归聚合链路组的指定RB的情况下,确定所述第一RB不做任何操作。
可选地,携带所述第一多归聚合链路组的信息的方式包括:
通过字节类型长度值TLV携带所述第一多归聚合链路组的信息,其中,所述TLV中的值携带聚合链路组的组号和伪nickname。
根据本发明实施例的另一个方面,提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述方法。
通过本发明实施例,第一RB在VLAN对应的ESADI实例中接收第二RB发布的第一ESADI-LSP,依据第一RB和第二RB的系统ID选举出指定RB,其中,该指定RB依据该第一ESADI-LSP确定共同伪nickname,解决了针对相关技术中,终端多归接入中MAC表项学习的flip-flop的问题,进而实现了终端多归接入MAC表项正常学习。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1是根据本发明实施例的处理方法的流程图;
图2是根据本发明实施例的一种本地聚合链路处理装置的结构框图一;
图3是根据本发明实施例的一种本地聚合链路处理装置的结构框图二;
图4是根据本发明实施例的一种本地聚合链路处理装置的结构框图三;
图5是根据本发明实施例的一种本地聚合链路处理装置的结构框图四;
图6是根据本发明可选实施例的多归链路聚合组信息TLV图;
图7是根据本发明可选实施例的整体方案流程示意图;
图8是根据本发明可选实施例的整体方案流程示意图。
本发明的实施方式
下文中将参考附图并结合实施例来详细说明本发明的实施方式。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本文的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了处理方法,图1是根据本发明实施例的一种本地聚合链路的处理方法的流程图,如图1所示,该流程包括如下步骤:
步骤S102,第一RB在第一RB所属的VLAN对应的ESADI实例中,接收该虚拟网中的第二RB发布的第一ESADI-LSP,其中,该第一RB的第一接口和该第二RB的第二接口用于将用户侧设备多归接入TRILL网络,其中,该第一RB的第一接口和该第二RB的第二接口绑定为第一多归聚合链路组,该第一ESADI-LSP携带该第二RB在该第一多归聚合链路组的信息,该信息包括:伪nickname和该第一多归聚合链路组的组号;
步骤S104,依据第一RB的系统ID和第二RB的系统ID选举出指定RB,其中,该指定RB依据上述第一多归聚合链路组的信息确定该第一多归聚合链路组的共同nickname。
通过上述步骤,第一路由网桥RB在第一RB所属的虚拟局域网VLAN对应的终端地址交互协议ESADI实例中,接收该虚拟网中的第二RB发布的第一链路状态数据包ESADI-LSP,其中,该第一RB的第一接口和该第二RB的第二接口用于将用户侧设备多归接入TRILL网络,其中,该第一RB的第一接口和该第二RB的第二接口绑定为第一多归聚合链路组,该第一ESADI-LSP携带该第二RB在该第一多归聚合链路组的信息,该信息包括:伪nickname,该第一多归聚合链路组的组号;依据该第一RB的系统ID和该第二RB的系统ID选举出指定RB,其中,该指定RB依据该第一多归聚合链路组的信息确定该第一多归聚合链路组的共同伪nickname。因为终端多归接入中MAC表项学习发生的flip-flop问题,引起返回流量的乱序与丢报,导致会话中断,通过上述实施例解决了终端多归接入中MAC表项学习的flip-flop的问题,进而实现了终端多归接入MAC表项正常学习。
本实施例中,步骤S104之后,该方法还包括:所述第一RB和所述第二RB接收所述用户侧设备发送的本地报文,将所述本地报文使用所述共同伪nickname作为源nickname进行TRILL数据报文封装发送。
在本实施例中,还包括:上述第一RB在上述VLAN对应的ESADI实例中发布第二ESADI-LSP,其中,该第二ESADI-LSP携带该第一RB在该第一多归聚合链路组的信息。
在本实施例中,在该第一RB和该第二RB中选举出该第一RB为该指定RB的情况下,该第一RB在与该VLAN对应的ESADI实例中发布第三ESADI-LSP,其中,该第三ESADI-LSP携带有用于指示指定RB为该第一RB的指示信息和该共同伪nickname信息。
在本实施例中,在该第一RB没有选举为该第一多归聚合链路组的指定RB的情况下,该第一RB不做任何操作。
在本实施例中,携带该第一多归聚合链路组的信息的方式为通过字节类型长度值TLV携带该第一多归聚合链路组的信息,其中,该TLV中的值携带聚合链路组的组号和伪代号nickname。
在本实施例中还提供了一种本地聚合链路处理装置,在第一路由网桥RB中,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不 再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例的一种本地聚合链路处理装置的结构框图一,设置在第一路由网桥RB中,如图2所示,该装置包括:
接收模块22,设置为:在该第一RB所属的虚拟局域网VLAN对应的终端地址交互协议ESADI实例中,接收该虚拟网中的第二RB发布的第一链路状态数据包ESADI-LSP,其中,该第一RB的第一接口和该第二RB的第二接口用于将用户侧设备多归接入TRILL网络,其中,该第一RB的第一接口和该第二RB的第二接口绑定为第一多归聚合链路组,该第一ESADI-LSP携带该第二RB在该第一多归聚合链路组的信息,该信息包括:伪nickname和该第一多归聚合链路组的组号;
选举模块24,与接收模块22连接,设置为:依据该第一RB的系统ID和该第二RB的系统ID选举出指定RB,其中,该指定RB依据该第一多归聚合链路组的信息确定该第一多归聚合链路组的共同伪nickname。
接收模块22在该第一RB所属的虚拟局域网VLAN对应的终端地址交互协议ESADI实例中,接收该虚拟网中的第二RB发布的第一链路状态数据包ESADI-LSP,其中,该第一RB的第一接口和该第二RB的第二接口用于将用户侧设备多归接入TRILL网络,其中,该第一RB的第一接口和该第二RB的第二接口绑定为第一多归聚合链路组,该第一ESADI-LSP携带该第二RB在该第一多归聚合链路组的信息,该信息包括:伪nickname和该第一多归聚合链路组的组号,选举模块24依据该第一RB的系统ID和该第二RB的系统ID选举出指定RB,其中,该指定RB依据该第一多归聚合链路组的信息确定该第一多归聚合链路组的共同伪nickname,因为终端多归接入中MAC表项学习发生的flip-flop问题,引起返回流量的乱序与丢报,导致会话中断,通过上述实施例解决了终端多归接入中MAC表项学习的flip-flop的问题,进而实现了终端多归接入MAC表项正常学习。
图3是根据本发明实施例的一种本地聚合链路处理装置的结构框图二,如图3所示,除了图2的模块外,该装置还包括:
转发模块34,设置为:接收所述用户侧设备发送的本地报文,将所述本地报文使用所述共同伪nickname作为源nickname进行TRILL数据报文封装发送。
发布模块32,设置为:在该VLAN对应的ESADI实例中发布第二ESADI-LSP,其中,该第二ESADI-LSP携带该第一RB在该第一多归聚合链路组的信息。
图4是根据本发明实施例的一种本地聚合链路处理装置的结构框图三,如图4所示,选举模块24包括:
发布单元42,设置为:在该第一RB和该第二RB中选举出该第一RB为该指定RB的情况下,在与该VLAN对应的ESADI实例中发布第三ESADI-LSP,其中,该第三ESADI-LSP携带有用于指示指定RB为该第一RB的指示信息和该共同伪nickname信息。
图5是根据本发明实施例的一种本地聚合链路处理装置的结构框图四,如图5所示,选举模块24包括:
选举处理单元52,设置为:在该第一RB没有选举为该第一多归聚合链路组的指定RB的情况下,确定该第一RB不做任何操作。
下面结合可选实施例和实施方式对本申请进行详细说明。
本发明的可选实施例提供一种ESADI支持本地聚合链路组终端地址学习方法,要解决的技术问题是如何避免多归接入中MAC表项学习的flip-flop问题以及引发的流量问题,并可以实现到达目的MAC的负载分担。
技术方案如下:
1、如果第一RB(假设系统ID为1111.1111.1111)的第一接口上的一个VLAN x和第二RB(假设系统ID为2222.2222.2222)的第一接口上相同的VLAN x形成多归链路聚合组A,那么在第一RB的第一接口上绑定这个VLAN x属于多归链路聚合组A,表明第一RB第一接口在本VLAN x中属于多归链路聚合组A的成员。
2、如果第一RB(假设系统ID为1111.1111.1111)的第一接口上的一个VLAN x和第二RB(假设系统ID为2222.2222.2222)的第一接口上相同的 VLAN x形成了多归链路聚合组A之后,第一RB在此VLAN x对应的ESADI实例中通过ESADI-LSP发布多归链路聚合组信息,表明第一RB上本VLAN x中属于多归链路聚合组A。
3、在第一RB的VLAN x的ESADI实例中,在ESADI-LSP报文通过多归链路聚合组信息TLV发布多归链路聚合组信息。图6是根据本发明可选实施例的多归链路聚合组信息TLV图,如图6所示:多归链路聚合组(Multi-chassis Link Aggregation,MC-LAG)信息TLV包括一个字节类型(T,type),一个字节的长度(L,length)和值(V,value)。值(V,value)中包含多个聚合链路组ITEM,每一个聚合链路组ITEM由两个字节的聚合链路组号和伪nickname。聚合链路组号填写为聚合链路组A,伪nickname填写为0。一个多归链路聚合组信息TLV可以在ESADI-LSP报文中出现多次。
4、第二RB的第二接口上也绑定这个VLAN x属于多归链路聚合组A,在第二RB的VLAN x的ESADI实例中收到第一RB发布的ESADI-LSP,包含了聚合链路组信息表明同属于聚合链路组A。此时,第二RB就会进行聚合链路组A的指定RB选举,选举系统ID大的作为指定RB,即第二RB为此聚合链路组的指定RB。
5、聚合链路组指定RB即第二RB为此聚合链路组指定伪nickname a,在第二RB的VLAN x的ESADI实例中,也会在第二RB的ESADI-LSP报文中通过多归链路聚合组信息TLV发布多归链路聚合组信息。此时,聚合链路组信息TLV中的聚合链路组号为A,伪nickname为a。
6、在第一RB的VLAN x的ESADI实例中收到第二RB发布的ESADI-LSP,包含了聚合链路组信息表明同属于聚合链路组A,也会进行聚合链路组A的指定RB选举,选举系统ID大的作为指定RB,即仍然第二RB为此聚合链路组的指定RB,自己失败。接受其第二RB发布的伪nickname a为第一RB上聚合链路组A的伪nickname a。
与相关技术相比,本发明的实施例需要专门的控制平面协议的扩展,只需要在控制面携带相应的多归接入链路绑定标识,实现原理简单。
以下通过两个应用场景进一步描述本发明的方法实施例。
应用场景一:
图7是根据本发明可选实施例的整体方案流程示意图,如图7所示,边界第一RB的接口1和第二RB的接口2通过跨设备的链路捆绑,提供给客户侧设备1(即图7中的host 1)的多归接入,构成一个多归链路聚合组1。系统ID分别为1111.1111.1111,2222.2222.2222都属于一个本地接入VLAN 1内。
在客户侧设备多归接入TRILL网络时,多归接入边界RB的接口会有相应的多归行为感知,如第一RB的SYSTEM ID为1111.1111.1111,第二RB的SYSTEM ID为2222.2222.2222。通过手工配置方式,在第一RB的接口1配置为binding vlan1 aggregation 1,即绑定第一RB的接口1属于聚合链路组1。同时,在第二RB的接口1配置为binding vlan1 aggregation 1,即绑定第二RB的接口1属于聚合链路组1。
这时第一RB和第二RB将会在vlan1对应的ESADI实例1的ESADI-LSP发布多归链路聚合组信息,多归链路聚合组TLV中的多归链路聚合组号填写为1,伪nickname填写为0。此时没有确定聚合链路组1的指定RB,伪nickname填写为0。
在第一RB收到第二RB的发布的ESADI-LSP,包含了聚合链路组信息表明同属于聚合链路组1。此时,第一RB就会进行聚合链路组1的指定RB选举,选举系统ID大的作为指定RB,因为第二RB的system-ID为2222.2222.2222,即第二RB为此聚合链路组1的指定RB,第一RB不做任何操作。
在第二RB收到第一RB的发布的ESADI-LSP,包含了聚合链路组信息表明同属于聚合链路组1。此时,第二RB就会进行聚合链路组1的指定RB选举,选举系统ID大的作为指定RB,因为第二RB的system-ID为2222.2222.2222,即第二RB选举自己为此聚合链路组1的指定RB,并指定这个聚合链路组1的伪nickname为1。在vlan1对应的ESADI实例1的ESADI-LSP发布多归链路聚合组信息,更新其多归链路聚合组TLV中的多归链路聚合组号填写为1,伪nickname填写为1。
在第一RB再次收到第二RB的发布的ESADI-LSP,包含了聚合链路组 信息表明同属于聚合链路组1,并且发现是聚合链路组1的指定RB发送过来的,并且伪nickname为1。
这样,对于同属于聚合链路组1的第一RB和第二RB协商成功,并且确定了这个聚合链路组在TRILL中的共同伪nickname。这样,在第一RB和第二RB接口1上vlan1收到客户侧发送来的本地(native)报文,将会在TRILL网络中使用伪nickname作为自己的源nickname进行数据发送。
应用场景二:
图8是根据本发明可选实施例的整体方案流程示意图,如图8所示,边界第一RB的接口1和第二RB的接口2通过跨设备的链路捆绑,提供给客户侧设备1的多归接入,构成一个多归链路聚合组1。系统ID分别为1111.1111.1111,2222.2222.2222都属于一个本地接入VLAN 1内。在TRILL网络的另一侧存在RB3,客户侧设备2接入,system-ID为3333.3333.3333,其中接口1也属于VLAN1,并且在接口1上存在一个终端接入。
在客户侧设备多归接入TRILL网络时,多归接入边界RB的接口会有相应的多归行为感知,如第一RB的SYSTEM ID为1111.1111.1111,第二RB的SYSTEM ID为2222.2222.2222。通过手工配置方式,在第一RB的接口1配置为binding vlan1 aggregation 1,即绑定第一RB的接口1属于聚合链路组1。同时,在第二RB的接口1配置为binding vlan1 aggregation 1,即绑定第二RB的接口1属于聚合链路组1。RB3的接口1上没有在vlan1中进行相应的绑定配置。
这时第一RB和第二RB将会在vlan1对应的ESADI实例1的ESADI-LSP发布多归链路聚合组信息,多归链路聚合组TLV中的多归链路聚合组号填写为1,伪nickname填写为0。此时没有确定聚合链路组1的指定RB,伪nickname填写为0。最终,这样,对于同属于聚合链路组1的第一RB和第二RB协商成功,并且确定了这个聚合链路组在TRILL中的共同伪nickname。
RB3的VLAN1对应的ESADI实例在接收到第一RB和第二RB在ESADI-LSP后,自始自终都在忽略第一RB和第二RB在ESADI-LSP发布多归链路聚合组信息,因为自己并没有在这个VLAN1中存在多归链路聚合组1。
在第一RB和第二RB接口1上vlan1收到客户侧设备1发送给第二RB的接入设备2(即图8中的host 2)的本地(native)报文,将会在TRILL网络中使用伪nickname 1作为自己的源nickname进行TRILL数据报文封装发送。同时,第三RB(RB3)需要发送给第一RB和第二RB的接入设备1的本地(native)报文时,填写目的nickname为伪nickname 1进行TRILL数据报文封装发送。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
以上所述,仅为本发明的实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求所述的保护范围为准。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括多个指令用以 使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明实施例所述的方法。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行上述实施例的方法步骤的程序代码:
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等多种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例的方法步骤。
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明实施例的模块或步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的可选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有多种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
工业实用性
采用发明实施例,解决了针对相关技术中终端多归接入中MAC表项学习的flip-flop的问题,进而实现了终端多归接入MAC表项正常学习。

Claims (10)

  1. 一种本地聚合链路处理方法,包括:
    第一路由网桥RB在第一RB所属的虚拟局域网VLAN对应的终端地址交互协议ESADI实例中,接收所述虚拟网中的第二RB发布的第一链路状态数据包ESADI-LSP,其中,所述第一RB的第一接口和所述第二RB的第二接口用于将用户侧设备多归接入多链路透明传输协议TRILL网络,其中,所述第一RB的第一接口和所述第二RB的第二接口绑定为第一多归聚合链路组,所述第一ESADI-LSP携带所述第二RB在所述第一多归聚合链路组的信息,所述信息包括:伪代号nickname和所述第一多归聚合链路组的组号;
    依据所述第一RB的系统标识ID和所述第二RB的系统ID选举出指定RB,其中,所述指定RB依据所述第一多归聚合链路组的信息确定所述第一多归聚合链路组的共同伪nickname。
  2. 根据权利要求1所述的方法,其中,依据所述第一RB的系统标识ID和所述第二RB的系统ID选举出指定RB之后,所述方法还包括:
    所述第一RB和所述第二RB接收所述用户侧设备发送的本地报文,将所述本地报文使用所述共同伪nickname作为源nickname进行TRILL数据报文封装发送。
  3. 根据权利要求1所述的方法,所述方法还包括:
    所述第一RB在所述VLAN对应的ESADI实例中发布第二ESADI-LSP,其中,所述第二ESADI-LSP携带有所述第一RB在所述第一多归聚合链路组的信息。
  4. 根据权利要求1所述的方法,所述方法还包括:
    在所述第一RB和所述第二RB中选举出所述第一RB为所述指定RB的情况下,所述第一RB在与所述VLAN对应的ESADI实例中发布第三ESADI-LSP,其中,所述第三ESADI-LSP携带有用于指示指定RB为所述第一RB的指示信息和所述共同伪nickname信息。
  5. 根据权利要求1至4任一项所述的方法,其中,携带所述第一多归聚合链路组的信息的方式包括:
    通过字节类型长度值TLV携带所述第一多归聚合链路组的信息,其中,所述TLV中的值携带聚合链路组的组号和伪nickname。
  6. 一种本地聚合链路处理装置,设置在第一路由网桥RB中,包括:
    接收模块,设置为:在所述第一RB所属的虚拟局域网VLAN对应的终端地址交互协议ESADI实例中,接收所述虚拟网中的第二RB发布的第一链路状态数据包ESADI-LSP,其中,所述第一RB的第一接口和所述第二RB的第二接口用于将用户侧设备多归接入TRILL网络,其中,所述第一RB的第一接口和所述第二RB的第二接口绑定为第一多归聚合链路组,所述第一ESADI-LSP携带所述第二RB在所述第一多归聚合链路组的信息,所述信息包括:伪代号nickname和所述第一多归聚合链路组的组号;
    选举模块,设置为:依据所述第一RB的系统ID和所述第二RB的系统ID选举出指定RB,其中,所述指定RB依据所述第一多归聚合链路组的信息确定所述第一多归聚合链路组的共同伪nickname。
  7. 根据权利要求6所述的装置,所述装置还包括:
    转发模块,设置为:接收所述用户侧设备发送的本地报文,将所述本地报文使用所述共同伪nickname作为源nickname进行TRILL数据报文封装发送。
  8. 根据权利要求6所述的装置,所述装置还包括:
    发布模块,设置为:在所述VLAN对应的ESADI实例中发布第二ESADI-LSP,其中,所述第二ESADI-LSP携带所述第一RB在所述第一多归聚合链路组的信息。
  9. 根据权利要求6所述的装置,其中,所述选举模块还包括:
    发布单元,设置为:在所述第一RB和所述第二RB中选举出所述第一RB为所述指定RB的情况下,在与所述VLAN对应的ESADI实例中发布第三ESADI-LSP,其中,所述第三ESADI-LSP携带有用于指示指定RB为所述第一RB的指示信息和所述共同伪nickname信息。
  10. 根据权利要求6至9任一项所述的装置,其中,携带所述第一多归聚合链路组的信息的方式包括:
    通过字节类型长度值TLV携带所述第一多归聚合链路组的信息,其中,所述TLV中的值携带聚合链路组的组号和伪nickname。
PCT/CN2016/089811 2016-01-04 2016-07-12 本地聚合链路处理方法及装置 WO2017117958A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610005053.1A CN106941446A (zh) 2016-01-04 2016-01-04 本地聚合链路处理方法及装置
CN201610005053.1 2016-01-04

Publications (1)

Publication Number Publication Date
WO2017117958A1 true WO2017117958A1 (zh) 2017-07-13

Family

ID=59273108

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089811 WO2017117958A1 (zh) 2016-01-04 2016-07-12 本地聚合链路处理方法及装置

Country Status (2)

Country Link
CN (1) CN106941446A (zh)
WO (1) WO2017117958A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694714A (zh) * 2011-03-21 2012-09-26 华为技术有限公司 Trill网络中发送报文的方法、装置、系统以及非转发网桥
US20130259050A1 (en) * 2010-11-30 2013-10-03 Donald E. Eastlake, III Systems and methods for multi-level switching of data frames
CN103428088A (zh) * 2012-05-14 2013-12-04 中兴通讯股份有限公司 一种树根分配、报文处理的方法及路由网桥
CN103973471A (zh) * 2013-01-31 2014-08-06 中兴通讯股份有限公司 一种trill分发树故障的通告方法和装置
CN104426778A (zh) * 2013-09-03 2015-03-18 华为技术有限公司 路由更新方法和路由设备
WO2015117413A1 (zh) * 2014-07-24 2015-08-13 中兴通讯股份有限公司 Esadi的mac地址通告方法、装置及获取装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8446914B2 (en) * 2010-06-08 2013-05-21 Brocade Communications Systems, Inc. Method and system for link aggregation across multiple switches
CN102075446A (zh) * 2011-03-01 2011-05-25 杭州华三通信技术有限公司 多链接透明互联网络异地互联方法及运营商边缘设备
CN103944818B (zh) * 2013-01-23 2018-08-28 中兴通讯股份有限公司 一种多归接入叠加网络中报文处理的方法和系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130259050A1 (en) * 2010-11-30 2013-10-03 Donald E. Eastlake, III Systems and methods for multi-level switching of data frames
CN102694714A (zh) * 2011-03-21 2012-09-26 华为技术有限公司 Trill网络中发送报文的方法、装置、系统以及非转发网桥
CN103428088A (zh) * 2012-05-14 2013-12-04 中兴通讯股份有限公司 一种树根分配、报文处理的方法及路由网桥
CN103973471A (zh) * 2013-01-31 2014-08-06 中兴通讯股份有限公司 一种trill分发树故障的通告方法和装置
CN104426778A (zh) * 2013-09-03 2015-03-18 华为技术有限公司 路由更新方法和路由设备
WO2015117413A1 (zh) * 2014-07-24 2015-08-13 中兴通讯股份有限公司 Esadi的mac地址通告方法、装置及获取装置

Also Published As

Publication number Publication date
CN106941446A (zh) 2017-07-11

Similar Documents

Publication Publication Date Title
US11134006B2 (en) Loop conflict avoidance in a spine-and-leaf network topology
JP5996643B2 (ja) 強化された転送方法及びシステムと共にエッジルータ間で2つの疑似ワイヤを用いるeツリー
US8694664B2 (en) Active-active multi-homing support for overlay transport protocol
CN103905315B (zh) 传送网络中所用的路由信息的虚拟化和分发的方法、设备和系统
US20130259050A1 (en) Systems and methods for multi-level switching of data frames
US8982689B2 (en) Split tiebreakers for 802.1AQ
US20140115189A1 (en) Method and system for implementing elastic network interface and interconnection
US20160112255A1 (en) Pe device and method for advertising information about pe device
JP2017510137A (ja) データネットワークに最大冗長木(maximally redundant tree)をデプロイする方法およびシステム
WO2018090907A1 (zh) 报文转发
US20160134513A1 (en) Concerted Multi-Destination Forwarding in a Joint TRILL Fabric and VXLAN/IP Fabric Data Center
US8902794B2 (en) System and method for providing N-way link-state routing redundancy without peer links in a network environment
US8861339B2 (en) Packet forwarding function of a mobility switch deployed as routed SMLT (RSMLT) node
WO2017036163A1 (zh) 一种报文发送方法及系统
US9282006B2 (en) Method and system of enhancing multiple MAC registration protocol (MMRP) for protocol internetworking
US20130279513A1 (en) Systems and methods for pseudo-link creation
Hooda et al. Using Trill, FabricPath, and VXLAN: designing massively scalable data centers (MSDC) with overlays
WO2020244304A1 (zh) 路由信息发送的方法、路由选路的方法和装置
CN109309619A (zh) 一种域间二维路由协议的实现方法及装置
WO2017117958A1 (zh) 本地聚合链路处理方法及装置
WO2015117413A1 (zh) Esadi的mac地址通告方法、装置及获取装置
US11936559B2 (en) Fast receive re-convergence of multi-pod multi-destination traffic in response to local disruptions
CN108259292A (zh) 建立隧道的方法及装置
WO2023016550A1 (zh) 一种路由发送方法及设备

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

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

Country of ref document: EP

Kind code of ref document: A1