CN103384217B - A kind of state switching method and routing bridge - Google Patents

A kind of state switching method and routing bridge Download PDF

Info

Publication number
CN103384217B
CN103384217B CN201210133425.0A CN201210133425A CN103384217B CN 103384217 B CN103384217 B CN 103384217B CN 201210133425 A CN201210133425 A CN 201210133425A CN 103384217 B CN103384217 B CN 103384217B
Authority
CN
China
Prior art keywords
mac address
state
port
trill
hello packet
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.)
Active
Application number
CN201210133425.0A
Other languages
Chinese (zh)
Other versions
CN103384217A (en
Inventor
郝卫国
马亮亮
熊怡
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210133425.0A priority Critical patent/CN103384217B/en
Priority to PCT/CN2013/074767 priority patent/WO2013163937A1/en
Publication of CN103384217A publication Critical patent/CN103384217A/en
Application granted granted Critical
Publication of CN103384217B publication Critical patent/CN103384217B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the present invention provides a kind of state switching method and routing bridge.Described method includes: when the MAC Address of the port being connected with the 2nd RB on a RB is become after new MAC Address from old MAC Address, and a described RB will be switched to transitive state with the neighbor state of described 2nd RB by Report state;A described RB sends TRILL hello packet that be no less than predetermined quantity, that carry described new MAC Address to described 2nd RB;A described RB, after the TRILLHello message carrying described new MAC Address described in receiving, will be switched back into described Report state with the neighbor state of described 2nd RB by described transitive state.Described method solves after the port mac address of RB changes due to network management reason, originally neighbor state be Report RB between need to re-start the problem that neighborhood is consulted, decrease the data message forwarding break period.

Description

A kind of state switching method and routing bridge
Technical field
The present invention relates to network communication technology field, more particularly, it relates to a kind of state switching method and Routing bridge (English full name is Router Bridge, and english abbreviation is RB).
Background technology
Two layers of autonomous system-autonomous system, (English full name is intermediate system-intermediate System, english abbreviation is IS-IS) in network, the neighbor state between RB is divided into following 4 kinds: fault (English Literary composition is Down), represent that neighbours do not exist;Detection (English is Detect), represents and detects that neighbours deposit ?;Two-way (English is 2-way), represents that neighbours find the most each other, but is not fully complete MTU (English full name is Maximum Transmission Unit, and english abbreviation is MTU) consults;Report (English Literary composition is Report), neighbours find the most each other, and MTU consults successfully, and neighborhood is set up.Wherein, Only neighbor state be Report RB between could carry out the transmission of Layer 2 data message smoothly.
Can being said hello by multilink transparent interconnection between existing RB, (English full name is Transparent Interconnection of Lots of Links Hello, english abbreviation is TRILL Hello) message carries out neighbour Occupying the negotiation of relation, TRILL hello packet carries the transmitting terminal RB's of this TRILL hello packet Neighbor list and the relevant information of this transmitting terminal RB.Wherein, the neighbor list of transmitting terminal RB records have The information of all RB of neighborhood (neighbor state is Report) is there is with this transmitting terminal RB, one The information of neighbours RB can record record by neighbours in neighbor list, and every neighbours record record Content includes following 4 aspects: (English full name is Media in the medium access control of the port of neighbours RB Access Control, english abbreviation is MAC) address, port-mark (English full name is Port Identity, English abbreviation is Port ID) and system banner (English full name is System Identity, and english abbreviation is System ID), these three attribute uniquely identifies a neighbours RB, and port-mark and system banner are also Can be used to identify a RB;TRILL hello packet is held time;The priority of neighbours RB;Adjacent (English full name is Virtual Local Area Nerwork, English to occupy RB desired appointment VLAN It is abbreviated as VLAN), this VLAN is used for sending Layer 2 data message and IS-IS Link State bag (English Literary composition full name is Link State Packet, and english abbreviation is LSP) protocol massages.Transmitting terminal RB's is relevant Information includes the port mac address of transmitting terminal RB, Port ID and System ID etc..
After neighborhood has been consulted, neighbor state be Report RB between can periodically send TRILL hello packet, for maintenance of neighbor relation.Due to network management reason, the port mac of RB Address can change, if the port mac address of transmitting terminal RB is become new from old MAC Address MAC Address, the neighbours RB of transmitting terminal RB is receiving the TRILL Hello that described transmitting terminal RB sends After message, it is found that the System ID of the transmitting terminal RB that this TRILL hello packet is carried and self The System ID of corresponding transmitting terminal RB described in neighbor list is consistent, but MAC Address is also Inconsistent, described neighbours RB is the MAC Address saltus step preventing transmitting terminal RB, then can abandon this TRILL Hello packet, and after reaching the time-out time of predetermined TRILL hello packet, will be for transmitting terminal The neighbor state of RB switches to Down, stops the data-message transmission with transmitting terminal RB, again with send out Sending end RB carries out neighborhood negotiation.
From such scheme it can be seen that prior art has a disadvantage in that the port mac address at RB After changing, originally neighbor state be Report RB between can interrupt neighborhood, and carry out neighbours Renegotiating of relation, can make the data message forwarding between RB interrupt the long time, affect between RB The normal transmission of data message.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of state switching method and device, to solve RB's After port mac address modification, neighbor state is that the neighborhood between the RB of Report needs to rebuild originally, Cause the problem that the data message forwarding between RB interrupts the long time.
For achieving the above object, the following technical scheme of embodiment of the present invention offer:
A kind of state switching method, including:
Medium access control when the port being connected with the 2nd RB on the first routing bridge (english abbreviation is RB) System (english abbreviation is MAC) address is become after new MAC Address from old MAC Address, and described first The neighbor state of described 2nd RB that a described RB is safeguarded by RB is by reporting (English for Report) State switches to transitive state, a wherein said RB and described 2nd RB multilink transparent interconnection each other (english abbreviation is TRILL) neighbours;
A described RB to described 2nd RB send no less than predetermined quantity, carry described new MAC First multilink transparent interconnection of address is said hello (English for TRILL Hello) message;
A described RB receive described 2nd RB receive described no less than predetermined quantity, carry described That responds after the oneth TRILL hello packet of new MAC Address carries the second of described new MAC Address TRILL hello packet;
A described RB carries the 2nd TRILL Hello report of described new MAC Address described in receive Wen Hou, the neighbor state of described 2nd RB safeguarded by a described RB is switched back into by described transitive state Described Report state.
A kind of state switching method, including:
2nd RB receives the first of a RB transmission of the TRILL neighbours as described 2nd RB TRILL hello packet;
Described 2nd RB determines on the described RB that a described TRILL hello packet carries and institute The MAC Address stating the port that the 2nd RB is connected is the described port recorded with described 2nd RB The new MAC Address that MAC Address is different;
Described 2nd RB is determining the MAC of described port that a described TRILL hello packet carries After address is described new MAC Address, by the neighbor state of the described RB that described 2nd RB safeguards Transitive state is switched to by Report state;
Described 2nd RB determines the TRILL Hello report including described new MAC Address received The quantity of literary composition;
Described 2nd RB reaches predetermined number in the quantity determining the described TRILL hello packet received After value, the MAC Address of the described port recorded by described 2nd RB replaces with described new MAC ground Location;
Described 2nd RB reaches predetermined number in the quantity determining the described TRILL hello packet received After value, described 2nd RB sends the 2nd TRILL including described new MAC Address to a described RB Hello packet;
Described 2nd RB reaches predetermined number in the quantity determining the described TRILL hello packet received After value, the neighbor state of the described RB that described 2nd RB is safeguarded by described 2nd RB is by described mistake The state of crossing switches to described Report state.
A kind of first routing bridge RB, including:
First state handover module, the MAC of the port for being connected with the 2nd RB on a described RB Address is become after new MAC Address from old MAC Address, described 2nd RB safeguarded by a described RB Neighbor state switched to transitive state, a wherein said RB and described 2nd RB by Report state TRILL neighbours each other;
Sending module, for described 2nd RB send no less than predetermined quantity, carry described new MAC Oneth TRILL hello packet of address;
Receiver module, for receive described 2nd RB receive described no less than predetermined quantity, carry institute That responds after stating a TRILL hello packet of new MAC Address carries the of described new MAC Address Two TRILL hello packet;
Second state handover module, carries described new MAC ground described in receiving at described receiver module After 2nd TRILL hello packet of location, by neighbours' shape of described 2nd RB that a described RB safeguards State is switched back into described Report state by described transitive state.
A kind of 2nd RB, including:
Receiver module, for receiving the TRILL hello packet that a RB sends, described first RB is the TRILL neighbours of described 2nd RB;
First determines module, for determining the described RB that a described TRILL hello packet carries On the MAC Address of port that is connected with described 2nd RB be the described end recorded with described 2nd RB Mouthful the different new MAC Address of MAC Address;
First state handover module, at the described end determining that a described TRILL hello packet carries After the MAC Address of mouth is described new MAC Address, the described RB that described 2nd RB is safeguarded Neighbor state switched to transitive state by Report state;
Second determines module, for determining the TRILL including described new MAC Address of reception The quantity of hello packet;
Address replacement module, for reaching in the quantity determining the described TRILL hello packet received After predetermined value, the MAC Address of the described port that described 2nd RB has been recorded replace with described newly MAC Address;
Sending module, for reaching predetermined in the quantity determining the described TRILL hello packet received After numerical value, send the 2nd TRILL Hello report including described new MAC Address to a described RB Literary composition;
Second state handover module, in the quantity determining the described TRILL hello packet received After reaching predetermined value, the neighbor state of the described RB safeguarded by described 2nd RB is by described transition State switches to described Report state.
The embodiment of the present invention adds transitive state on the basis of neighbor state between existing RB.Pass through transition The setting of state, a RB, when port mac address modification, enters transitive state and enters with the 2nd RB The process of row neighborhood.Under the transient state, a RB sends no less than predetermined to described 2nd RB Quantity, the TRILL hello packet that carries described new MAC Address.When a RB receives After the 2nd TRILL hello packet carrying described new MAC Address that 2nd RB sends, it may be determined that The MAC Address and described first of the described port of a described RB of current record in described 2nd RB The current MAC Address of the described port of RB is consistent, therefore meets the safeguarded by a RB The neighbor state of two RB is switched back into the condition of Report state by transitive state, thus a RB is by first The neighbor state of the 2nd RB that RB safeguards is switched back into Report state by transitive state.Thus avoid After the port mac address modification of a RB, a RB and the 2nd RB is because neighborhood is thorough Interrupt and need to spend the longer time to re-start the problem that neighborhood is consulted, decrease data message Forward the break period.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is only some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The flow chart of a kind of state switching method that Fig. 1 provides for the embodiment of the present invention;
A RB that Fig. 2 provides for the embodiment of the present invention and the annexation schematic diagram of the 2nd RB;
The flow chart of a kind of state switching method that Fig. 3 provides for the embodiment of the present invention;
The structured flowchart of the RB that Fig. 4 provides for the embodiment of the present invention;
Another structured flowchart of the RB that Fig. 5 provides for the embodiment of the present invention;
The structured flowchart of the 2nd RB that Fig. 6 provides for the embodiment of the present invention;
Fig. 7 determines the structured flowchart of module for the first of embodiment of the present invention offer as shown in Figure 6;
The structured flowchart of the acquiring unit that Fig. 8 provides for the embodiment of the present invention as shown in Figure 6;
Another structured flowchart of the 2nd RB that Fig. 9 provides for the embodiment of the present invention;
The neighbor state variation diagram of the RB that Figure 10 provides for the embodiment of the present invention;
The neighbor state variation diagram of the RB that Figure 11 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and It is not all, of embodiment.
The flow chart of a kind of state switching method that Fig. 1 is provided by the embodiment of the present invention, with reference to Fig. 1, should Method may comprise steps of.
Step S110, when the medium access control of the port being connected with the 2nd RB on a RB (English Full name is Media Access Control, and english abbreviation is MAC) address becomes new from old MAC Address After MAC Address, the neighbor state of described 2nd RB that a described RB is safeguarded by a described RB Transitive state, a wherein said RB and described second is switched to by report (English for Report) state (English full name is Transparent Interconnection of Lots of to RB multilink transparent interconnection each other Links, english abbreviation is TRILL) neighbours.
The embodiment of the present invention adds transitive state on the basis of the neighbor state between existing RB, therefore originally Between the RB of inventive embodiments, neighbor state can include following 5 kinds: fault (English for Down), table Show that neighbours do not exist;Detection (English is Detect), represents and detects that neighbours exist;It is two-way that (English is 2-way), represent that neighbours find the most each other, but be not fully complete MTU and consult;Report (English is Report), Representing that neighbours find the most each other, and MTU consults successfully, neighborhood is set up;Transitive state, represents RB port mac address changes, and need to switch to this state, carries out the shape of embodiment of the present invention offer The handling process of state switching.
The neighbor state of the 2nd RB that the oneth RB safeguards is Report, the RB that the 2nd RB safeguards Neighbor state be also Report, a RB and the 2nd RB TRILL neighbours each other.Can be by first Whether the MAC Address of the RB port that the TRILL protocol component detection of RB is connected with the 2nd RB Change, with the port mac address situation of a clear and definite RB.MAC Address at this port changes After change, the neighbor state of the 2nd RB that a RB is safeguarded is switched to the transition shape increased newly by Report State.
On a RB described in the present embodiment with described 2nd RB be connected port refer to be connected described in The signal of the oneth RB and the 2nd RB connects medium, such as optical fiber, wire rope etc., the port being connected.
Fig. 2 is a RB and the annexation schematic diagram of the 2nd RB, with reference to Fig. 2, a RB on and The port that described 2nd RB is connected refers to the port A shown in Fig. 2.In the present embodiment, shown in Fig. 2 Port B is not to be regarded as on a RB port being connected with described 2nd RB.
Alternatively, described step S110 is performed by a processor in a described RB.
Step S120, a described RB to described 2nd RB send no less than predetermined quantity, carry First multilink transparent interconnection of described new MAC Address is said hello, and (English full name is Transparent Interconnection of Lots of Links Hello, english abbreviation is TRILL Hello) message.
Owing to the MAC Address of the port of the RB being connected with the 2nd RB changes, then first RB is sent to a TRILL hello packet of the 2nd RB will carry new MAC Address.Oneth RB The TRILL hello packet comprising new MAC Address will be sent to the 2nd RB.Oneth RB sends The predetermined quantity of a TRILL hello packet can be defaulted as more than 3, it is possible to according to practical situation Set.
Alternatively, described step S120 is performed by a physical port in a described RB.
Step S130, a described RB receive described 2nd RB and are no less than predetermined quantity described in receiving , after the TRILL hello packet carrying described new MAC Address, response carry described newly 2nd TRILL hello packet of MAC Address.
Oneth RB receives the 2nd TRILL including described new MAC Address that the 2nd RB responds Hello packet, then show that the MAC Address of a RB of record in its neighbor list is entered by the 2nd RB Go renewal, receive the situation that the MAC Address of a RB changes.
Alternatively, described step S130 is performed by a physical port in a described RB.
Step S140, a described RB carry the second of described new MAC Address described in receiving After TRILL hello packet, the neighbor state of described 2nd RB safeguarded by a described RB is by described Transitive state switches back into described Report state.
Alternatively, described step S140 is performed by a processor in a described RB.
When a RB receives the 2nd TRILL carrying described new MAC Address that the 2nd RB responds Hello packet, then may indicate that the described end of a RB of current record in the neighbor list of the 2nd RB Mouthful MAC Address and a RB described in the current MAC Address of port be consistent, satisfied by the The neighbor state of the 2nd RB that one RB safeguards is set to the requirement of Report.Therefore a RB can be by The neighbor state of the 2nd RB that one RB safeguards is switched back into Report state by transitive state.
Method shown in Fig. 1 adds transitive state on the basis of neighbor state between existing RB.Pass through transition The setting of state, a RB, when port mac address modification, enters transitive state and enters with the 2nd RB The process of row neighborhood.Under the transient state, a RB sends no less than predetermined to described 2nd RB Quantity, the TRILL hello packet that carries described new MAC Address.When a RB receives After the 2nd TRILL hello packet carrying described new MAC Address that 2nd RB responds, it may be determined that The MAC Address and described first of the described port of a described RB of current record in described 2nd RB The current MAC Address of the described port of RB is consistent, therefore meets the safeguarded by a RB The neighbor state of two RB is switched back into the condition of Report state by transitive state, thus a RB is by first The neighbor state of the 2nd RB that RB safeguards is switched back into Report state by transitive state.Thus avoid After the port mac address modification of a RB, a RB and the 2nd RB is because neighborhood is thorough Interrupt and need to spend the longer time to re-start the problem that neighborhood is consulted, decrease data message Forward the break period.
Alternatively, in embodiment of the method as shown in Figure 1, when a described RB sends out to described 2nd RB When sending no less than predetermined quantity, the TRILL hello packet that carries described new MAC Address, institute The neighbor state stating described 2nd RB that a RB safeguards is described transitive state, the MAC of described port Address is described new MAC Address.
Alternatively, in embodiment of the method as shown in Figure 1, when a described RB receives described second During the 2nd TRILL hello packet carrying described new MAC Address that RB responds, a described RB The neighbor state of described 2nd RB safeguarded is described transitive state, and the MAC Address of described port is institute State new MAC Address.
Optionally, in addition, if a described RB carries described new MAC Address described in receiving Before 2nd TRILL hello packet, have received described 2nd RB transmission carries described old MAC The TRILL hello packet of address, the most described RB maintains described second that a described RB safeguards The neighbor state of RB is described transitive state.
Optionally, there is certain survival phase in embodiment of the present invention transitive state.Step S120, step S130 All perform within this survival phase with step S140.Oneth RB, within this survival phase, receives described second The 2nd TRILL hello packet carrying described new MAC Address that RB responds, will within this survival phase Neighbor state for described 2nd RB is switched back into described Report state by described transitive state.When depositing After renewing end, if the neighbor state of a RB and the 2nd RB still cannot switch to Report, both Neighbor state will be for Down.Transition period overtime timer can be set, indicate with its time-out time arranged The survival phase of described transitive state, the neighbor state at a RB and the 2nd RB was switched to by Report While crossing state, start transition period overtime timer.The time-out time that transition period overtime timer is arranged Configurable, but prior art predetermined permission the oneth RB and the 2nd RB should be not more than by TRILL Hello Message carries out the time-out time of state negotiation.Certainly, described survival can also be not provided with in the present embodiment Phase.
Technical scheme described above is that the angle of the RB changed with port mac address is carried out Illustrate, for making technical scheme apparent completely, below by using as a RB's The angle of the 2nd RB of TRILL neighbours, carries out clear, complete to the technical scheme in the embodiment of the present invention Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than all wholely Embodiment.
The flow chart of a kind of state switching method that Fig. 3 provides for the embodiment of the present invention, with reference to Fig. 3, the party Method can include herein below.
Step S210, secondary route bridge (English full name is Routing Bridge, and english abbreviation is RB) (English full name is Transparent to receive the multilink transparent interconnection as described 2nd RB Interconnection ofLots ofLinks, english abbreviation is TRILL) RB of neighbours sends First multilink transparent interconnection is said hello, and (English full name is Transparent Interconnection of Lots of Links Hello, english abbreviation is TRILL Hello) message.
The reception mode of the oneth TRILL hello packet can be same as the prior art, the most no longer introduces.
Alternatively, described step S210 is performed by a physical port in described 2nd RB.
Step S220, described 2nd RB determine described that a described TRILL hello packet carries (English full name is Media in the medium access control of the port being connected with described 2nd RB on one RB Access Control, english abbreviation is MAC) address is the described port recorded with described 2nd RB The different new MAC Address of MAC Address.
Alternatively, the 2nd RB can obtain described second after receiving a TRILL hello packet The MAC Address of the described port that RB has recorded;Determine the described port that described 2nd RB recorded MAC Address is different with the MAC Address of the described port that a described TRILL hello packet carries; The MAC Address determining the described port that a described TRILL hello packet carries is described new MAC Address.Wherein, the specific implementation of the MAC Address of the described port of described 2nd RB record is obtained May include that described 2nd RB determines the described RB that a described TRILL hello packet carries System banner and the port-mark of described port, described 2nd RB is according to described system banner and port mark Know inquiry neighbor list;Obtain the neighbours record corresponding with described system banner and port-mark;According to institute State neighbours and record the MAC Address of the described port obtaining described 2nd RB record.A described RB's System banner is construed as the identification information of a kind of mark the oneth RB.
Additionally, the 2nd RB can also determine that a described TRILL hello packet carries by other means A described RB on the MAC Address of port that is connected with described 2nd RB be new MAC Address, The notice flag such as can carried by a described TRILL hello packet, it is also possible to pass through The notification packet that 2nd RB receives.
In the present embodiment, the implication of a port described RB being connected with described 2nd RB and Fig. 1 Identical with the implication in the embodiment shown in Fig. 2.
Alternatively, described step S220 is performed by a processor in described 2nd RB.
Step S230, described 2nd RB are described in determine that a described TRILL hello packet carries After the MAC Address of port is described new MAC Address, the described RB that described 2nd RB is safeguarded Neighbor state (English for Report) state switches to transitive state by reporting.
After the MAC Address determining a RB changes, the 2nd RB the 2nd RB is safeguarded The neighbor state of one RB is switched to transitive state by Report, and this transitive state is the neighbour between existing RB Occupy a kind of neighbor state newly-increased on the basis of state, the transition described in concrete meaning and method shown in Fig. 1 State is identical, can mutually compare.
Alternatively, described step S230 is performed by a processor in described 2nd RB.
Step S240, described 2nd RB determine that receive includes the first of described new MAC Address The quantity of TRILL hello packet.
Alternatively, described step S240 is performed by a processor in described 2nd RB.
Step S250, described 2nd RB are determining the number of the described TRILL hello packet received After amount reaches predetermined value, the old MAC Address of the described port recorded by described 2nd RB replaces with Described new MAC Address.
If the 2nd RB continuously receives multiple TRILL Hello report including described new MAC Address Literary composition, and number reaches predetermined quantity, then can determine that the MAC Address of the described port of a RB changes Become and described new MAC Address is stable, thus can be to record before in the 2nd RB neighbor list The MAC Address of the described port of the oneth RB is updated, and replaces described with new MAC Address this described The MAC Address of the described port of the RB before recorded.The institute of a RB of record before described It is Geju City MAC Address for stating the most described new MAC Address of MAC Address of port.
Alternatively, described step S250 is performed by a processor in described 2nd RB.
Step S260, described 2nd RB are determining the number of the described TRILL hello packet received After amount reaches predetermined value, described 2nd RB sends to a described RB and includes described new MAC ground 2nd TRILL hello packet of location.
2nd RB includes the 2nd TRILL hello packet of described new MAC Address to by transmission One RB shows that the 2nd RB has received the MAC of the port being connected with described 2nd RB of a RB The situation that address changes.
Alternatively, described step S260 is performed by a physical port in described 2nd RB.
Step S270, described 2nd RB are determining the number of the described TRILL hello packet received After amount reaches predetermined value, the neighbours of the described RB that described 2nd RB is safeguarded by described 2nd RB State is switched to described Report state by described transitive state.
Owing to described 2nd RB reaches pre-in the quantity determining the described TRILL hello packet received After fixed number value, the described old MAC Address of the described port of record in described 2nd RB is replaced with described New MAC Address, the therefore described port of a RB of current record in the neighbor list of the 2nd RB MAC Address, consistent with the current MAC address of the described port of a RB, meet the 2nd RB The neighbor state of the RB safeguarded is set to the requirement of Report.Therefore the 2nd RB can be by the 2nd RB The neighbor state of the RB safeguarded is switched back into Report state by transitive state.
Alternatively, described step S270 is performed by a processor in described 2nd RB.
Optionally, in method shown in Fig. 3, there is certain survival phase in transitive state.
Furthermore, it is necessary to it is emphasized that in the present embodiment, step S250, S260 and S270 exist Precedence relationship is there is not on execution sequence.For example, it is possible to first carry out S250, perform S260 again, finally hold Row S270, it is also possible to first carry out S260, performing S270, finally performing S250, it is also possible to there is it His execution sequence.
Method shown in Fig. 3, with the neighbours RB of a described RB, the angle of the i.e. the 2nd RB, illustrates 2nd RB reply when receiving the TRILL hello packet including described new MAC Address Mode: the neighbor state with a RB is switched to transitive state by the 2nd RB, and is determining a RB The new MAC Address of described port stable after, update a RB of record in the 2nd RB MAC Address, the neighbor state meeting the RB safeguarded by the 2nd RB is set to wanting of Report Ask, thus the neighbor state of the RB that the 2nd RB safeguards can be switched back into by transitive state by the 2nd RB Report state.Owing to said process is the most thoroughly to interrupt a RB and the neighborhood of the 2nd RB In the case of carry out, the time therefore spent than re-establish after interrupting neighborhood neighborhood time Between want short a lot, it is to avoid during the port mac address modification of a RB, a RB and the 2nd RB Neighborhood is interrupted, and causes needing to take a long time the problem renegotiating neighborhood, decreases The data message forwarding break period, it is ensured that the normal transmission of the data message between RB.
Method shown in Fig. 3, determines the described TRILL hello packet that receives at described 2nd RB Quantity can also include step after reaching predetermined value:
Update described in the TRILL unicast routing table in the 2nd RB on the 2nd RB with a described RB phase The next-hop mac address of port even.
Preferably, there is certain survival phase in embodiment of the present invention transitive state, can be by arranging the transition period Overtime timer, indicates the survival phase of described transitive state, transition period time-out with its time-out time arranged The time-out time that intervalometer is arranged can configure, but should be not more than the predetermined permission of prior art the oneth RB and the Two RB time-out time by TRILL hello packet.If the 2nd RB receives within the described survival phase The TRILL hello packet quantity comprising new MAC Address do not arrive predetermined quantity, then second RB can will switch to Down with the neighbor state of a RB, re-starts neighbours with a RB and closes System consults.
(English full name is Routing Bridge to the first routing bridge that Fig. 4 provides for the embodiment of the present invention, English RB be abbreviated as in literary composition) structured flowchart, may include that with reference to Fig. 4, a RB
First state handover module 110, for the port that is connected with the 2nd RB on a described RB Medium access control (English full name be Media Access Control, english abbreviation is MAC) address by After old MAC Address becomes new MAC Address, by the neighbour of described 2nd RB that a described RB safeguards The state that occupies is by reporting that (English for Report) state switches to transitive state, a wherein said RB and institute (English full name is Transparent Interconnection of to state the 2nd RB multilink transparent interconnection each other Lots ofLinks, english abbreviation is TRILL) neighbours.
The embodiment of the present invention adds transitive state on the basis of the neighbor state between existing RB, therefore originally Between the RB of inventive embodiments, neighbor state can include following 5 kinds: fault (English for Down), table Show that neighbours do not exist;Detection (English is Detect), represents and detects that neighbours exist;It is two-way that (English is 2-way), represent that neighbours find the most each other, but be not fully complete MTU and consult;Report (English is Report), Representing that neighbours find the most each other, and MTU consults successfully, neighborhood is set up;Transitive state, represents RB port mac address changes, and a described RB is safeguarded by the first state handover module 110 The neighbor state of described 2nd RB is switched to transitive state by Report state.
The neighbor state of the 2nd RB that the oneth RB safeguards is Report, the RB that the 2nd RB safeguards Neighbor state be also Report, a RB and the 2nd RB TRILL neighbours each other.Can be by first Whether the MAC Address of the RB port that the TRILL protocol component detection of RB is connected with the 2nd RB Changing, with the port mac address situation of a clear and definite RB, the MAC Address at this port changes After change, neighbours' shape of the 2nd RB that a RB is safeguarded by the first state handover module 110 of a RB State is switched to the transitive state increased newly by Report.
In the present embodiment, the implication of a port described RB being connected with described 2nd RB and Fig. 1 Identical with the implication in the embodiment shown in Fig. 2.
Sending module 120, for described 2nd RB send no less than predetermined quantity, carry described newly First multilink transparent interconnection of MAC Address is said hello (TRILL Hello) message.
When the MAC Address of the port of the described RB being connected with the 2nd RB changes, a RB Sending module 120 be sent to the TRILL hello packet of the 2nd RB and will carry new MAC ground Location.The predetermined quantity of a TRILL hello packet that sending module 120 sends can be defaulted as 3 with On, it is possible to set according to practical situation.
Receiver module 130, for receive described 2nd RB receive described no less than predetermined quantity, take After a TRILL hello packet with described new MAC Address, response carry described new MAC ground 2nd TRILL hello packet of location.
The receiver module 130 of the oneth RB receive the 2nd RB respond include described new MAC Address The 2nd TRILL hello packet, then show that the 2nd RB is by a RB of record in its neighbor list MAC Address is updated, and the MAC Address of the described port receiving a RB changes Situation.
Second state handover module 140, carry described in receive at described receiver module 130 described newly After 2nd TRILL hello packet of MAC Address, described 2nd RB that a described RB is safeguarded Neighbor state switched back into described Report state by described transitive state.
Receiver module 130 receives the 2nd TRILL carrying described new MAC Address that the 2nd RB responds Hello packet, shows that the RB information recorded in the neighbor list of the 2nd RB changes with a RB The information after MAC Address that becomes is consistent, meets the neighbor state of the 2nd RB safeguarded by a RB It is set to the requirement of Report.Therefore the second state handover module 140 of a RB can be by a RB The neighbor state of the 2nd RB safeguarded is switched back into Report state by transitive state.
A RB shown in Fig. 4 adds transitive state on the basis of neighbor state between existing RB.Logical Crossing the setting of transitive state, a RB, when port mac address modification, enters transitive state and second RB carries out the process of neighborhood.Under the transient state, a RB sends many to described 2nd RB In predetermined quantity, the TRILL hello packet that carries described new MAC Address.As a RB After receiving the 2nd TRILL hello packet carrying described new MAC Address that the 2nd RB responds, can To determine MAC Address and the institute of the described port of a described RB of current record in described 2nd RB The current MAC Address of the described port stating a RB is consistent, therefore meets a RB dimension The neighbor state of the 2nd RB protected is switched back into the condition of Report state by transitive state, thus a RB The neighbor state of the 2nd RB safeguarded by the oneth RB is switched back into Report state by transitive state.Thus Avoiding after the port mac address modification of a RB, a RB and the 2nd RB is because neighbours are closed System thoroughly interrupts and needs to spend the longer time to re-start the problem that neighborhood is consulted, and decreases number The break period is forwarded according to message.
Alternatively, the RB shown in Fig. 4 can be for the RB as shown in Fig. 1 and/or Fig. 3.As The step performed by a RB shown in Fig. 1 and/or Fig. 3 is by a RB as shown in Figure 4 Individual or multiple modules realize.
Optionally, the structure of a RB shown in the embodiment of the present invention also can be as it is shown in figure 5, Fig. 5 be this Another structured flowchart of the RB that bright embodiment provides, in conjunction with a RB shown in Fig. 5 and Fig. 4, figure Shown in 5, a RB also includes:
State maintains module 150, carries described new MAC described in receiving at receiver module 130 Before 2nd TRILL hello packet of address, a described RB receives what described 2nd RB sent In the case of carrying the TRILL hello packet of described old MAC Address, a described RB is maintained to safeguard The neighbor state of described 2nd RB be described transitive state.
Concrete, a RB receives the TRILL carrying described old MAC Address that the 2nd RB sends The mode of hello packet can be same as the prior art, it is possible to by increasing the side of the function of receiver module 130 Formula so that receiver module 130 can be also used for receiving that described 2nd RB sends carries described old MAC The TRILL hello packet of address.
Alternatively, when sending module 120 to described 2nd RB send no less than predetermined quantity, carry institute When stating a TRILL hello packet of new MAC Address, described 2nd RB that a described RB safeguards Neighbor state be described transitive state, the MAC Address of described port is described new MAC Address;When Receiver module 130 receives the 2nd TRILL carrying described new MAC Address that described 2nd RB responds During hello packet, the neighbor state of described 2nd RB that a described RB safeguards is described transitive state, The MAC Address of described port is described new MAC Address.
Concrete, the function of module 150 can be maintained by newly-increased state so that in these cases, dimension The neighbor state holding described 2nd RB that module 150 maintains a described RB to safeguard is described transitive state
(English full name is Routing Bridge to the secondary route bridge that Fig. 6 provides for the embodiment of the present invention, English RB be abbreviated as in literary composition) structured flowchart, may include that with reference to Fig. 6, the 2nd RB
Receiver module 210, the first multilink transparent interconnection sent for receiving a RB is said hello (English Full name is Transparent Interconnection of Lots of Links Hello, and english abbreviation is TRILL Hello) message, a described RB is that (English full name is for the multilink transparent interconnection of described 2nd RB Transparent Interconnection of Lots of Links, english abbreviation is TRILL) neighbours.
Receiver module 210 receives the mode of TRILL hello packet can be same as the prior art, the most no longer Introduce.
First determines module 220, is used for determining described first that a described TRILL hello packet carries (English full name is Media Access in the medium access control of the port that RB is upper and described 2nd RB is connected Control, english abbreviation is MAC) address is the MAC of the described port recorded with described 2nd RB The new MAC Address that address is different.
In the present embodiment, the implication of a port described RB being connected with described 2nd RB and Fig. 1 Identical with the implication in the embodiment shown in Fig. 2.
Alternatively, first determines that the structured flowchart of module 220 can be as it is shown in fig. 7, first determines module 220 May include that
Acquiring unit 221, for obtaining the MAC Address of the described port that described 2nd RB has recorded;
Determine unit 222, for determine described port that described 2nd RB recorded MAC Address and The MAC Address of the described port that a described TRILL hello packet carries is different;
New MAC Address determines unit 223, for determining what a described TRILL hello packet carried The MAC Address of described port is described new MAC Address.
Optionally, the structured flowchart of acquiring unit 221 can as shown in Figure 8, and acquiring unit 221 can wrap Include:
Mark determines subelement 2211, described for determining that a described TRILL hello packet carries The system banner of the oneth RB and the port-mark of described port;
Inquiry subelement 2212, for inquiring about described 2nd RB according to described system banner and port-mark Neighbor list, obtain the neighbours record corresponding with described system banner and port-mark;
Address acquisition subelement 2213, obtains described 2nd RB record for recording according to described neighbours The MAC Address of described port.
Additionally, first determines that module 220 can also determine a described TRILL Hello by other means The MAC Address of the port being connected with described 2nd RB on the described RB that message carries is new MAC Address, the notice flag such as can carried by a described TRILL hello packet, it is possible to With the notification packet received by the 2nd RB.
First state handover module 230, in the institute determining that a described TRILL hello packet carries State after the MAC Address of port is described new MAC Address, described first that described 2nd RB is safeguarded The neighbor state of RB is by reporting that Report state switches to transitive state;
After determining that module 220 determines that the MAC Address of a RB changes first, the 2nd RB's The neighbor state of the RB that the 2nd RB safeguards is switched to by the first state handover module 230 by Report Transitive state, this transitive state is a kind of neighbours' shape newly-increased on the basis of the neighbor state between existing RB State, the transitive state described in concrete meaning and a RB shown in Fig. 4 is identical, can mutually compare.
Second determines module 240, includes the first of described new MAC Address for determine reception The quantity of TRILL hello packet.
Address replacement module 250, in the quantity determining the described TRILL hello packet received After reaching predetermined value, the old MAC Address of the described port recorded described in described 2nd RB is replaced It is changed to described new MAC Address.
If the receiver module 210 of the 2nd RB continuously receives and multiple includes the first of described new MAC Address TRILL hello packet, and number reaches predetermined quantity, then can determine that the described port of a RB MAC Address changes and described new MAC Address is stable, thus address replacement module 250 The described port mac address of the RB recorded in the 2nd RB neighbor list can be updated, With new MAC Address this described replace described in the MAC Address of the described port of a RB that recorded.
Sending module 260, for reaching in the quantity determining the described TRILL hello packet received After predetermined value, send the 2nd TRILL Hello including described new MAC Address to a described RB Message.
Sending module 260 includes the 2nd TRILL hello packet of described new MAC Address by transmission Show that the 2nd RB has received the port being connected with described 2nd RB of a RB to a RB The situation that MAC Address changes.
Second state handover module 270, for determining the described TRILL hello packet that receives After quantity reaches predetermined value, the neighbor state of the described RB safeguarded by described 2nd RB is by described Transitive state switches to described Report state.
Owing to the second of described 2nd RB determines that module 240 is determining the described TRILL received After the quantity of hello packet reaches predetermined value, by the described port that recorded in described 2nd RB MAC Address replaces with described new MAC Address, first therefore recorded in the neighbor list of the 2nd RB The information of RB, consistent with the actual information of a RB, meet the RB safeguarded by the 2nd RB Neighbor state be set to the requirement of Report, so the second state handover module 270 can be by the 2nd RB The neighbor state of the RB safeguarded is switched to Report by transition.
Alternatively, the 2nd RB shown in Fig. 6 can be for the 2nd RB as shown in Fig. 1 and/or Fig. 3.As The step performed by the 2nd RB shown in Fig. 1 and/or Fig. 3 is by many in the 2nd RB as shown in Figure 6 Individual module realizes.
Another structured flowchart of the 2nd RB that Fig. 9 provides for the embodiment of the present invention, in conjunction with Fig. 6 and Fig. 9 Shown 2nd RB, shown in Fig. 9, the 2nd RB also includes:
More new module 280, for update a RB described in TRILL unicast routing table corresponding go out end The next-hop mac address of mouth;
Concrete, second, more new module 280 can determine that module 240 determines and receive described in predetermined quantity After oneth TRILL hello packet, update corresponding the going out of RB described in TRILL unicast routing table The next-hop mac address of port.
The neighbours RB of the RB that the embodiment shown in Fig. 6 changes with port mac address, i.e. The angle of the 2nd RB, illustrates that the 2nd RB includes the first of described new MAC Address receiving Coping style during TRILL hello packet: the neighbours of the RB that the 2nd RB is safeguarded by the 2nd RB State switches to transitive state, and is stable at the new MAC Address of the described port determining a RB Afterwards, update the MAC Address of a RB of record in the 2nd RB, thus meet the 2nd RB The neighbor state of the RB safeguarded is set to the requirement of Report.Afterwards, the 2nd RB is by described second The neighbor state of the described RB that RB safeguards is switched to described Report state by described transitive state. Owing to the 2nd RB is to carry out in the case of the neighborhood the most thoroughly interrupting a RB and the 2nd RB State switching, time of therefore spending wants than the time re-establishing neighborhood after interrupting neighborhood Short a lot, it is to avoid during the port mac address modification of a RB, a RB and the 2nd RB neighbours Relation is interrupted, and causes needing to take a long time the problem renegotiating neighborhood, decreases data Message forwards the break period, it is ensured that the normal transmission of the data message between RB.
It should be noted that the RB that the embodiment of the present invention describes with different angles, as shown in Figure 4 and Figure 6 A RB and the 2nd RB can be same RB.
Technical scheme by making the embodiment of the present invention be provided is apparent, will occur with MAC Address below The angle of a RB changed, by a RB and its neighbours RB(the 2nd RB) neighbor state Change explanation technical scheme.The basis of survival phase is there is in scheme shown below based on transitive state On.
The RB neighbor state variation diagram that Figure 10 provides for the embodiment of the present invention, with reference to Figure 10, Figure 10 In band letter lines represent respectively:
A, a RB port mac address modification, enter transitive state, enables the timing of transition period time-out Device;
B, receive TRILL hello packet from the 2nd RB, message comprises old MAC Address, maintain Transitive state;
C, receive TRILL hello packet from the 2nd RB, message comprises the new port mac of a RB Address, switches back into Report state, and the port mac address of a RB can formally switch to new MAC Address, removes transition period overtime timer, restarts TRILL hello packet overtime timer, TRILL Hello Message overtime timer is the dress of the time-out time of TRILL hello packet indicating predetermined in prior art Put;
D, transition period overtime timer time-out, enters Down state, removes neighbours;
E, TRILL hello packet overtime timer reaches predetermined time-out time (time-out more than 3 times), Enter Down state.
Neighbours RB(the 2nd RB of the RB changed with MAC Address below) angle, logical Cross the change explanation technical scheme of its neighbor state.
The neighbor state variation diagram of the RB that Figure 11 provides for the embodiment of the present invention, with reference to Figure 11, figure Band letter lines in 11 represent respectively:
A, the 2nd RB receive the TRILL hello packet comprising new MAC Address, it is judged that message The port mac address of transmitting terminal the oneth RB change, enter transitive state, enabling the transition period surpasses Time intervalometer, record this new MAC Address, and add up the TRILL comprising this new MAC Address received Hello packet number;
B, reception TRILL hello packet, if carrying this new MAC Address in message, then add up Message number add 1;
C, the message number of statistics reach predetermined number, and predetermined number can be the default time of the 2nd RB, Predetermined number is more than 3, and the neighbor state with a RB switches back into Report, removes transition period time-out Intervalometer, restarts TRILL hello packet overtime timer, updates institute first in the 2nd RB neighbor list Neighbours' record of RB, sends the TRILL hello packet comprising new MAC Address to a RB;
D, transition period overtime timer are overtime, or TRILL hello packet overtime timer reaches predetermined super Time the time, enter Down state;
F, TRILL hello packet overtime timer reaches predetermined time-out time, enters Down state.
State switching method that the embodiment of the present invention is provided and RB, by arranging transitive state, checking The reason of RB port mac address modification, after the port mac address stable of RB changes, it is to avoid The neighborhood of RB and its neighbours RB is completely interrupted, from without re-starting complete neighbours Relation is consulted, and decreases the data message forwarding break period.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually. For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so describing Fairly simple, relevant part sees method part and illustrates.
Professional further appreciates that, respectively shows in conjunction with what the embodiments described herein described The unit of example and algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in, In order to clearly demonstrate the interchangeability of hardware and software, the most general according to function Describe composition and the step of each example.These functions perform with hardware or software mode actually, Depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can be to each specific Should be used for use different methods to realize described function, but this realization is it is not considered that beyond this The scope of invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can directly use hardware, The software module that processor performs, or the combination of the two implements.Software module can be placed in and deposit at random Reservoir (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electric erasable can Well known in programming ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses The present invention.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art See, generic principles defined herein can without departing from the spirit or scope of the present invention, Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (10)

1. a state switching method, it is characterised in that including:
When the port being connected with the 2nd RB on the first routing bridge RB medium access control MAC Address by After old MAC Address becomes new MAC Address, a described RB is by described in a described RB maintenance The neighbor state of the 2nd RB is by reporting that Report state switches to transitive state, a wherein said RB With described 2nd RB multilink transparent interconnection TRILL neighbours each other;
A described RB to described 2nd RB send no less than predetermined quantity, carry described new MAC First multilink transparent interconnection of address is said hello TRILL hello packet;
A described RB receive described 2nd RB receive described no less than predetermined quantity, carry described After oneth TRILL hello packet of new MAC Address, response carry the of described new MAC Address Two TRILL hello packet;
A described RB carries the 2nd TRILL Hello report of described new MAC Address described in receive Wen Hou, the neighbor state of described 2nd RB safeguarded by a described RB is switched back into by described transitive state Described Report state.
Method the most according to claim 1, it is characterised in that also include:
If a described RB carries the 2nd TRILL of described new MAC Address described in receive The TRILL carrying described old MAC Address that described 2nd RB sends is have received before hello packet Hello packet, the most described RB maintains neighbours' shape of described 2nd RB of a described RB maintenance State is described transitive state.
3. a state switching method, it is characterised in that including:
Secondary route bridge RB receives the multilink transparent interconnection TRILL neighbours' as described 2nd RB The first multilink transparent interconnection that oneth RB sends is said hello TRILL hello packet;
Described 2nd RB determines on the described RB that a described TRILL hello packet carries and institute The medium access control MAC Address stating the port that the 2nd RB is connected is to have recorded with described 2nd RB The new MAC Address that the MAC Address of described port is different;
Described 2nd RB is determining the MAC of described port that a described TRILL hello packet carries After address is described new MAC Address, by the neighbor state of the described RB that described 2nd RB safeguards Transitive state is switched to by report Report state;
Described 2nd RB determines the TRILL Hello report including described new MAC Address received The quantity of literary composition;
Described 2nd RB reaches predetermined number in the quantity determining the described TRILL hello packet received After value, the MAC Address of the described port recorded by described 2nd RB replaces with described new MAC ground Location;
Described 2nd RB reaches predetermined number in the quantity determining the described TRILL hello packet received After value, described 2nd RB sends the 2nd TRILL including described new MAC Address to a described RB Hello packet;
Described 2nd RB reaches predetermined number in the quantity determining the described TRILL hello packet received After value, the neighbor state of the described RB that described 2nd RB is safeguarded by described 2nd RB is by described mistake The state of crossing switches to described Report state.
Method the most according to claim 3, it is characterised in that described 2nd RB determines described The MAC of the port being connected with described 2nd RB on the described RB that one TRILL hello packet carries The new MAC Address bag that the MAC Address of the described port that address is from described 2nd RB has recorded is different Include:
Obtain the MAC Address of the described port that described 2nd RB has recorded;
Determine the MAC Address of the described port that described 2nd RB recorded and a described TRILL The MAC Address of the described port that hello packet carries is different;
Determine the MAC Address of the described port that a described TRILL hello packet carries be described newly MAC Address.
Method the most according to claim 4, it is characterised in that the described 2nd RB note of described acquisition The MAC Address of the described port of record includes:
Described 2nd RB determines the system of the described RB that a described TRILL hello packet carries Mark and the port-mark of described port;
Described 2nd RB inquires about neighbours' row of described 2nd RB according to described system banner and port-mark Table, obtains the neighbours record corresponding with described system banner and port-mark;
The MAC Address of the described port obtaining described 2nd RB record is recorded according to described neighbours.
6. a routing bridge RB, it is characterised in that including:
First state handover module, the medium of the port for being connected with the 2nd RB on a described RB Access control MAC addresses is become after new MAC Address from old MAC Address, by a described RB dimension The neighbor state of described 2nd RB protected is by reporting that Report state switches to transitive state, wherein said Oneth RB and described 2nd RB multilink transparent interconnection TRILL neighbours each other;
Sending module, for described 2nd RB send no less than predetermined quantity, carry described new MAC First multilink transparent interconnection of address is said hello TRILL hello packet;
Receiver module, for receive described 2nd RB receive described no less than predetermined quantity, carry institute After stating a TRILL hello packet of new MAC Address, response carry described new MAC Address 2nd TRILL hello packet;
Second state handover module, carries described new MAC ground described in receiving at described receiver module After 2nd TRILL hello packet of location, by neighbours' shape of described 2nd RB that a described RB safeguards State is switched back into described Report state by described transitive state.
A RB the most according to claim 6, it is characterised in that also include:
State maintains module, carries described new MAC Address described in receiving at described receiver module Before 2nd TRILL hello packet, a described RB receive described 2nd RB send carry institute In the case of stating the TRILL hello packet of old MAC Address, maintain the described of a described RB maintenance The neighbor state of the 2nd RB is described transitive state.
8. a secondary route bridge RB, it is characterised in that including:
Receiver module, the first multilink transparent interconnection sent for receiving a RB is said hello TRILL Hello packet, a described RB is the multilink transparent interconnection TRILL neighbours of described 2nd RB;
First determines module, for determining the described RB that a described TRILL hello packet carries On the medium access control MAC Address of port that is connected with described 2nd RB for described 2nd RB The new MAC Address that the MAC Address of described port of record is different;
First state handover module, at the described end determining that a described TRILL hello packet carries After the MAC Address of mouth is described new MAC Address, the described RB that described 2nd RB is safeguarded Neighbor state by reporting that Report state switches to transitive state;
Second determines module, for determining the TRILL including described new MAC Address of reception The quantity of hello packet;
Address replacement module, for reaching in the quantity determining the described TRILL hello packet received After predetermined value, the MAC Address of the described port that described 2nd RB has been recorded replace with described newly MAC Address;
Sending module, for reaching predetermined in the quantity determining the described TRILL hello packet received After numerical value, send the 2nd TRILL Hello report including described new MAC Address to a described RB Literary composition;
Second state handover module, in the quantity determining the described TRILL hello packet received After reaching predetermined value, the neighbor state of the described RB safeguarded by described 2nd RB is by described transition State switches to described Report state.
2nd RB the most according to claim 8, it is characterised in that described first determines module bag Include:
Acquiring unit, for obtaining the MAC Address of the described port that described 2nd RB has recorded;
Determine unit, for determining the MAC Address of described port that described 2nd RB recorded and described The MAC Address of the described port that the oneth TRILL hello packet carries is different;
New MAC Address determines unit, described for determining that a described TRILL hello packet carries The MAC Address of port is described new MAC Address.
2nd RB the most according to claim 9, it is characterised in that described acquiring unit includes:
Mark determines subelement, is used for determining described first that a described TRILL hello packet carries The system banner of RB and the port-mark of described port;
Inquiry subelement, for inquiring about the neighbours of described 2nd RB according to described system banner and port-mark List, obtains the neighbours record corresponding with described system banner and port-mark;
Address acquisition subelement, for recording the described end obtaining described 2nd RB record according to described neighbours The MAC Address of mouth.
CN201210133425.0A 2012-05-02 2012-05-02 A kind of state switching method and routing bridge Active CN103384217B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210133425.0A CN103384217B (en) 2012-05-02 2012-05-02 A kind of state switching method and routing bridge
PCT/CN2013/074767 WO2013163937A1 (en) 2012-05-02 2013-04-26 State switching method and router bridge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210133425.0A CN103384217B (en) 2012-05-02 2012-05-02 A kind of state switching method and routing bridge

Publications (2)

Publication Number Publication Date
CN103384217A CN103384217A (en) 2013-11-06
CN103384217B true CN103384217B (en) 2016-09-07

Family

ID=49491916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210133425.0A Active CN103384217B (en) 2012-05-02 2012-05-02 A kind of state switching method and routing bridge

Country Status (2)

Country Link
CN (1) CN103384217B (en)
WO (1) WO2013163937A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324248B (en) * 2018-03-30 2021-07-30 中移(苏州)软件技术有限公司 Bare metal server route updating method and device, electronic equipment and medium
CN113472593B (en) * 2021-07-30 2022-05-17 天津卓越信通科技有限公司 Solution method for link instantaneous change caused by clutter in PHY in auto-negotiation mode
CN116528095A (en) * 2023-07-05 2023-08-01 宇洪通信技术(武汉)有限公司 ONU local connection quick copying and replacing method, medium and ONU equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841450A (en) * 2010-04-08 2010-09-22 深圳市金宏威实业发展有限公司 Method and topological structure for realizing stable communication by forming multiple ring topologies into intersecting ring
CN102299845A (en) * 2011-09-20 2011-12-28 神州数码网络(北京)有限公司 Multi-link transparent interconnection multicast frame transmission method and system thereof
CN102333000A (en) * 2011-10-31 2012-01-25 杭州华三通信技术有限公司 Neighbor maintenance method and equipment based on transparent interconnection network of lots of links
CN102404216A (en) * 2011-11-23 2012-04-04 华为技术有限公司 Method for TRILL (transparent interconnection of lots of links) network protection, routing bridge and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010095028A2 (en) * 2009-02-23 2010-08-26 Telefonaktiebolaget L M Ericsson (Publ) Maximum transmission unit (mtu) size discovery mechanism and method for data-link layers
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)
CN102333028B (en) * 2011-06-22 2013-02-13 杭州华三通信技术有限公司 Method and communication equipment for sending messages by using layered bi-layer virtual private network
CN102387078B (en) * 2011-10-19 2014-11-12 杭州华三通信技术有限公司 Method and routing bridge for maintaining neighbourship in TRILL (Transparent Interconnection of Lots of Links) network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841450A (en) * 2010-04-08 2010-09-22 深圳市金宏威实业发展有限公司 Method and topological structure for realizing stable communication by forming multiple ring topologies into intersecting ring
CN102299845A (en) * 2011-09-20 2011-12-28 神州数码网络(北京)有限公司 Multi-link transparent interconnection multicast frame transmission method and system thereof
CN102333000A (en) * 2011-10-31 2012-01-25 杭州华三通信技术有限公司 Neighbor maintenance method and equipment based on transparent interconnection network of lots of links
CN102404216A (en) * 2011-11-23 2012-04-04 华为技术有限公司 Method for TRILL (transparent interconnection of lots of links) network protection, routing bridge and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Routing Bridges (RBridges): Adjacency;D. Eastlake 3rd, R. Perlman, A. Ghanwani,D. Dutt,V. Manral;《Internet Engineering Task Force (IETF),RFC6327》;20110731;第1-26页 *
Routing Bridges (RBridges): Base Protocol Specification;R.Perlman,D. Eastlake 3rd,D.Dutt,S.Gai, A. Ghanwani;《Internet Engineering Task Force (IETF),RFC6325》;20110731;第1-99页 *

Also Published As

Publication number Publication date
WO2013163937A1 (en) 2013-11-07
CN103384217A (en) 2013-11-06

Similar Documents

Publication Publication Date Title
CN103583063B (en) System and method for the fault recovery of geographic redundancy gateway
KR102038343B1 (en) System and method for convergence and automatic disabling of access points in a wireless mesh network
US8825844B2 (en) Notifying network operator when virtual addresses do not match on network elements configured for interchassis redundancy
CN103200601B (en) The fat or thin mode switching method of WAP
US20130235715A1 (en) Method and system for controlling communication network and router used in the network
WO2014022564A1 (en) Bgp peer prioritization in networks
CN104170460A (en) Network switching method and terminal
US20140169154A1 (en) Method, routing device, and system for network device redundancy backup
CN101141382A (en) Routing update method and router
CN103384217B (en) A kind of state switching method and routing bridge
CN102546427B (en) OSPF (Open Shortest Path First) protocol-based graceful restart (GR) method and router
CN105207902A (en) Main-standby virtual gateway system and method based on SDN
CN106789619B (en) Method for determining mapping server, routing node and autonomous system
CN103780419B (en) A kind of distributed aggregated link group business switch method and device
CN106059793A (en) Router information processing method and apparatus based on graceful restart
CN102611566B (en) Method and device for recovering customer service
CN106063358B (en) Circuit domain dropping terminal communication processing method and equipment
CN103107946B (en) Multicast recovery method and apparatus and include the trunking of this multicast recovery device
US10771284B2 (en) Troubleshooting method and apparatus for edge routing bridge in TRILL campus
CN102195710B (en) Method and system for reelecting principle switch
CN103379008B (en) Change the method and device specifying forwarding unit
CN103442160B (en) A kind of method for switching network and intelligent television
JP4467500B2 (en) Network relay device
CN102833774B (en) The processing method of a kind of IP wireless access network system and primary pseudo-lines fault thereof
CN102724097A (en) ESADI processing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant