WO2014121702A1 - Processing nickname conflict in trill network - Google Patents

Processing nickname conflict in trill network Download PDF

Info

Publication number
WO2014121702A1
WO2014121702A1 PCT/CN2014/071448 CN2014071448W WO2014121702A1 WO 2014121702 A1 WO2014121702 A1 WO 2014121702A1 CN 2014071448 W CN2014071448 W CN 2014071448W WO 2014121702 A1 WO2014121702 A1 WO 2014121702A1
Authority
WO
WIPO (PCT)
Prior art keywords
lsp
nickname
determining
priority
conflict
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2014/071448
Other languages
French (fr)
Inventor
Wenyu ZOU
Jin Qu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to US14/764,504 priority Critical patent/US9544218B2/en
Publication of WO2014121702A1 publication Critical patent/WO2014121702A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

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/02Topology update or discovery
    • 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
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/557Error correction, e.g. fault recovery or fault tolerance

Definitions

  • TRILL Transparent Interconnection of Lots of Links
  • L2 Layer 2
  • IETF Internet Engineering Task Force
  • STP Spanning Tree Protocol
  • a device running TRILL protocol is called a Routing Bridge (RB), and each RB has a unique nickname.
  • the first RB that a unicast frame encounters in a campus in the TRILL network encapsulates the frame with a TRILL header that specifies the last RB where the frame is decapsulated.
  • a dynamic nickname acquisition protocol is run among the RBs to select 2-octet nicknames for RBs. The nicknames are used to specify the ingress and egress RBs in the TRILL header.
  • Figure 1 is a flowchart illustrating a method for processing a nickname conflict in a TRILL network according to an example of the present disclosure.
  • Figure 2 is a flowchart illustrating a method for processing a nickname conflict in a TRILL network according to another example of the present disclosure.
  • Figure 3 is a diagram illustrating the structure of a device for processing a nickname conflict in a TRILL network according to an example of the present disclosure.
  • Figure 4 is a diagram illustrating the structure of a device for processing a nickname conflict in a TRILL network according to another example of the present disclosure.
  • Figure 1 is a flowchart illustrating a method 100 for processing a nickname conflict in a TRILL network according to an example of the present disclosure.
  • a first RB receives a link state packet (LSP) from a second RB.
  • LSP link state packet
  • the first RB determines, according to the received LSP, whether a nickname conflict occurs between the first RB and the second RB.
  • the LSP for example includes the nickname of the second RB.
  • a conflict occurs for example if the first RB and the second RB have the same nickname.
  • the first RB determines whether the first RB is a lower priority RB through comparing information of the first RB with information contained in the LSP. Examples of determining a lower priority RB are described below.
  • the first RB broadcasts the LSP received from the second RB in response to determining the first RB is a lower priority RB of the first and second RBs.
  • the first RB modifies its nickname if it receives another LSP from the second RB within a predefined period of time.
  • the first RB keeps its nickname unchanged if it does not receive another LSP from the second RB within the predefined period of time.
  • the process for determining whether the first RB is the lower priority RB through comparing the information of the first RB with the information contained in the LSP may be implemented as follows.
  • the first RB determines priorities of the first RB and the second RB.
  • the priority is the priority of the nickname.
  • priorities may be assigned by a system administrator or machine.
  • a priority may be adjusted over time.
  • an RB may increase its nickname priority after holding the same nickname for a period of time.
  • the nicknames and their priorities may be distributed through a dynamic nickname acquisition protocol.
  • the TRILL protocol specifies that the nickname selection protocol may be piggybacked on TRILL IS-IS using an IS-IS TLV (type-length-value data element) along with a priority of use value, which specifies the priority of the nickname.
  • An RB that has been configured with one or more nickname values may have a higher priority for those nickname values over all RBs with non-configured nicknames.
  • the first RB receives the LSP of the second RB and determines the priority of the second RB, which may be stored by the first RB along with the nickname of the second RB.
  • the first RB compares the priorities of the first and second RBs to determine which one is higher.
  • a predetermined scale of priorities e.g., in a simplistic example, the scale is low, medium, high
  • the first RB can determine which RB has a higher priority on the scale.
  • the first RB determines that it has a lower priority on the scale than the second RB
  • the first RB determines that it is a loser (i.e., the lower priority RB of the first RB and the second RB) which may invoke other operations to resolve nickname conflict and network instability.
  • the nickname of the first RB may be changed.
  • the first RB and the second RB may have the same priority.
  • the first RB determines the priorities of the first and second RB and determines the priorities are the same.
  • the first RB determines whether a system identity of the first RB is smaller (e.g., lower) than a system identity of the second RB contained in the LSR
  • the system ID for example is the unique IS-IS system ID (e.g., six-octet) of an RB in a campus in the TRILL network.
  • the nickname is provided for the system ID.
  • the first RB determines that it is the lower priority RB.
  • Figure 2 is a flowchart illustrating a method 200 for processing a nickname conflict in a TRILL network according to another example of the present disclosure.
  • a first RB receives an LSP from a second RB.
  • each of the RBs in the TRILL network periodically sends an LSP, so as to provide topology information.
  • Any RB receiving the LSP updates its Link State Data Base (LSDB) with information in the received LSP, and checks whether a nickname conflict occurs.
  • LSDB Link State Data Base
  • the first RB determines, according to the received LSP, whether a nickname conflict occurs between the first RB and the second RB. In response to determining the nickname conflict occurs between the first RB and the second RB, block 203 is performed. If the nickname conflict does not occur between the first RB and the second RB, block 209 is performed.
  • the process for determining, according to the received LSP, whether the nickname conflict occurs between the first RB and the second RB may be implemented as follows. If the nickname of the second RB contained in the LSP is the same as the nickname of the first RB, the first RB determines that the nickname conflict occurs. If the nickname of the second RB contained in the LSP is different from the nickname of the first RB, the first RB determines that no nickname conflict occurs.
  • the first RB compares the priority of the first RB with the priority of the second RB. In response to determining the priority of the first RB is lower than the priority of the second RB, block 205 is performed. In response to determining the priority of the first RB is the same as the priority of the second RB, block 204 is performed. In response to determining the priority of the first RB is higher than the priority of the second RB, block 209 is performed.
  • the priority refers to priority of the nickname of the RB.
  • the first RB determines whether a system identity of the first RB is smaller than a system identity of the second RB. In response to determining the system identity of the first RB is smaller than the system identity of the second RB, block 205 is performed. In response to determining the system identity of the first RB is not smaller than a system identity of the second RB, block 209 is performed.
  • the first RB broadcasts the LSP received from the second RB.
  • the first RB determines whether the second RB is in the same TRILL network or the same campus as the first RB in the TRILL network. In response to determining the second RB is in the TRILL network or campus, the first RB modifies its nickname.
  • the first RB adds 1 to a sequence number of the LSP received from the second RB at block 201 , and broadcasts the modified LSP of the second RB.
  • the first RB records the sequence number of the broadcasted LSP.
  • the first RB determines whether the first RB receives another LSP from the second RB within a predetermined period of time. In response to determining the first RB receives another LSP from the second RB within the predetermined period of time, block 207 is performed. In response to determining the first RB does not receive another LSP from the second RB within a predetermined period of time, block 208 is performed.
  • the second RB if the second RB receives its own LSP and the sequence number of the received LSP is larger than the sequence number of the previously sent LSP, the second RB immediately broadcasts an LSP.
  • the sequence number of the broadcasted LSP is larger than the sequence number of the received LSP.
  • the second RB immediately broadcasts another LSP if the second RB is still in the TRILL network. Accordingly, if the first RB receives another LSP from the second RB within the predefined period of time after broadcasting the modified LSP of the second RB, it is indicated that the second RB is still in the TRILL network.
  • the first RB determines whether the sequence number of the received another LSP is larger than the sequence number of the broadcasted LSP, thereby accurately determining whether the second RB is still in the TRILL network.
  • the first RB modifies its nickname.
  • the first RB finds that the second RB is still in the TRILL network through broadcasting the modified LSP of the second RB, the first RB modifies its nickname, thereby solving the nickname conflict.
  • the first RB keeps its nickname unchanged, and broadcasts an LSP for aging for the second RB.
  • the first RB finds that the second RB is not in the TRILL network through broadcasting the modified LSP of the second RB, the first RB keeps its nickname unchanged.
  • the first RB sends the LSP for aging for the second RB, and thus each RB in the TRILL network removes the LSP of the second RB from the LSDB according to the LSP for aging.
  • the live time of the LSP for aging is 0.
  • Figure 3 is a diagram illustrating the structure of a device for processing a nickname conflict in a TRILL network according to an example of the present disclosure.
  • the device may be applied to a RB, referred to as a first RB.
  • the device includes a receiving module 301 , a conflict checking module 302, a conflict processing module 303 and a sending module 304.
  • the receiving module 301 receives an LSP from a second RB.
  • the conflict checking module 302 determines, according to the LSP received by the receiving module 301 , whether a nickname conflict occurs between the first RB and the second RB.
  • the conflict processing module 303 determines whether the first RB is a lower priority RB through comparing information of the first RB with information contained in the LSP. In response to determining the first RB is a lower priority RB, the conflict processing module 303 notifies the sending module 304 to broadcast the LSP received from the second RB. In response to determining the receiving module 301 receives another LSP from the second RB within a predefined period of time, the conflict processing module 303 modifies the nickname of the first RB. If the receiving module 301 does not receive another LSP from the second RB within the predefined period of time, the conflict processing module 303 keeps the nickname of the first RB unchanged.
  • the conflict processing module 303 determines whether the priority of the first RB is lower than the priority of the second RB contained in the LSP. In response to determining the priority of the first RB is lower than the priority of the second RB, the conflict processing module 303 determines that the first RB is the lower priority RB.
  • the conflict processing module 303 is to determine whether the priority of the first RB is lower than the priority of the second RB contained in the LSP. In response to determining the priority of the first RB is the same as the priority of the second RB, the conflict processing module 303 is to determine whether a system identity of the first RB is smaller than a system identity of the second RB contained in the LSP. In response to determining the system identity of the first RB is smaller than the system identity of the second RB, the conflict processing module 303 is to determine that the first RB is the lower priority RB.
  • the conflict checking module 302 is to determine that nickname conflict occurs. In response to determining the nickname of the second RB contained in the LSP received by the receiving module 301 is different from the nickname of the first RB, the conflict checking module 302 is to determine that no nickname conflict occurs.
  • the sending module 304 After receiving the notification of the conflict processing module 303, the sending module 304 is to add 1 to a sequence number of the LSP received by the receiving module 301 , and broadcast the modified LSP.
  • the sending module 304 is further to record the sequence number of the broadcasted LSP in response to broadcasting the modified LSP.
  • the conflict processing module 303 determines whether the sequence number of another LSP received by the receiving module 301 within the predefined period of time is larger than the recorded sequence number. In response to determining the sequence number of another LSP received by the receiving module 301 within the predefined period of time is larger than the recorded sequence number, the conflict processing module 303 modifies the nickname of the first RB. In response to determining the sequence number of another LSP received by the receiving module 301 within the predefined period of time is not larger than the recorded sequence number, the conflict processing module 303 keeps the nickname of the first RB unchanged.
  • the conflict processing module 303 is further to notify the sending module 304 to broadcast an LSP for aging for the second RB. In this way, each of RBs in the TRILL network removes the LSP of the second RB from the LSDB.
  • Figure 4 is a diagram illustrating the structure of a device for processing a nickname conflict.
  • the device may be a device in the network.
  • the device may be a layer 2 network switch.
  • the device may be an RB in a TRILL network, such as the first RB or the second RB described in the examples above.
  • the device at least includes a memory 401 and a processor 402 communicating with the memory 401 .
  • the memory 401 for example stores machine readable instructions that are executed to perform the method 100 and 200 and other functions described herein.
  • the machine readable instructions for example include receiving instructions 410, conflict checking instructions 411 , conflict processing instructions 412 and sending instructions 413 which can be executed by the processor 402.
  • the instructions shown in figure 4 may embody the modules shown in figure 3.
  • the memory 401 for example is a non-transitory computer storage readable medium.
  • the device may include multiple storage mediums, including non-transitory storage 420, a forwarding chip 422 and other hardware 421 .
  • the receiving instructions 410 are executed to receive LSPs from RBs.
  • the conflict checking instructions 411 determine, according to the received LSPs, whether any nickname conflict occurs between RBs. Examples of conflict checking are described in the methods above.
  • the conflict processing instructions 412 determine RB priorities and determine whether a first RB has a lower priority than a second RB sending an LSR Furthermore, the conflict processing instructions 412 can invoke and/or execute operations to rectify nickname conflicts such as described in the methods above.
  • the sending instructions 413 send LSPs. For example, if the first RB is a loser (e.g., lower priority RB), he sending instruction 413 broadcast the LSP received from the second RB In another example, the sending instructions 413 to add 1 to a sequence number of the LSP received by the receiving instruction, and broadcast the modified LSP.
  • the sending instruction is further to record the sequence number of the broadcasted LSP in response to broadcasting the modified LSP.
  • the conflict processing instruction is further to determine whether the sequence number of another LSP received by the receiving instruction within the predefined period of time is larger than the recorded sequence number. In response to determining the sequence number of another LSP received by the receiving instruction within the predefined period of time is larger than the recorded sequence number, the conflict processing instruction is to modify the nickname of the first RB. In response to determining the sequence number of another LSP received by the receiving instruction within the predefined period of time is larger than the recorded sequence number, the conflict processing instruction is to keep the nickname of the first RB unchanged.
  • the conflict processing instruction is further to notify the sending instruction to broadcast an LSP for aging for the second RB.
  • each of RBs in the TRILL network removes the LSP of the second RB from the LSDB.
  • the first RB determines whether the second RB is still in the TRILL network through broadcasting the LSP received from the second RB. In response to determining the second RB is not in the TRILL network, the first RB keeps its nickname unchanged, thereby avoiding the temporary interruption of data traffic forwarding and the recalculation of large number of routing items, and further ensuring the stability of the TRILL network.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

