CN102638387B - Method and device for solving oscillation problem of multi-virtual registration protocol (MVRP) loop of local area network - Google Patents

Method and device for solving oscillation problem of multi-virtual registration protocol (MVRP) loop of local area network Download PDF

Info

Publication number
CN102638387B
CN102638387B CN201210134004.XA CN201210134004A CN102638387B CN 102638387 B CN102638387 B CN 102638387B CN 201210134004 A CN201210134004 A CN 201210134004A CN 102638387 B CN102638387 B CN 102638387B
Authority
CN
China
Prior art keywords
port
blocked
mstp
information
mvrp
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
CN201210134004.XA
Other languages
Chinese (zh)
Other versions
CN102638387A (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.)
New 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 CN201210134004.XA priority Critical patent/CN102638387B/en
Publication of CN102638387A publication Critical patent/CN102638387A/en
Application granted granted Critical
Publication of CN102638387B publication Critical patent/CN102638387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for solving the oscillation problem of a multi-virtual registration protocol (MVRP) loop of a local area network. The method comprises the following step of: if any port on the MVRP loop of any example is used as a temporary example port of the example, opening a fixed mode of the example on the port when an MSTP (Multiple Spanning Tree Protocol) message with information that the port as a blocking port of the example is in a blocking state in the example is received through the port. Based on the same inventive concept, the invention also provides a device capable of avoiding the oscillation of the MVRP loop on the basis of reducing the management workload, lowering the difficulty and ensuring the flexibility of an MVRP.

Description