A first routing bridge (RB) according to an example determines whether there is a nickname conflict between nicknames of the first RB and a second RB. If there is a nickname conflict, the first RB determines whether it is a lower priority RB and may modify its nickname if it is lower priority and based on a broadcast of link state packet from the second RB.

Description

PROCESSING NICKNAME CONFLICT IN TRILL NETWORK
BACKGROUND
[0001 ] Transparent Interconnection of Lots of Links (TRILL) is a Layer 2 (L2) network standard recommended by Internet Engineering Task Force (IETF), and may make up for the lack of Spanning Tree Protocol (STP) in a large data center.
[0002] In a TRILL network, a device running TRILL protocol is called a Routing Bridge (RB), and each RB has a unique nickname. The first RB that a unicast frame encounters in a campus in the TRILL network encapsulates the frame with a TRILL header that specifies the last RB where the frame is decapsulated. To save room in the TRILL header and simplify forwarding lookups, a dynamic nickname acquisition protocol is run among the RBs to select 2-octet nicknames for RBs. The nicknames are used to specify the ingress and egress RBs in the TRILL header.
BRIEF DESCRIPTION OF THE DRAWINGS
[0003] Features of the present disclosure are illustrated by way of example and not limited in the following figure(s), in which like numerals indicate like elements, in which:
[0004] Figure 1 is a flowchart illustrating a method for processing a nickname conflict in a TRILL network according to an example of the present disclosure.
[0005] Figure 2 is a flowchart illustrating a method for processing a nickname conflict in a TRILL network according to another example of the present disclosure.
[0006] Figure 3 is a diagram illustrating the structure of a device for processing a nickname conflict in a TRILL network according to an example of the present disclosure.
[0007] Figure 4 is a diagram illustrating the structure of a device for processing a nickname conflict in a TRILL network according to another example of the present disclosure. DETAILED DESCRIPTION
[0008] For simplicity and illustrative purposes, the present disclosure is described by referring mainly to an example thereof. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be readily apparent however, that the present disclosure may be practiced without limitation to these specific details. In other instances, some methods and structures have not been described in detail so as not to unnecessarily obscure the present disclosure. Throughout the present disclosure, the terms "a" and "an" are intended to denote at least one of a particular element. As used herein, the term "includes" means includes but not limited to, the term "including" means including but not limited to. The term "based on" means based at least in part on.
[0009] Figure 1 is a flowchart illustrating a method 100 for processing a nickname conflict in a TRILL network according to an example of the present disclosure.
[0010] At block 101 , a first RB receives a link state packet (LSP) from a second RB.
[0011 ] At block 102, the first RB determines, according to the received LSP, whether a nickname conflict occurs between the first RB and the second RB. The LSP for example includes the nickname of the second RB. A conflict occurs for example if the first RB and the second RB have the same nickname.
[0012] At block 103, in response to determining that the nickname conflict occurs between the first RB and the second RB, the first RB determines whether the first RB is a lower priority RB through comparing information of the first RB with information contained in the LSP. Examples of determining a lower priority RB are described below.
[0013] At block 104, the first RB broadcasts the LSP received from the second RB in response to determining the first RB is a lower priority RB of the first and second RBs.
[0014] At block 105, the first RB modifies its nickname if it receives another LSP from the second RB within a predefined period of time.
[0015] At block 106, the first RB keeps its nickname unchanged if it does not receive another LSP from the second RB within the predefined period of time.
[0016] In an example, the process for determining whether the first RB is the lower priority RB through comparing the information of the first RB with the information contained in the LSP may be implemented as follows. The first RB determines priorities of the first RB and the second RB. The priority is the priority of the nickname. For example, priorities may be assigned by a system administrator or machine. A priority may be adjusted over time. For example, an RB may increase its nickname priority after holding the same nickname for a period of time. The nicknames and their priorities may be distributed through a dynamic nickname acquisition protocol. The TRILL protocol specifies that the nickname selection protocol may be piggybacked on TRILL IS-IS using an IS-IS TLV (type-length-value data element) along with a priority of use value, which specifies the priority of the nickname. An RB that has been configured with one or more nickname values may have a higher priority for those nickname values over all RBs with non-configured nicknames.
[0017] The first RB receives the LSP of the second RB and determines the priority of the second RB, which may be stored by the first RB along with the nickname of the second RB. The first RB compares the priorities of the first and second RBs to determine which one is higher. In one example, a predetermined scale of priorities (e.g., in a simplistic example, the scale is low, medium, high) may be known to the RBs and used to prioritize the RBs, so the first RB can determine which RB has a higher priority on the scale. Also, if the first RB determines that it has a lower priority on the scale than the second RB, the first RB determines that it is a loser (i.e., the lower priority RB of the first RB and the second RB) which may invoke other operations to resolve nickname conflict and network instability. For example, the nickname of the first RB may be changed.
[0018] The first RB and the second RB may have the same priority. For example, the first RB determines the priorities of the first and second RB and determines the priorities are the same. In response to determining the priority of the first RB is the same as the priority of the second RB, the first RB determines whether a system identity of the first RB is smaller (e.g., lower) than a system identity of the second RB contained in the LSR The system ID for example is the unique IS-IS system ID (e.g., six-octet) of an RB in a campus in the TRILL network. The nickname is provided for the system ID. In response to determining the system identity of the first RB is smaller than the system identity of the second RB, the first RB determines that it is the lower priority RB.
[0019] Figure 2 is a flowchart illustrating a method 200 for processing a nickname conflict in a TRILL network according to another example of the present disclosure.
[0020] At block 201 , a first RB receives an LSP from a second RB.
[0021 ] For example, each of the RBs in the TRILL network periodically sends an LSP, so as to provide topology information. Any RB receiving the LSP updates its Link State Data Base (LSDB) with information in the received LSP, and checks whether a nickname conflict occurs.
[0022] At block 202, the first RB determines, according to the received LSP, whether a nickname conflict occurs between the first RB and the second RB. In response to determining the nickname conflict occurs between the first RB and the second RB, block 203 is performed. If the nickname conflict does not occur between the first RB and the second RB, block 209 is performed.
[0023] In an example, the process for determining, according to the received LSP, whether the nickname conflict occurs between the first RB and the second RB may be implemented as follows. If the nickname of the second RB contained in the LSP is the same as the nickname of the first RB, the first RB determines that the nickname conflict occurs. If the nickname of the second RB contained in the LSP is different from the nickname of the first RB, the first RB determines that no nickname conflict occurs.
[0024] At block 203, the first RB compares the priority of the first RB with the priority of the second RB. In response to determining the priority of the first RB is lower than the priority of the second RB, block 205 is performed. In response to determining the priority of the first RB is the same as the priority of the second RB, block 204 is performed. In response to determining the priority of the first RB is higher than the priority of the second RB, block 209 is performed.
[0025] The priority refers to priority of the nickname of the RB.
[0026] At block 204, the first RB determines whether a system identity of the first RB is smaller than a system identity of the second RB. In response to determining the system identity of the first RB is smaller than the system identity of the second RB, block 205 is performed. In response to determining the system identity of the first RB is not smaller than a system identity of the second RB, block 209 is performed.
[0027] At block 205, the first RB broadcasts the LSP received from the second RB.
[0028] If the priority of the first RB is lower than the priority of the second RB, or the priority of the first RB is the same as the priority of the second RB and the system identity of the first RB is smaller than the system identity of the second RB, the first RB determines whether the second RB is in the same TRILL network or the same campus as the first RB in the TRILL network. In response to determining the second RB is in the TRILL network or campus, the first RB modifies its nickname.
[0029] For example, the first RB adds 1 to a sequence number of the LSP received from the second RB at block 201 , and broadcasts the modified LSP of the second RB. In response to the first RB broadcasting the modified LSP, the first RB records the sequence number of the broadcasted LSP.
[0030] At block 206, the first RB determines whether the first RB receives another LSP from the second RB within a predetermined period of time. In response to determining the first RB receives another LSP from the second RB within the predetermined period of time, block 207 is performed. In response to determining the first RB does not receive another LSP from the second RB within a predetermined period of time, block 208 is performed.
[0031 ] In an implementation, if the second RB receives its own LSP and the sequence number of the received LSP is larger than the sequence number of the previously sent LSP, the second RB immediately broadcasts an LSP. The sequence number of the broadcasted LSP is larger than the sequence number of the received LSP.
[0032] And thus, after the first RB broadcasts the modified LSP of the second RB, the second RB immediately broadcasts another LSP if the second RB is still in the TRILL network. Accordingly, if the first RB receives another LSP from the second RB within the predefined period of time after broadcasting the modified LSP of the second RB, it is indicated that the second RB is still in the TRILL network.
[0033] If the first RB receives another LSP from the second RB within the predefined period of time after broadcasting the modified LSP of the second RB, the first RB determines whether the sequence number of the received another LSP is larger than the sequence number of the broadcasted LSP, thereby accurately determining whether the second RB is still in the TRILL network.
[0034] At block 207, the first RB modifies its nickname.
[0035] If the first RB finds that the second RB is still in the TRILL network through broadcasting the modified LSP of the second RB, the first RB modifies its nickname, thereby solving the nickname conflict.
[0036] At block 208, the first RB keeps its nickname unchanged, and broadcasts an LSP for aging for the second RB.
[0037] If the first RB finds that the second RB is not in the TRILL network through broadcasting the modified LSP of the second RB, the first RB keeps its nickname unchanged. In order to make all RBs in the TRILL network accurately calculate routing information, the first RB sends the LSP for aging for the second RB, and thus each RB in the TRILL network removes the LSP of the second RB from the LSDB according to the LSP for aging. The live time of the LSP for aging is 0.
[0038] At block 209, the flowchart of processing the nickname conflict ends.
[0039] The foregoing describes the method for processing the nickname conflict in the TRILL network. A device for processing a nickname conflict in the TRILL network is illustrated with reference to an example.
[0040] Figure 3 is a diagram illustrating the structure of a device for processing a nickname conflict in a TRILL network according to an example of the present disclosure. The device may be applied to a RB, referred to as a first RB. The device includes a receiving module 301 , a conflict checking module 302, a conflict processing module 303 and a sending module 304.
[0041 ] The receiving module 301 receives an LSP from a second RB.
[0042] The conflict checking module 302 determines, according to the LSP received by the receiving module 301 , whether a nickname conflict occurs between the first RB and the second RB.
[0043] In response to the conflict checking module 302 determines that the nickname conflict occurs between the first RB and the second RB, the conflict processing module 303 determines whether the first RB is a lower priority RB through comparing information of the first RB with information contained in the LSP. In response to determining the first RB is a lower priority RB, the conflict processing module 303 notifies the sending module 304 to broadcast the LSP received from the second RB. In response to determining the receiving module 301 receives another LSP from the second RB within a predefined period of time, the conflict processing module 303 modifies the nickname of the first RB. If the receiving module 301 does not receive another LSP from the second RB within the predefined period of time, the conflict processing module 303 keeps the nickname of the first RB unchanged.
[0044] In an example, the conflict processing module 303 determines whether the priority of the first RB is lower than the priority of the second RB contained in the LSP. In response to determining the priority of the first RB is lower than the priority of the second RB, the conflict processing module 303 determines that the first RB is the lower priority RB.
[0045] In an example, the conflict processing module 303 is to determine whether the priority of the first RB is lower than the priority of the second RB contained in the LSP. In response to determining the priority of the first RB is the same as the priority of the second RB, the conflict processing module 303 is to determine whether a system identity of the first RB is smaller than a system identity of the second RB contained in the LSP. In response to determining the system identity of the first RB is smaller than the system identity of the second RB, the conflict processing module 303 is to determine that the first RB is the lower priority RB. [0046] If the nickname of the second RB contained in the LSP received by the receiving module 301 is the same as the nickname of the first RB, the conflict checking module 302 is to determine that nickname conflict occurs. In response to determining the nickname of the second RB contained in the LSP received by the receiving module 301 is different from the nickname of the first RB, the conflict checking module 302 is to determine that no nickname conflict occurs.
[0047] After receiving the notification of the conflict processing module 303, the sending module 304 is to add 1 to a sequence number of the LSP received by the receiving module 301 , and broadcast the modified LSP.
[0048] The sending module 304 is further to record the sequence number of the broadcasted LSP in response to broadcasting the modified LSP.
[0049] After the receiving module 301 receives another LSP from the second RB within the predefined period of time and before the conflict processing module 303 modifies the nickname of the first RB, the conflict processing module 303 determines whether the sequence number of another LSP received by the receiving module 301 within the predefined period of time is larger than the recorded sequence number. In response to determining the sequence number of another LSP received by the receiving module 301 within the predefined period of time is larger than the recorded sequence number, the conflict processing module 303 modifies the nickname of the first RB. In response to determining the sequence number of another LSP received by the receiving module 301 within the predefined period of time is not larger than the recorded sequence number, the conflict processing module 303 keeps the nickname of the first RB unchanged.
[0050] After keeping the nickname of the first RB unchanged, the conflict processing module 303 is further to notify the sending module 304 to broadcast an LSP for aging for the second RB. In this way, each of RBs in the TRILL network removes the LSP of the second RB from the LSDB.
[0051 ] Figure 4 is a diagram illustrating the structure of a device for processing a nickname conflict. The device may be a device in the network. The device may be a layer 2 network switch. The device may be an RB in a TRILL network, such as the first RB or the second RB described in the examples above. As shown in Figure 4, the device at least includes a memory 401 and a processor 402 communicating with the memory 401 . The memory 401 for example stores machine readable instructions that are executed to perform the method 100 and 200 and other functions described herein. The machine readable instructions for example include receiving instructions 410, conflict checking instructions 411 , conflict processing instructions 412 and sending instructions 413 which can be executed by the processor 402. The instructions shown in figure 4 may embody the modules shown in figure 3. The memory 401 for example is a non-transitory computer storage readable medium. The device may include multiple storage mediums, including non-transitory storage 420, a forwarding chip 422 and other hardware 421 .
[0052] The receiving instructions 410 are executed to receive LSPs from RBs.
[0053] The conflict checking instructions 411 determine, according to the received LSPs, whether any nickname conflict occurs between RBs. Examples of conflict checking are described in the methods above. The conflict processing instructions 412 determine RB priorities and determine whether a first RB has a lower priority than a second RB sending an LSR Furthermore, the conflict processing instructions 412 can invoke and/or execute operations to rectify nickname conflicts such as described in the methods above. The sending instructions 413 send LSPs. For example, if the first RB is a loser (e.g., lower priority RB), he sending instruction 413 broadcast the LSP received from the second RB In another example, the sending instructions 413 to add 1 to a sequence number of the LSP received by the receiving instruction, and broadcast the modified LSP.
[0054] The sending instruction is further to record the sequence number of the broadcasted LSP in response to broadcasting the modified LSP.
[0055] After the receiving instruction receives another LSP from the second RB within the predefined period of time and before the conflict processing instruction modifies the nickname of the first RB, the conflict processing instruction is further to determine whether the sequence number of another LSP received by the receiving instruction within the predefined period of time is larger than the recorded sequence number. In response to determining the sequence number of another LSP received by the receiving instruction within the predefined period of time is larger than the recorded sequence number, the conflict processing instruction is to modify the nickname of the first RB. In response to determining the sequence number of another LSP received by the receiving instruction within the predefined period of time is larger than the recorded sequence number, the conflict processing instruction is to keep the nickname of the first RB unchanged.
[0056] After keeping the nickname of the first RB unchanged (i.e., not changing the nickname), the conflict processing instruction is further to notify the sending instruction to broadcast an LSP for aging for the second RB. In this way, each of RBs in the TRILL network removes the LSP of the second RB from the LSDB.
[0057] In the examples, in response to the first RB determines that the nickname conflict occurs between the first RB and the second RB, the first RB determines whether the second RB is still in the TRILL network through broadcasting the LSP received from the second RB. In response to determining the second RB is not in the TRILL network, the first RB keeps its nickname unchanged, thereby avoiding the temporary interruption of data traffic forwarding and the recalculation of large number of routing items, and further ensuring the stability of the TRILL network.
[0058] Although described specifically throughout the entirety of the instant disclosure, representative examples of the present disclosure have utility over a wide range of applications, and the above discussion is not intended and should not be construed to be limiting, but is offered as an illustrative discussion of aspects of the disclosure.

Claims

WHAT IS CLAIMED IS:
1 . A method for processing a nickname conflict in a TRILL network, comprising: receiving, by a first Routing Bridge (RB), a Link State Packet (LSP) from a second RB;
determining, according to the received LSP, whether nicknames for the first RB and the second RB conflict;
in response to determining that the nicknames conflict, determining whether the first RB is a lower priority RB than the second RB based on comparing information of the first RB with information determined from the LSP;
broadcasting the LSP received from the second RB in response to determining the first RB is the lower priority RB;
modifying the nickname of the first RB if the first RB receives another LSP from the second RB within a predefined period of time of receiving the LSP; and
keeping the nickname of the first RB unchanged if the first RB does not receive another LSP from the second RB within the predefined period of time.
2. The method of claim 1 , wherein the determining of whether the first RB is the lower priority RB comprises:
determining a priority of the first RB;
determining a priority of the second RB based on the LSP;
comparing the priorities of the first and second RBs; and
determining the first RB is the lower priority RB if the priority of the first RB is determined to be lower than the priority of the second RB based on the comparing.
3. The method of claim 2, comprising:
determining whether the priorities are the same based on the comparing;
in response to determining the priorities are the same, determining whether a system identity of the first RB is smaller than a system identity of the second RB contained in the LSP; and
if the system identity of the first RB is smaller than the system identity of the second RB, determining that the first RB is the lower priority RB.
4. The method of claim 1 , wherein the determining of whether the nicknames for the first RB and the second RB conflict comprises:
if the nickname of the second RB contained in the LSP is the same as the nickname of the first RB, determining that the nickname conflict occurs; otherwise, determining that no nickname conflict occurs.
5. The method of claim 4, wherein the broadcasting the LSP received from the second RB comprises:
adding 1 to a sequence number of the LSP received from the second RB, and broadcasting the modified LSP of the second RB;
in response to broadcasting the modified LSP of the second RB, the method further comprises:
recording the sequence number of the broadcasted LSP;
after receiving another LSP from the second RB within the predefined period of time and before modifying the nickname of the first RB, determining whether the sequence number of another LSP received from the second RB within the predefined period of time is larger than the recorded sequence number; and
if the sequence number of another LSP received from the second RB within the predefined period of time is larger than the recorded sequence number, modifying the nickname of the first RB; otherwise, keeping the nickname of the first RB unchanged.
6. The method of claim 5, after keeping the nickname of the first RB unchanged, further comprising:
broadcasting an LSP for aging for the second RB, so that each of RBs in the TRILL network removes the LSP of the second RB from a Link State Data Base (LSDB).
7. A first routing bridge (RB) to process a nickname conflict in a TRILL network, the RB comprising:
a processor; and
a memory storing machine readable instructions executable by the processor to:
receive a Link State Packet (LSP) from a second RB;
determine, according to the received LSP, whether nicknames for the first RB and the second RB conflict;
in response to determining that the nicknames conflict, determine whether the first RB is a lower priority RB than the second RB based on comparing information of the first RB with information determined from the LSP;
broadcast the LSP received from the second RB in response to determining the first RB is the lower priority RB;
modify the nickname of the first RB if the first RB receives another LSP from the second RB within a predefined period of time of receiving the LSP; and keep the nickname of the first RB unchanged if the first RB does not receive another LSP from the second RB within the predefined period of time.
8. The first RB of claim 7, wherein the machine readable instructions to determine whether the first RB is the lower priority RB comprise instructions to: determine a priority of the first RB;
determine a priority of the second RB based on the LSP;
compare the priorities of the first and second RBs; and
determine the first RB is the lower priority RB if the priority of the first RB is determined to be lower than the priority of the second RB based on the comparing.
9. The first RB of claim 8, wherein the machine readable instructions comprise instructions to:
determine whether the priorities are the same based on the comparing;
in response to determining the priorities are the same, determine whether a system identity of the first RB is smaller than a system identity of the second RB contained in the LSP; and
if the system identity of the first RB is smaller than the system identity of the second RB, determine that the first RB is the lower priority RB.
10. The first RB of claim 7, wherein in response to determining the nickname of the second RB is the same as the nickname of the first RB, the machine readable instructions are to determine that the nickname conflict occurs; otherwise, determine that no nickname conflict occurs.
11 . The first RB of claim 10, wherein to broadcast the LSP received from the second RB, the machine readable instructions are to:
add 1 to a sequence number of the LSP received from the second RB, and broadcasting the modified LSP of the second RB;
in response to broadcasting the modified LSP of the second RB, the machine readable instructions are executable to:
record the sequence number of the broadcasted LSP;
after receiving another LSP from the second RB within the predefined period of time and before modifying the nickname of the first RB, determine whether the sequence number of another LSP received from the second RB within the predefined period of time is larger than the recorded sequence number; and
if the sequence number of another LSP received from the second RB within the predefined period of time is larger than the recorded sequence number, modify the nickname of the first RB; otherwise, keeping the nickname of the first RB unchanged.
12. The first RB of claim 11 , wherein after keeping the nickname of the first RB unchanged, the machine readable instructions are to:
broadcast an LSP for aging for the second RB, so that each of RBs in the TRILL network removes the LSP of the second RB from a Link State Data Base (LSDB).
PCT/CN2014/071448 2013-02-07 2014-01-26 Processing nickname conflict in trill network Ceased WO2014121702A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/764,504 US9544218B2 (en) 2013-02-07 2014-01-26 Processing nickname conflict in TRILL network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310049116.X 2013-02-07
CN201310049116.XA CN103986650B (en) 2013-02-07 2013-02-07 The treating method and apparatus that nickname conflicts in a kind of TRILL network