A kind of method and apparatus solving the concussion of many virtual local network log-on protocols loop
Technical field
The present invention relates to communication technical field, particularly one solves the method and apparatus of many virtual local network log-on protocols (Multiple VLAN Register Protocol, MVRP) loop concussion.
Background technology
Multiattribute log-in protocol (Multiple Register Protocol, MRP), as the carrier of an attributes registration protocol, can be used for propagation property message.The application entity following MRP agreement is called that MRP applies, and MVRP is exactly one of application of MRP.MVRP is used for issuing at equipment room and learning VLAN (Virtual Local Area Network, VLAN) configuration information, makes equipment can VLAN configuration corresponding to automatic synchronization, the configuration effort of minimizing webmaster personnel.After network topology change, MVRP again issues according to new topology and learns VLAN, accomplishes in real time and network topology synchronized update.MVRP has a feature, if namely certain port does not join in certain example, namely equipment is not deposited any one static VLAN in this example, or all VLAN that this port does not allow this example to comprise pass through, and this port does not register the dynamic vlan that this example comprises, so this port can not send the MVRP message of this example, also can not send Multiple Spanning Tree Protocol (Multiple Spanning TreeProtocol, the MSTP) message of this example.
In same Multiple Spanning Tree Protocol MSTP territory, MVRP can along Multiple Spanning Tree Instance (Multiple Spanning Tree Instance, MS TI) register dynamic vlan, likely in some MSTI, there is loop, MSTP can calculate the role of spanning tree and each equipment, port according to spanning tree algorithm, then this port directly can be blocked according to prior art.And in some loops, link will be produced and constantly shake.
Be loop networking structure schematic diagram of the prior art see Fig. 1, Fig. 1.As shown in Figure 1, equipment 101, equipment 102 and equipment 103 start MSTP, and the overall situation opens MVRP, configure all interconnect ports be trunk type and allow all VLAN to pass through, then the MVRP function under all interconnect ports is opened, three equipment belong to a MSTP territory together, and virtual LAN VLAN 100 belongs to stp example 1, and other VLAN acquiescence belongs to stp example 0; Equipment 102 and equipment 103 create static VLAN100; According to MVRP agreement, on three equipment, all of the port all can learn dynamic vlan 100, will produce loop in example 1; Each port role in this loop and state are calculated by spanning tree and obtain, and when port P6 or port P3 calculates blocked state, just there will be the above-mentioned link concussion problem mentioned; Calculate blocked state for port P6, in this loop, equipment 103 is root bridge, and port P1, port P3 and port P4 are designated port, and port P2 and port P5 is root port, and port P6 is port blocked.
After port P6 blocks, no longer send the MVRP assert packet comprising example 1, so port P1 is owing to continuing not receive the MVRP message comprising example 1, dynamic vlan on this port will be canceled, and then port P1 can exit from example 1, and such loop just relieves, so port P6 is owing to never receiving the MSTP BPDUs comprising example 1, after wait timeout, recalculate role by spanning tree, finally move at a slow speed forwarding (forwarding) state; After port P6 recovers forwarding state, can send again the MVRP assert packet comprising example 1, port P1 joins again in example 1, forms loop again, again calculate port blocked P6, so repeatedly shake always in example 1 these 3 equipment inherent.
In order to solve the problem of above-mentioned loop concussion, by the following two kinds method in existing realization: the first is for create static VLAN100 on device 101, make port P1 and port P2 all the time in example 1, can not change because of the registration of MVRP agreement, although this loop can be made like this to exist and keep stable always, but be reduction of the flexibility of MVRP, increase workload and the work difficulty of network manager.The second is priority or the path cost of equipment in change loop, the port blocked that in this loop, spanning tree calculates is made not to be port P6 or port P3, when other ports elect port blocked as, the stability of this loop can not be affected, but lose the flexibility that MSTP spanning tree calculates, and network topology is had an impact.
Summary of the invention
In view of this, the invention provides a kind of method and apparatus solving the concussion of MVRP loop, can, in reduction management workload and difficulty, ensure, on the basis of MVRP flexibility, to avoid the concussion of MVRP loop.
For solving the problems of the technologies described above, technical scheme of the present invention is achieved in that
A kind of method solving the concussion of many virtual local network log-on protocols MVRP loop, be applied on the port on described MVRP loop of the arbitrary equipment in the MVRP loop of arbitrary non-internal spanning tree instance in same Multiple Spanning Tree Protocol MSTP territory, described method comprises:
If described port is as the port blocked of described example, is sent by described port and carry described port MSTP BPDUs for the information of blocked state in this example;
If described port is as the interim instance port of described example, during by described port accepts to the MSTP BPDUs carried as the blocked state of port in this example of the port blocked of described example, open the locking fixed pattern of this example on this port, wherein, described interim instance port is the static virtual local area network (LAN) VLAN described equipment not existing this example, is added the port of this example by registration dynamic vlan.
Wherein, if described port is as the port blocked of described example, described method comprises further:
If determine, described port also belongs to other examples, and when all examples belonging to described port are all in blocked state, are sent carry described port MSTP BPDUs for the information of blocked state in all examples by described port.
Describedly determine that described port also belongs to other examples, and after all examples belonging to described port are all in blocked state, described transmission by described port carries described port for before the MSTP BPDUs of the information of blocked state in all examples, and described method comprises further:
Determine whether described port is MVRP port, if so, then perform described transmission by described port and carry the MSTP BPDUs operation for the information of blocked state in all examples of described port; Otherwise, do not send MSTP BPDUs.
If described port is as the port blocked of described example, described method comprises further:
When described port is converted to forwarding state by blocked state in this example, is sent by described port and carry described port MSTP BPDUs for the information of forwarding state in this example;
If described port is as the interim instance port of described example, described method comprises further:
By described port accepts to the Peer-Port before for blocked state send carry the MSTP BPDUs of information of this Peer-Port for forwarding state in this example time, cancel the fixed pattern of this example on described port.
If described port is as the port blocked of described example, described method comprises further:
When removing enable MSTP, do not send MSTP BPDUs by described port;
If described port is as the interim instance port of described example, described method comprises further:
Time in Preset Time not by the MSTP BPDUs of described port accepts to the port carried as the port blocked of described example for the information of blocked state in this example, cancel the fixed pattern of this example on described port.
If described port is as the interim instance port of described example, described method comprises further:
Record the interim instance port that described port is this example;
When creating the static VLAN in this example, delete the record that described port is the interim instance port of this example, when cancelling the fixed pattern of this example on described port.
If described port is as the interim instance port of described example, described method comprises further:
During by described port accepts to MSTP BPDUs, according to described MSTP BPDUs determine equipment as the port place of port blocked with self not in same MSTP territory time, cancel the fixed pattern of this example on described port.
A kind of device, can be applicable on the port on described MVRP loop of the arbitrary equipment in many virtual local network log-on protocols MVRP loop of arbitrary non-internal spanning tree instance in same Multiple Spanning Tree Protocol MSTP territory, described device comprises: Transmit-Receive Unit and processing unit;
Described Transmit-Receive Unit, if for the port blocked of described port as described example, is sent by described port and carries described port MSTP BPDUs for the information of blocked state in this example; If described port is as the interim instance port of described example, be the MSTP BPDUs of the information of blocked state in this example by the port carried in described port accepts same MSTP territory as the port blocked of described example, wherein, described interim instance port is the static virtual local area network (LAN) VLAN that there is not this example on said device, is added the port of this example by registration dynamic vlan;
Described processing unit, during for receiving in described same MSTP territory MSTP BPDUs for the information of blocked state in this example of the port that carries as the port blocked of described example when described Transmit-Receive Unit, opens the locking fixed pattern of this example on this port.
Wherein, described device comprises further: determining unit;
Described determining unit, if for the port blocked of described port as described example, determines whether described port also belongs to other examples, and the state in other examples;
Described Transmit-Receive Unit, if be further used for the port blocked of described port as described example, when described determining unit determines that described port also belongs to other examples, and affiliated all examples are when being all in blocked state, sent by this port and carry described port MSTP BPDUs for the information of blocked state in all examples.
Described determining unit, is further used for determining whether described port is MVRP port, if so, triggers described the transmission by described port of described Transmit-Receive Unit execution and carries the operation for the MSTP BPDUs of the information of blocked state in all examples of described port; Otherwise, do not trigger described Transmit-Receive Unit and perform described operation.
Described Transmit-Receive Unit, if be further used for the port blocked of described port as described example, when described port is converted to forwarding state by blocked state in this example, is then sent by this port and carry described port MSTP BPDUs for the information of forwarding state in this example; If described port is as the interim instance port of described example, carry this Peer-Port MSTP BPDUs for the information of forwarding state in this example by what send for the Peer-Port of blocked state before described port accepts;
Described processing unit, be further used for before described Transmit-Receive Unit receives for the Peer-Port of blocked state send carry the MSTP BPDUs of information of this Peer-Port for forwarding state in this example time, cancel the fixed pattern of this example on described port.
Described Transmit-Receive Unit, if be further used for the port blocked of described port as described example, when described processing unit removes enable MSTP, does not send MSTP BPDUs;
Described processing unit, if be further used for the port blocked of described port as described example, removes enable MSTP; When described port is as interim instance port, described Transmit-Receive Unit in Preset Time not by the MSTP BPDUs of described port accepts to the port carried as the port blocked of described example for the information of blocked state in this example time, cancel the fixed pattern of this example on described port.
Described device comprises further: record cell and creating unit;
Described record cell, if for the interim instance port of described port as described example, records the interim instance port that described port is this example; When described creating unit creates the static VLAN of this example, delete the record that described port is the interim instance port of this example;
Described creating unit, for creating the static VLAN in this example;
Described processing unit, is further used for when described creating unit creates the static VLAN of this example, and described record cell deletes described port when being the record of interim instance port of this example, cancels the fixed pattern of this example on described port.
Described Transmit-Receive Unit, if be further used for the interim instance port of described port as described example, by described port accepts MSTP BPDUs;
Described processing unit, the MSTP BPDUs being further used for receiving according to described Transmit-Receive Unit determine equipment as the port place of port blocked with this device not in same MSTP territory time, cancel the fixed pattern of this example on described port.
In sum, as the MSTP BPDUs of the equipment at the port place of interim instance port by being sent by port blocked in acquisition MVRP loop in the present invention, know port as port blocked in corresponding instance for blocked state time, the port as interim instance port is opened the fixed pattern of this example.Can, in reduction management workload and difficulty, ensure, on the basis of MVRP flexibility, to avoid the concussion of MVRP loop.
Accompanying drawing explanation
Fig. 1 is loop networking structure schematic diagram of the prior art;
Fig. 2 is the flow chart of the method solving the concussion of MVRP loop in the embodiment of the present invention;
Fig. 3 is MVRP loop networking structure schematic diagram in the specific embodiment of the invention;
Fig. 4 is applied in the specific embodiment of the invention apparatus structure schematic diagram solving MVRP loop concussion method.
Embodiment
For making object of the present invention, technical scheme and advantage clearly understand, to develop simultaneously embodiment referring to accompanying drawing, scheme of the present invention is described in further detail.
A kind of method solving the concussion of MVRP loop is proposed in the embodiment of the present invention, be applied on the port on described MVRP loop of the arbitrary equipment in the MVRP loop of arbitrary non-Internal Spanning Tree in same MSTP territory (Internal Spanning Tree, IST) example.Wherein, ist instance is default instance 0, and non-ist instance is the example created on equipment, or the example in MSTI example outside MSTI example 0.
It is the flow chart of the method solving the concussion of MVRP loop in the embodiment of the present invention see Fig. 2, Fig. 2.Concrete steps are:
Step 201, in same MSTP territory in arbitrary non-ist instance, becomes MVRP loop by MVRP port configuration.
Step 202, if described port is as the port blocked of described example, described equipment is sent by described port and carries described port MSTP BPDUs for the information of blocked state in this example.
Port in this step is the port on described MVRP loop of the arbitrary equipment in the described MVRP loop of arbitrary non-ist instance in same MSTP territory, and calculates the port blocked as described example by spanning tree.
The method comprises further: if determine, described port also belongs to other examples, and when affiliated all examples are all in blocked state, are sent carry described port MSTP BPDUs for the information of blocked state in all examples by described port.Wherein, the speed that specifies with MSTP agreement of the transmission rate of MSTP BPDUs is consistent.
Describedly determine that described port also belongs to other examples, and after affiliated all examples are all in blocked state, described transmission by described port carries described port for before the MSTP BPDUs of the information of blocked state in all examples, and the method comprises further:
Determine whether described port is MVRP port, if so, then perform described transmission by described port and carry the MSTP BPDUs operation for the information of blocked state in all examples of described port; Otherwise, do not send MSTP BPDUs.
In existing realization, if as this example port blocked belonging to other examples be also in blocked state, namely when the example belonging to this port is all in blocked state, do not send MSTP BPDUs, when only there is forwarding state in the example belonging to described port, just send MSTP BPDUs, and this port is the information of blocked state or forwarding state in each example.
Step 203, if described port is as the interim instance port of described example, when equipment is by the MSTP BPDUs of described port accepts to the port carried as the port blocked of described example for the information of blocked state in this example, open locking (fixed) pattern of this example on this port, wherein, described interim instance port is the static VLAN described equipment not existing this example, is added the port of this example by registration dynamic vlan.
Port in this step is the port on described MVRP loop of the arbitrary equipment in the described MVRP loop of arbitrary non-ist instance in same MSTP territory, the any static VLAN of this example unregistered on this port place equipment, added the port of this example by registration dynamic vlan, this generic port is called interim instance port.During the MSTP BPDUs that this port place equipment is sent by the port blocked on MVRP ring to opposite equip. by this port accepts, open the fixed pattern of this example on this port.
As the port place equipment of interim instance port by this port accepts to the MSTP BPDUs sent by unblock port time, with existing realization, be no longer described in detail here.
What open on port in the embodiment of the present invention is the fixed pattern of Case-based Reasoning, and the dynamic vlan that the port opening the fixed pattern of this example learns in this example can not be canceled, and also can not learn the new dynamic vlan in this example.
Now, the equipment as the port place of port blocked no longer sends the MVRP statement comprising this example by this port; Equipment as the port place of interim instance port is not stated by the MVRP of this port accepts to this example, but this port opens the fixed pattern of this example, this port is all the time in this example, the loop of this example exists all the time, and the port as port blocked is also in blocked state all the time.
Referring to accompanying drawing, describe the problem how solving the concussion of MVRP loop in conjunction with specific embodiments in detail.
Be MVRP loop networking structure schematic diagram in the specific embodiment of the invention see Fig. 3, Fig. 3.In Fig. 3 on equipment 301, equipment 302, equipment 303 enable MSTP and MVRP, in equipment 301, equipment 302, equipment 303 example 2 in same MSTP territory, VLAN200 belongs in example 2, the any static VLAN of non-profile instance 2 on equipment 301, is added in example 2 by registration dynamic vlan 200.After in Fig. 3, MVRP loop is formed, in same MSTP territory example 2 MVRP loop in port Pa, Pb, Pc, Pd, Pe, Pf role on this MVRP loop of each equipment and state calculated by spanning tree and obtain, be port blocked when calculating port Pc, due to any static VLAN of profile instance 2 non-on equipment 301, therefore using port Pa and Pb on equipment 101 as interim instance port.Equipment 302 and 303 is configured with the static VLAN200 of example 2, then the port on it is not as interim instance port.
Equipment 302 carries port Pc MSTP BPDUs for the information of blocked state in example 2 by port blocked Pc to equipment 301 transmission.If determine, port Pc also adds other example, and when being all blocked state in all examples, determines whether port Pc is MVRP port, if so, still sends MSTP BPDUs, and carries port Pc information for blocked state in all examples; If when port Pc is forwarding state in arbitrary example in all examples, the MSTP BPDUs of transmission carries the information that port Pc is blocked state or forwarding state in each example; If not MVRP port, then do not send MSTP BPDUs.
Equipment 301 by interim instance port Pa receive equipment 302 by port blocked send carry the MSTP BPDUs of information of port Pc for blocked state in example 2 time, because equipment 302 and equipment 301 are in same MSTP territory, therefore open the fixed pattern of example 2 on port Pc.
Equipment 301 receives the MSTP BPDUs of equipment 303 transmission by interim instance port Pb, and equipment 301 does not open the fixed pattern of example 2 on port Pb, consistent with existing realization, is no longer described in detail here.
Cancel under several situation being described below by specific embodiment as the fixed pattern on the port of the interim instance port of this example, namely recover normal (normal) pattern of this example on this port, concrete condition is as follows:
The first situation
If described port is as the port blocked of described example, when described port is converted to forwarding state by blocked state in this example, then described equipment is sent by described port and carries the MSTP BPDUs that described port is the information of forwarding state in this example;
If described port is as the interim instance port of described example, described equipment by described port accepts to the Peer-Port before for blocked state send carry the MSTP BPDUs of information of this Peer-Port for forwarding state in this example time, cancel the fixed pattern of this example on described port.
The generation of this kind of situation may due to change in topology, and spanning tree recalculates, and after recalculating, this port is not re-used as the port blocked of this example, then when sending MSTP BPDUs, what carry is this port information for forwarding state in this example.When this port is as the interim instance port of this example, receive by Peer-Port send carry before as MSTP BPDUs for the information of forwarding state in this example of the described Peer-Port of port blocked time, know that former port blocked is no longer the port blocked of this example, therefore cancel the fixed pattern of this example on described port.
In Fig. 3, due to change in topology, recalculate rear Pc no longer as an example 2 port blocked, as Pe or Pf etc. as port blocked time, equipment 302 to be sent to equipment 301 by port Pc and carries port Pc MSTP BPDUs for the information of forwarding state in example 2.
What by port Pa, equipment 301 received that equipment 302 sends carries the MSTP BPDUs of information that port Pc is forwarding state example 2 in, know that port Pc is converted to forwarding state by blocked state in example 2, therefore cancel the fixed pattern of example 2 on port Pa.
The second situation
If described port is as the port blocked of described example, when described equipment removes enable MSTP, described equipment does not send MSTP BPDUs by described port;
If described port is as the interim instance port of described example, described equipment in Preset Time not by the MSTP BPDUs of described port accepts to the port carried as the port blocked of described example for the information of blocked state in this example time, cancel the fixed pattern of this example on described port.
In same MSTP territory arbitrary non-ist instance MVRP loop in, each devices enable MSTP and MVRP, so just can cause the problem that MVRP loop shakes.If when this equipment removes enable MSTP, this equipment no longer sends MSTP BPDUs.
When specific implementation, Preset Time opens the fixed pattern of this example on that port during by described equipment, a timer is set, the time of the fixed pattern of this example opened on that port in record, to when being timed to sometime, when also not receiving MSTP BPDUs for the information of blocked state in this example of the port that carries as the port blocked of described example, cancel the fixed pattern of this example on described port.Concrete timing is arranged according to actual needs.
In Fig. 3, if when equipment 302 removes enable MSTP, no-go end mouth Pc sends any MSTP BPDUs.
When equipment 301 opens the fixed pattern on port Pa, time of this pattern opened in record, receive equipment 302 by port Pc send to carry port Pc be the message of the information of blocked state example 2 in time, the more time of new record; Do not receive in Preset Time equipment 302 by port Pc send carry the message of information of port Pc for blocked state in example 2 time, cancel the fixed pattern of example 2 on port Pa.
The third situation
If described port is as the interim instance port of described example, record the interim instance port that described port is this example.
When equipment creates the static VLAN of this example, delete the record that described port is the interim instance port of this example, and cancel the fixed pattern of this example on described port.
In this kind of situation, create the static VLAN in this example when described equipment, then this port is not re-used as the interim instance port of this example, and therefore, described equipment cancels the fixed pattern of this example on described port.To the port as interim instance port at local record, the concrete mode of record can be the transient port of this example for this port of mark, or records by form binding the interim instance port that this port is this example.
In Fig. 3, when equipment 301 determines the static VLAN of self non-profile instance 2, when adding example 2 by registration dynamic vlan 100, record port Pa and Pb is interim instance port.
When equipment 301 creates the static VLAN of example 2, then delete the record that port Pa is the interim instance port of example 2, and cancel the fixed pattern of example 2 on port Pa.
4th kind of situation
If described port is as the interim instance port of described example, when described equipment passes through described port accepts to MSTP BPDUs, according to described MSTP BPDUs determine equipment as the port place of port blocked with self not in same MSTP territory time, cancel the fixed pattern of this example on described port.
The generation of this kind of situation may due to the equipment at former port blocked place, or the configuration of equipment change territory, former interim instance port place or MSTP operational mode change cause two equipment not in same MSTP territory; The concussion of MVRP loop can not be there is between equipment not in same MSTP territory, therefore cancel the fixed pattern of this example on described port as the equipment at interim instance port place, recover the normal pattern of this example on that port.
In Fig. 3, due to equipment 301 or equipment 302 change territory configuration or MSTP operational mode change after, when equipment 301 receives the MVRP message that equipment 302 sent by port Pc, when finding that two equipment are not in same MSTP territory, cancel the fixed pattern of example 2 on described port Pa.
Based on same inventive concept, the present invention also proposes a kind of device, can be applicable on the port on described MVRP loop of the arbitrary equipment in the MVRP loop of arbitrary non-ist instance in same MSTP territory.Be be applied in the specific embodiment of the invention apparatus structure schematic diagram solving MVRP loop concussion method see Fig. 4, Fig. 4.This device comprises: Transmit-Receive Unit 401 and processing unit 402.
Transmit-Receive Unit 401, if for the port blocked of described port as described example, is sent by described port and carries described port MSTP BPDUs for the information of blocked state in this example; If described port is as the interim instance port of described example, be the MSTP BPDUs of the information of blocked state in this example by the port carried in described port accepts same MSTP territory as the port blocked of described example, wherein, described interim instance port is the static VLAN that there is not this example on said device, is added the port of this example by registration dynamic vlan;
Processing unit 402, during for receiving in described same MSTP territory MSTP BPDUs for the information of blocked state in this example of the port that carries as the port blocked of described example when Transmit-Receive Unit 401, opens the fixed pattern of this example on this port.
Preferably, this device comprises further: determining unit 403.
Determining unit, for determining whether described port also belongs to other examples, and the state in other examples;
Transmit-Receive Unit 401, if be further used for the port blocked of described port as described example, when described determining unit determines that described port also belongs to other examples, and affiliated all examples are when being all in blocked state, sent by this port and carry described port MSTP BPDUs for the information of blocked state in all examples.
Preferably,
Determining unit 403, is further used for determining whether described port is MVRP port, and if so, triggering Transmit-Receive Unit 401 is performed described transmission by described port and carries the operation for the MSTP BPDUs of the information of blocked state in all examples of described port; Otherwise, do not trigger Transmit-Receive Unit 401 and perform described operation.
Preferably,
Transmit-Receive Unit 401, if be further used for the port blocked of described port as described example, when described port is converted to forwarding state by blocked state in this example, is then sent by this port and carry described port MSTP BPDUs for the information of forwarding state in this example; If described port is as the interim instance port of described example, carry this Peer-Port MSTP BPDUs for the information of forwarding state in this example by what send for the Peer-Port of blocked state before this port accepts;
Processing unit 402, be further used for before Transmit-Receive Unit 401 receives for the Peer-Port of blocked state send carry the MSTP BPDUs of information of this Peer-Port for forwarding state in this example time, cancel the fixed pattern of this example on described port.
Preferably,
Transmit-Receive Unit 401, if be further used for the port blocked of described port as described example, when processing unit 402 removes enable MSTP, does not send MSTP BPDUs;
Processing unit 402, if be further used for the port blocked of described port as described example, removes enable MSTP; When described port is as interim instance port, Transmit-Receive Unit 401 in Preset Time not by the MSTP BPDUs of described port accepts to the port carried as the port blocked of described example for the information of blocked state in this example time, cancel the fixed pattern of this example on described port.
Preferably, this device comprises further: record cell 404 and creating unit 405;
Record cell 404, if for the interim instance port of described port as described example, records the interim instance port that described port is this example; When creating unit 405 creates the static VLAN of this example, delete the record that described port is the interim instance port of this example.
Creating unit 405, for creating the static VLAN in this example.
Processing unit 402, is further used for when creating unit 405 creates the static VLAN of this example, and record cell 404 deletes described port when being the record of interim instance port of this example, cancels the fixed pattern of this example on described port.
Preferably,
Transmit-Receive Unit 401, if be further used for the interim instance port of described port as described example, by described port accepts MSTP BPDUs.
Processing unit 402, the MSTP BPDUs being further used for receiving according to Transmit-Receive Unit 401 determine equipment as the port place of port blocked with this device not in same MSTP territory time, cancel the fixed pattern of this example on described port.
The unit of above-described embodiment can be integrated in one, and also can be separated deployment; A unit can be merged into, also can split into multiple subelement further.
In sum, as the MSTP BPDUs of the equipment at the port place of interim instance port by being sent by port blocked in acquisition MVRP loop in the specific embodiment of the invention, know port as port blocked in corresponding instance for blocked state time, the port as interim instance port is opened the fixed pattern of this example.Can, in reduction management workload and difficulty, ensure, on the basis of MVRP flexibility, to avoid the concussion of MVRP loop.
When all examples belonging to port blocked are all in blocked state, still send MSTP BPDUs by this port blocked, solve the problem that the MSTP state in loop is shaken repeatedly, reduce the management difficulty that keeper configures device instance configuration and VLAN.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. one kind solves the method for many virtual local network log-on protocols MVRP loop concussion, be applied on the port on described MVRP loop of the arbitrary equipment in the MVRP loop of arbitrary non-internal spanning tree instance in same Multiple Spanning Tree Protocol MSTP territory, it is characterized in that, described method comprises:
If described port is as the port blocked of described example, is sent by described port and carry described port MSTP BPDUs for the information of blocked state in this example;
If described port is as the interim instance port of described example, during by described port accepts to the MSTP BPDUs of the information of the blocked state of port in this example carried as the port blocked of described example, open the locking fixed pattern of this example on this port, wherein, described interim instance port is the static virtual local area network (LAN) VLAN described equipment not existing this example, is added the port of this example by registration dynamic vlan; The dynamic vlan that the port opening the fixed pattern of this example learns in this example can not be canceled, and also can not learn the new dynamic vlan in this example.
2. method according to claim 1, is characterized in that, if described port is as the port blocked of described example, described method comprises further:
If determine, described port also belongs to other examples, and when all examples belonging to described port are all in blocked state, are sent carry described port MSTP BPDUs for the information of blocked state in all examples by described port.
3. method according to claim 2, it is characterized in that, describedly determine that described port also belongs to other examples, and after all examples belonging to described port are all in blocked state, described transmission by described port carries described port for before the MSTP BPDUs of the information of blocked state in all examples, and described method comprises further:
Determine whether described port is MVRP port, if so, then perform described transmission by described port and carry the MSTP BPDUs operation for the information of blocked state in all examples of described port; Otherwise, do not send MSTP BPDUs.
4. the method according to claim 1-3 any one, is characterized in that, if described port is as the port blocked of described example, described method comprises further:
When described port is converted to forwarding state by blocked state in this example, is sent by described port and carry described port MSTP BPDUs for the information of forwarding state in this example;
If described port is as the interim instance port of described example, described method comprises further:
By described port accepts to the Peer-Port before for blocked state send carry the MSTP BPDUs of information of this Peer-Port for forwarding state in this example time, cancel the fixed pattern of this example on described port.
5. the method according to claim 1-3 any one, is characterized in that, if described port is as the port blocked of described example, described method comprises further:
When removing enable MSTP, do not send MSTP BPDUs by described port;
If described port is as the interim instance port of described example, described method comprises further:
Time in Preset Time not by the MSTP BPDUs of described port accepts to the port carried as the port blocked of described example for the information of blocked state in this example, cancel the fixed pattern of this example on described port.
6. the method according to claim 1-3 any one, is characterized in that, if described port is as the interim instance port of described example, described method comprises further:
Record the interim instance port that described port is this example;
When creating the static VLAN in this example, deleting the record that described port is the interim instance port of this example, cancelling the fixed pattern of this example on described port.
7. the method according to claim 1-3 any one, is characterized in that, if described port is as the interim instance port of described example, described method comprises further:
During by described port accepts to MSTP BPDUs, according to described MSTP BPDUs determine equipment as the port place of port blocked with self not in same MSTP territory time, cancel the fixed pattern of this example on described port.
8. a device, be applied on the port on described MVRP loop of the arbitrary equipment in many virtual local network log-on protocols MVRP loop of arbitrary non-internal spanning tree instance in same Multiple Spanning Tree Protocol MSTP territory, it is characterized in that, described device comprises: Transmit-Receive Unit and processing unit;
Described Transmit-Receive Unit, if for the port blocked of described port as described example, is sent by described port and carries described port MSTP BPDUs for the information of blocked state in this example; If described port is as the interim instance port of described example, be the MSTP BPDUs of the information of blocked state in this example by the port carried in described port accepts same MSTP territory as the port blocked of described example, wherein, described interim instance port is the static virtual local area network (LAN) VLAN that there is not this example on said device, is added the port of this example by registration dynamic vlan;
Described processing unit, during for receiving in described same MSTP territory MSTP BPDUs for the information of blocked state in this example of the port that carries as the port blocked of described example when described Transmit-Receive Unit, open the locking fixed pattern of this example on this port, wherein, the dynamic vlan that the port opening the fixed pattern of this example learns in this example can not be canceled, and also can not learn the new dynamic vlan in this example.
9. device according to claim 8, is characterized in that, described device comprises further: determining unit;
Described determining unit, if for the port blocked of described port as described example, determines whether described port also belongs to other examples, and the state in other examples;
Described Transmit-Receive Unit, if be further used for the port blocked of described port as described example, when described determining unit determines that described port also belongs to other examples, and affiliated all examples are when being all in blocked state, sent by this port and carry described port MSTP BPDUs for the information of blocked state in all examples.
10. device according to claim 9, is characterized in that,
Described determining unit, is further used for determining whether described port is MVRP port, if so, triggers described the transmission by described port of described Transmit-Receive Unit execution and carries the operation for the MSTP BPDUs of the information of blocked state in all examples of described port; Otherwise, do not trigger described Transmit-Receive Unit and perform described operation.
11. devices according to Claim 8 described in-10 any one, is characterized in that,
Described Transmit-Receive Unit, if be further used for the port blocked of described port as described example, when described port is converted to forwarding state by blocked state in this example, is then sent by this port and carry described port MSTP BPDUs for the information of forwarding state in this example; If described port is as the interim instance port of described example, carry this Peer-Port MSTP BPDUs for the information of forwarding state in this example by what send for the Peer-Port of blocked state before described port accepts;
Described processing unit, be further used for before described Transmit-Receive Unit receives for the Peer-Port of blocked state send carry the MSTP BPDUs of information of this Peer-Port for forwarding state in this example time, cancel the fixed pattern of this example on described port.
12. devices according to Claim 8 described in-10 any one, is characterized in that,
Described Transmit-Receive Unit, if be further used for the port blocked of described port as described example, when described processing unit removes enable MSTP, does not send MSTP BPDUs;
Described processing unit, if be further used for the port blocked of described port as described example, removes enable MSTP; When described port is as interim instance port, described Transmit-Receive Unit in Preset Time not by the MSTP BPDUs of described port accepts to the port carried as the port blocked of described example for the information of blocked state in this example time, cancel the fixed pattern of this example on described port.
13. devices according to Claim 8 described in-10 any one, it is characterized in that, described device comprises further: record cell and creating unit;
Described record cell, if for the interim instance port of described port as described example, records the interim instance port that described port is this example; When described creating unit creates the static VLAN of this example, delete the record that described port is the interim instance port of this example;
Described creating unit, for creating the static VLAN in this example;
Described processing unit, is further used for when described creating unit creates the static VLAN of this example, and described record cell deletes described port when being the record of interim instance port of this example, cancels the fixed pattern of this example on described port.
14. devices according to Claim 8 described in-10 any one, is characterized in that,
Described Transmit-Receive Unit, if be further used for the interim instance port of described port as described example, by described port accepts MSTP BPDUs;
Described processing unit, the MSTP BPDUs being further used for receiving according to described Transmit-Receive Unit determine equipment as the port place of port blocked with this device not in same MSTP territory time, cancel the fixed pattern of this example on described port.
CN201210134004.XA 2012-04-28 2012-04-28 Method and device for solving oscillation problem of multi-virtual registration protocol (MVRP) loop of local area network Active CN102638387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210134004.XA CN102638387B (en) 2012-04-28 2012-04-28 Method and device for solving oscillation problem of multi-virtual registration protocol (MVRP) loop of local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210134004.XA CN102638387B (en) 2012-04-28 2012-04-28 Method and device for solving oscillation problem of multi-virtual registration protocol (MVRP) loop of local area network