Publications (1)

Publication Number Publication Date
WO2014121702A1 true WO2014121702A1 (en) 2014-08-14

Family

ID=51278477

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071448 Ceased WO2014121702A1 (en) 2013-02-07 2014-01-26 Processing nickname conflict in trill network

Country Status (3)

Country Link
US (1) US9544218B2 (en)
CN (1) CN103986650B (en)
WO (1) WO2014121702A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986650B (en) * 2013-02-07 2017-08-11 新华三技术有限公司 The treating method and apparatus that nickname conflicts in a kind of TRILL network
JP2017021582A (en) * 2015-07-10 2017-01-26 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and program
CN105763446B (en) * 2016-03-25 2019-05-07 新华三技术有限公司 A kind of link-state information processing method and processing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977123A (en) * 2010-10-28 2011-02-16 北京星网锐捷网络技术有限公司 Method, system and device for generating virtual private local area network site ID
CN102123091A (en) * 2011-02-25 2011-07-13 福建星网锐捷网络有限公司 Method, device and network equipment for generating multilink transparent transmission interconnection forwarding table

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4778594B2 (en) * 2009-10-30 2011-09-21 ソフトバンクBb株式会社 Packet relay device, packet relay method and program
US8345697B2 (en) * 2010-08-17 2013-01-01 Dell Products, Lp System and method for carrying path information
CN102223303A (en) * 2011-06-14 2011-10-19 杭州华三通信技术有限公司 Load equilibrium method based on transparent interconnection of lots of links (TRILL) and routing bridge (RB)
US9497073B2 (en) * 2011-06-17 2016-11-15 International Business Machines Corporation Distributed link aggregation group (LAG) for a layer 2 fabric
CN102368724A (en) * 2011-09-08 2012-03-07 华为技术有限公司 Message forwarding method and apparatus thereof
CN102724048B (en) * 2012-04-27 2015-02-11 杭州华三通信技术有限公司 Method and device for notifying rendezvous point by sparse-mode protocol independent multicast
CN102710500A (en) * 2012-05-10 2012-10-03 中兴通讯股份有限公司 Method for processing conflict of identifiers of device groups in network, and route bridge
US8902759B2 (en) * 2012-10-08 2014-12-02 International Business Machines Corporation TRILL shortest path first implementation
US9094235B2 (en) * 2012-11-28 2015-07-28 Dell Products L.P. Systems and methods for link bandwidth conservation in a local area network connected to a trill network
CN103986650B (en) * 2013-02-07 2017-08-11 新华三技术有限公司 The treating method and apparatus that nickname conflicts in a kind of TRILL network
CN104184669B (en) * 2013-05-20 2017-10-03 新华三技术有限公司 Pet name collision detection method and routing bridge

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977123A (en) * 2010-10-28 2011-02-16 北京星网锐捷网络技术有限公司 Method, system and device for generating virtual private local area network site ID
CN102123091A (en) * 2011-02-25 2011-07-13 福建星网锐捷网络有限公司 Method, device and network equipment for generating multilink transparent transmission interconnection forwarding table

Also Published As

Publication number Publication date
CN103986650A (en) 2014-08-13
US9544218B2 (en) 2017-01-10
US20150365315A1 (en) 2015-12-17
CN103986650B (en) 2017-08-11

Similar Documents

Publication Publication Date Title
EP3734906B1 (en) Method and device for bearing multicast virtual private network
US12155578B2 (en) Packet forwarding method, electronic device, and storage medium
US20220045944A1 (en) Method for Forwarding Service Data, Network Device, and Network System
US9900247B2 (en) Media access control address and internet protocol address binding proxy advertisement for network devices of a network
EP3319278A1 (en) Method and apparatus for implementing service function chain
US9871726B2 (en) Semantic information for labels in border gateway protocol
US20190273678A1 (en) Method and device for forwarding packet
EP3672170B1 (en) Electing designated forwarder
US10313154B2 (en) Packet forwarding
WO2016101646A1 (en) Access method and apparatus for ethernet virtual network
US12068949B2 (en) Routing management method and apparatus, network device, and readable storage medium
US12244474B2 (en) Routing method, routing device and computer-readable storage medium
CN105376162A (en) Link state information notifying method and equipment
EP3925172B1 (en) Fast flooding topology protection
EP3496431B1 (en) Message transmission method and apparatus
US9544218B2 (en) Processing nickname conflict in TRILL network
US10313274B2 (en) Packet forwarding
WO2016124156A1 (en) Packet transmission
CN110430131B (en) Message forwarding method and device
US10523468B2 (en) Traffic forwarding
EP3188416A1 (en) Media access control address and internet protocol address binding proxy advertisement for network devices of a network
CN115695306B (en) A message transmission system, method, device, equipment and medium
US20170070473A1 (en) A switching fabric including a virtual switch
US20170310575A1 (en) Esadi protocol fast convergence method and device, and storage medium
CN111698165B (en) Message transmission method, device, equipment and machine-readable storage medium

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14764504

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14748573

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21/12/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 14748573

Country of ref document: EP

Kind code of ref document: A1