Publications (2)

Publication Number Publication Date
CN102638387A CN102638387A (en) 2012-08-15
CN102638387B true CN102638387B (en) 2015-05-13

Family

ID=46622640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210134004.XA Active CN102638387B (en) 2012-04-28 2012-04-28 Method and device for solving oscillation problem of multi-virtual registration protocol (MVRP) loop of local area network

Country Status (1)

Country Link
CN (1) CN102638387B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360076B (en) * 2016-05-10 2021-06-15 中兴通讯股份有限公司 VLAN (virtual local area network) attribute registration method and device
CN108092867B (en) * 2017-12-07 2020-11-06 新华三技术有限公司 VLAN registration method and device
CN108282401B (en) * 2018-03-12 2021-01-26 烽火通信科技股份有限公司 Application method of ERPS protocol on MPLS network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237403A (en) * 2008-03-04 2008-08-06 中兴通讯股份有限公司 Service multiplexing method for Ethernet
CN101534214A (en) * 2009-04-20 2009-09-16 华为技术有限公司 Fault treatment method and device
CN101610193A (en) * 2009-07-27 2009-12-23 武汉烽火网络有限责任公司 Ethernet ring network finds and generates the method for ring automatically
WO2010007467A1 (en) * 2008-07-14 2010-01-21 Telefonaktiebolaget Lm Ericsson (Publ) Multiple tree registration protocol
CN102130912A (en) * 2011-03-09 2011-07-20 杭州华三通信技术有限公司 Rapid ring protection protocol (RRPP)-based multiple virtual local area network (VLAN) register protocol (MVRP) realization method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237403A (en) * 2008-03-04 2008-08-06 中兴通讯股份有限公司 Service multiplexing method for Ethernet
WO2010007467A1 (en) * 2008-07-14 2010-01-21 Telefonaktiebolaget Lm Ericsson (Publ) Multiple tree registration protocol
CN101534214A (en) * 2009-04-20 2009-09-16 华为技术有限公司 Fault treatment method and device
CN101610193A (en) * 2009-07-27 2009-12-23 武汉烽火网络有限责任公司 Ethernet ring network finds and generates the method for ring automatically
CN102130912A (en) * 2011-03-09 2011-07-20 杭州华三通信技术有限公司 Rapid ring protection protocol (RRPP)-based multiple virtual local area network (VLAN) register protocol (MVRP) realization method and equipment

Also Published As

Publication number Publication date
CN102638387A (en) 2012-08-15

Similar Documents

Publication Publication Date Title
KR102156964B1 (en) A method and system for synchronizing with neighbor in a distributed resilient network interconnect 〔drni〕 link aggregation group
EP2436154B1 (en) Transient loop prevention in a hybrid layer-2 network
CN102868647B (en) Data processing method and device based on Linux network core
CN104104561A (en) SDN (self-defending network) firewall state detecting method and system based on OpenFlow protocol
CA2463440C (en) Technology for improving stp protocols in ethernet networks supporting vlans
CN105897465A (en) Equipment configuration method and apparatus
CN103297256B (en) The management method of a kind of thing network sensing layer node and system
EP2736198B1 (en) Message processing method and system
CN102638387B (en) Method and device for solving oscillation problem of multi-virtual registration protocol (MVRP) loop of local area network
US20170223104A1 (en) Automated Mirroring And Remote Switch Port Analyzer (RSPAN)/ Encapsulated Remote Switch Port Analyzer (ERSPAN) Functions Using Fabric Attach (FA) Signaling
CN106162639A (en) SDN wireless network management platform based on Floodlight and authentication method
CN108768714A (en) A kind of data center's total management system and its network security implementation method
CN106059881B (en) A kind of SDN and its flow lead-in and lead-out method
CN108023802A (en) Data transmission system and method
EP3200398A1 (en) Automated mirroring and remote switch port analyzer (rspan)/encapsulated remote switch port analyzer (erspan) functions using fabric attach (fa) signaling
WO2016101546A1 (en) Method and device for implementing operations, administration and maintenance function
Salih et al. OpenFlow 1.3 extension for OMNeT++
CN106452817B (en) Relaying configuration management method and system
WO2012119372A1 (en) Message processing method, device and system
CN107465621A (en) A kind of router finds method, SDN controllers, router and network system
CN109873724A (en) Service chaining high availability method applied to SDN network
Marchese et al. Simple protocol enhancements of rapid spanning tree protocol over ring topologies
US20180191603A1 (en) Detecting and Mitigating Loops
CN109120536B (en) Space network routing and forwarding method oriented to determining link state change
CN104092574B (en) A kind of IRF divisions cause the treating method and apparatus of RPR ring failures

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.