CN105933222B - Loop prevention method based on MSTP in a kind of access PE networking of CE dual homed - Google Patents
Loop prevention method based on MSTP in a kind of access PE networking of CE dual homed Download PDFInfo
- Publication number
- CN105933222B CN105933222B CN201610225020.8A CN201610225020A CN105933222B CN 105933222 B CN105933222 B CN 105933222B CN 201610225020 A CN201610225020 A CN 201610225020A CN 105933222 B CN105933222 B CN 105933222B
- Authority
- CN
- China
- Prior art keywords
- mstp
- networking
- dual homed
- prevention method
- bridge
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/18—Loop-free operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/48—Routing tree calculation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/68—Pseudowire emulation, e.g. IETF WG PWE3
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Loop prevention method based on MSTP in a kind of access PE networking of CE dual homed, it is related to data and IP transmission device field, it includes the first PE and the 2nd PE that CE dual homed, which accesses PE networking, the two passes through pseudo-wire respectively and is connected to the 3rd PE, first PE and the 2nd PE are connected to the first CE, loop prevention method includes: one article of management pseudo-wire of creation between the first PE and the 2nd PE, a virtual interface is respectively created in management pseudo-wire both ends, the virtual interface is added in MSTP bridge, and highest priority is set by MSTP bridge, the minimum value being simultaneously revised as the ID of MSTP bridge and expense in all physical ports;The virtual interface enables MSTP function.The present invention, which can be avoided in the access PE networking of CE dual homed, there is double-layer loop, prevents network paralysis.
Description
Technical field
The present invention relates to data and IP transmission device field, it is based in particular to a kind of CE dual homed access PE networking
The loop prevention method of MSTP.
Background technique
In Layer2 switching network, once loop occur will result in the broadcast storm of message, to occupy whole network
Effective bandwidth, cause the paralysis of network.In this case, STP (Spanning is produced to solve double-layer loop
Tree Protocol, Spanning-Tree Protocol), then based on STP, produce RSTP (Rapid Spanning Tree
Protocol, Rapid Spanning Tree Protocol);Since RSTP agreement cannot distinguish between VLAN, all messages are transmitted on a link,
Lead to inefficiency, so gradually appearing MSTP agreement (Multiple Spanning Tree Protocol, multiple spanning tree association
View), which introduces the concept of domain and example on the basis of RSTP, both improves network convergence rate, while also to net
Network bandwidth is made full use of.
Existing MSTP be mainly used in Layer2 switching network VLAN (Virtual Local Area Network, virtually
Local area network) in model, in IPRAN system, two common layer services be VPLS (virtual Private Lan Service,
Virtual Private LAN Service) model, there is also the possibility of double-layer loop for VPLS model.As shown in Figure 1, being CE (Customer
Edge, customer edge) dual homed access PE (Provider Edge, the edge device of service provider backbone) networking
Schematic diagram of a scenario.CE dual homed accesses PE networking, including the first PE (i.e. PE1) and the 2nd PE (i.e. PE2), the two with the first CE
(i.e. CE1) is connected, CE1 connection personal computer (i.e. PC), and PE1 and PE2 also pass through business PW (Pseudo Wire, pseudo-wire) even
Meet the 3rd PE (i.e. PE3), the 2nd CE (i.e. CE2) of PE3 connection.But existing VPLS loop prevention method, it not can solve CE dual homed and connect
Enter in PE networking and the problem of double-layer loop occur, it is therefore necessary to design a kind of method, solve the above problems.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide bases in a kind of access PE networking of CE dual homed
In the loop prevention method of MSTP, it can be avoided in the access PE networking of CE dual homed and double-layer loop occur, prevent network paralysis.
To achieve the above objectives, the technical solution adopted by the present invention is that: be based on MSTP in a kind of access PE networking of CE dual homed
Loop prevention method, it includes the first PE and the 2nd PE that CE dual homed, which accesses PE networking, and the two passes through pseudo-wire respectively and be connected to the 3rd PE, the
One PE and the 2nd PE is connected to the first CE, and loop prevention method includes: one article of management pseudo-wire of creation between the first PE and the 2nd PE,
A virtual interface is respectively created in management pseudo-wire both ends, the virtual interface is added in MSTP bridge, and set MSTP bridge to
Highest priority, while the ID of MSTP bridge and expense are revised as the minimum value in all physical ports;The virtual interface makes
It can MSTP function.
Based on the above technical solution, in active state, VPLS sends a message to MSTP to the management pseudo-wire,
MSTP creates corresponding two virtual interfaces according to VPLS ID.
Based on the above technical solution, when managing pseudo-wire and deactivating, DOWN message is sent to MSTP, MSTP is by two
A virtual interface is kicked out of from MSTP bridge, deletes two virtual interfaces.
Based on the above technical solution, the virtual interface sends or receives bridge protocol data unit signaling message,
And participate in topological calculating.
Based on the above technical solution, when calculating spanning tree, MSTP is by two virtual interfaces and other physical ports
Uniformly calculated.
Based on the above technical solution, the virtual interface and other physical ports are in a public and inside life
Cheng Shuzhong.
The beneficial effects of the present invention are:
1, a management PW is created between PE1 and PE2, a virtual interface is respectively created in the management both ends PW, by the void
Quasi- interface is added in MSTP bridge, sets highest priority for MSTP bridge, while the ID of MSTP bridge and expense being revised as owning
Minimum value in physical port, the virtual interface enable MSTP function, mainly CE dual homed access PE networking in, prevent PE1,
Double-layer loop between PE2 and CE1, prevents network congestion from paralysing.
2, MSTP protocol mode can also be arranged to RSTP and STP by the present invention, can support various protocols mode, extension
The application range of the prior art.
Detailed description of the invention
Fig. 1 is the schematic diagram of a scenario that CE dual homed accesses PE networking in background technique;
Fig. 2 is the schematic diagram of a scenario that CE dual homed of the present invention accesses creative management pseudo-wire in PE networking;
Fig. 3 is virtual interface visioning procedure figure in the present invention.
Appended drawing reference:
The 2nd CE of PE1- the first PE, PE2- the 2nd PE, PE3- the 3rd PE, CE1- the first CE, CE2-.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.
As shown in Fig. 2, the loop prevention method based on MSTP in the access PE networking of CE dual homed, accesses PE networking for CE dual homed,
It includes the first PE (i.e. PE1) and the 2nd PE (i.e. PE2) that CE dual homed, which accesses PE networking, and the two passes through business PW respectively and is connected to third
PE (i.e. PE3), PE3 connection the 2nd CE (i.e. CE2), PE1 and PE2 are also connected to the first CE (i.e. CE1), the personal meter of CE1 connection
Calculation machine (i.e. CP).Loop prevention method of the invention includes: one management PW of creation between PE1 and PE2, manages the PE1 at the both ends PW
At PE2, a virtual interface is respectively created;Two virtual interfaces are added in MSTP bridge, and set highest for MSTP bridge
Priority, while the ID of the MSTP bridge and expense are revised as the minimum value in all physical ports, allow two virtual interfaces to make
It can MSTP function.
As shown in figure 3, the specific visioning procedure of virtual interface is as follows:
S101. management PW is active down;
The message that S102.VPLS sends creative management PW sends UP message to MSTP to MSTP, i.e. VPLS;
S103.MSTP creates corresponding two virtual interface stpif according to VPLS ID, such as: VPLS ID 100, then two
A virtual interface is stpif100, but two virtual interfaces are located at two different stations.The virtual interface is used to send
Or BPDU (Bridge Protocol Data Unit, bridge protocol data unit) signaling message is received, and participate in topological calculating.
S104. two virtual interfaces are added in MSTP bridge, virtual interface enables MSTP function.Since VPLS is corresponding
It is a management PW between PE1 and PE2, network-side port does not have specific physical port corresponding, and network-side port is corresponding
Physical port may change with the variation of topology, so cannot block two virtual interfaces of PE1 and PE2, it is only necessary to hinder
CE1 side ports are filled in, that is, prevent loop between CE1, PE1, PE2.Therefore, highest priority, i.e. priority are set by MSTP bridge
It is revised as 0, while the ID of bridge and expense where two virtual interfaces are revised as the minimum value in all physical ports, such as:
Cist_path_cost (Common and Internal Spanning Tree expense) is 1, cist_priority (Common and Internal Spanning Tree priority)
It is less than physical port for 16, cist_port_id (Common and Internal Spanning Tree port id) initial value.In this way, calculating spanning tree
When, MSTP uniformly calculates two virtual interfaces and other physical ports.
When needing to manage pseudo-wire and deactivating, DOWN message is sent to MSTP, MSTP is by two virtual interfaces from MSTP bridge
In kick out of, delete two virtual interfaces.
The present invention does not support the case where more examples, and all of the port is in example 0, that is, CIST (Common and
Internal Spanning Tree, Common and Internal Spanning Tree) in example, all VLAN are also bundled in example 0, described
Virtual interface and other physical ports avoid double-layer loop in a CIST, and in CIST example.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention
Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.
Claims (5)
1. being generated in a kind of edge device PE networking of customer edge CE dual homed link service provider's backbone network based on more
The loop prevention method of tree protocol MSTP, it includes the first PE and the 2nd PE that CE dual homed, which accesses PE networking, and the two is connected by pseudo-wire respectively
To the 3rd PE, the first PE and the 2nd PE are connected to the first CE, which is characterized in that loop prevention method includes: in the first PE and second
A management pseudo-wire is created between PE, management pseudo-wire both ends are respectively created a virtual interface, the virtual interface is added
In MSTP bridge, and highest priority is set by MSTP bridge, while the ID of MSTP bridge and expense are revised as all physical ports
In minimum value;The virtual interface enables MSTP function;The virtual interface and other physical ports one it is public and
In Internal Spanning Tree.
2. the loop prevention method based on MSTP in CE dual homed access PE networking as described in claim 1, it is characterised in that: the pipe
Manage pseudo-wire in active state, Virtual Private LAN Service VPLS sends a message to MSTP, and MSTP is according to VPLS ID creation pair
Two virtual interfaces answered.
3. the loop prevention method based on MSTP in CE dual homed access PE networking as described in claim 1, it is characterised in that: work as management
It when pseudo-wire deactivates, sends DOWN message and kicks out of two virtual interfaces from MSTP bridge to MSTP, MSTP, delete two virtually
Interface.
4. the loop prevention method based on MSTP in CE dual homed access PE networking as described in claim 1, it is characterised in that: the void
Quasi- interface sends or receives bridge protocol data unit signaling message, and participates in topological calculating.
5. the loop prevention method based on MSTP in CE dual homed access PE networking as described in claim 1, it is characterised in that: calculate life
When at tree, MSTP uniformly calculates two virtual interfaces and other physical ports.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610225020.8A CN105933222B (en) | 2016-04-12 | 2016-04-12 | Loop prevention method based on MSTP in a kind of access PE networking of CE dual homed |
SG11201804252SA SG11201804252SA (en) | 2016-04-12 | 2016-10-21 | Mstp-based anti-loop method in ce dual-homing access pe network |
PCT/CN2016/102797 WO2017177644A1 (en) | 2016-04-12 | 2016-10-21 | Mstp-based anti-loop method in ce dual-homing access pe network |
MYPI2018701851A MY197858A (en) | 2016-04-12 | 2016-10-21 | Mstp-based anti-loop method in ce dual-homing access pe network |
PH12018501085A PH12018501085A1 (en) | 2016-04-12 | 2018-05-21 | Mstp-based anti-loop method in ce dual-homing access pe network |
CL2018001429A CL2018001429A1 (en) | 2016-04-12 | 2018-05-28 | Mstp-based anti-loop method in peing dual access ce network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610225020.8A CN105933222B (en) | 2016-04-12 | 2016-04-12 | Loop prevention method based on MSTP in a kind of access PE networking of CE dual homed |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105933222A CN105933222A (en) | 2016-09-07 |
CN105933222B true CN105933222B (en) | 2019-01-15 |
Family
ID=56838084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610225020.8A Active CN105933222B (en) | 2016-04-12 | 2016-04-12 | Loop prevention method based on MSTP in a kind of access PE networking of CE dual homed |
Country Status (6)
Country | Link |
---|---|
CN (1) | CN105933222B (en) |
CL (1) | CL2018001429A1 (en) |
MY (1) | MY197858A (en) |
PH (1) | PH12018501085A1 (en) |
SG (1) | SG11201804252SA (en) |
WO (1) | WO2017177644A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105933222B (en) * | 2016-04-12 | 2019-01-15 | 烽火通信科技股份有限公司 | Loop prevention method based on MSTP in a kind of access PE networking of CE dual homed |
CN107171952B (en) * | 2017-04-06 | 2019-10-11 | 烽火通信科技股份有限公司 | A kind of method and apparatus for realizing anti-ring in VPLS |
CN114745319A (en) | 2018-06-30 | 2022-07-12 | 华为技术有限公司 | Communication method, equipment and system for avoiding loop |
CN112751754B (en) * | 2019-10-29 | 2022-05-13 | 华为技术有限公司 | Method and equipment for selecting port switched to working state during dual-homing access |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1630261A (en) * | 2003-12-20 | 2005-06-22 | 阿尔卡特公司 | Method for optimising the connectivity in virtual local area networks (VLAN) |
CN102143026A (en) * | 2011-04-29 | 2011-08-03 | 杭州华三通信技术有限公司 | Method for avoiding loop circuit in virtual layer 2 network |
CN102694718A (en) * | 2011-03-25 | 2012-09-26 | 华为技术有限公司 | Virtual private LAN service (VPLS) rapid rerouting method and equipment thereof |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7643409B2 (en) * | 2004-08-25 | 2010-01-05 | Cisco Technology, Inc. | Computer network with point-to-point pseudowire redundancy |
CN101977150B (en) * | 2010-11-05 | 2012-05-23 | 华为技术有限公司 | Method and equipment for real-time recovery of virtual private network (VPN) message forwarding in L3VPN |
CN105933222B (en) * | 2016-04-12 | 2019-01-15 | 烽火通信科技股份有限公司 | Loop prevention method based on MSTP in a kind of access PE networking of CE dual homed |
-
2016
- 2016-04-12 CN CN201610225020.8A patent/CN105933222B/en active Active
- 2016-10-21 WO PCT/CN2016/102797 patent/WO2017177644A1/en active Application Filing
- 2016-10-21 SG SG11201804252SA patent/SG11201804252SA/en unknown
- 2016-10-21 MY MYPI2018701851A patent/MY197858A/en unknown
-
2018
- 2018-05-21 PH PH12018501085A patent/PH12018501085A1/en unknown
- 2018-05-28 CL CL2018001429A patent/CL2018001429A1/en unknown
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1630261A (en) * | 2003-12-20 | 2005-06-22 | 阿尔卡特公司 | Method for optimising the connectivity in virtual local area networks (VLAN) |
CN102694718A (en) * | 2011-03-25 | 2012-09-26 | 华为技术有限公司 | Virtual private LAN service (VPLS) rapid rerouting method and equipment thereof |
CN102143026A (en) * | 2011-04-29 | 2011-08-03 | 杭州华三通信技术有限公司 | Method for avoiding loop circuit in virtual layer 2 network |
Also Published As
Publication number | Publication date |
---|---|
PH12018501085A1 (en) | 2019-01-28 |
CL2018001429A1 (en) | 2018-09-28 |
SG11201804252SA (en) | 2018-06-28 |
CN105933222A (en) | 2016-09-07 |
WO2017177644A1 (en) | 2017-10-19 |
MY197858A (en) | 2023-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8213435B2 (en) | Comprehensive model for VPLS | |
Touch et al. | Transparent interconnection of lots of links (TRILL): Problem and applicability statement | |
CN105933222B (en) | Loop prevention method based on MSTP in a kind of access PE networking of CE dual homed | |
US7881314B2 (en) | Network device providing access to both layer 2 and layer 3 services on a single physical interface | |
US7855950B2 (en) | Congruent forwarding paths for unicast and multicast traffic | |
US20070025256A1 (en) | Broadband access node with a virtual maintenance end point | |
CN101557343B (en) | Detecting and protecting method of double-layer loop in VRRP topological network | |
US20030026209A1 (en) | Avoiding overlapping segments in transparent lan services on ring-based networks | |
CN101631129B (en) | Method and device for transmitting multicast data | |
CN1323522C (en) | Method for determining relation between routers at fringe of client site and virtual private network | |
CN103795630A (en) | Message transmitting method and device of label switching network | |
EP2897328B1 (en) | Method, system and apparatus for establishing communication link | |
Allan et al. | 802.1 aq shortest path bridging design and evolution: The architect's perspective | |
TW202025813A (en) | SDN-based VPN traffic scheduling method and SDN-based VPN traffic scheduling system | |
WO2012146097A1 (en) | Vpls network and ethernet ring switching method and device | |
CN104426777B (en) | Route renewing method and routing device | |
CN104135392A (en) | Dual-node ring route OAM data protecting method | |
CN104104531B (en) | The method and device of L3VPN network sides route is set | |
Faghani et al. | Shortcut switching strategy in metro Ethernet networks | |
CN105119795B (en) | A kind of method for building up and device of Multicast Tunnel | |
CN102801618B (en) | A kind of method and device determining three layer data paths in ethernet ring network | |
CN101534214B (en) | Fault treatment method and device | |
US11140456B2 (en) | Communication network, communication system, and communication method for multicast video streaming over communication provider borders | |
CN100502400C (en) | Double-attach/multi-attach logical packet network method and supplier equipment | |
CN108833284A (en) | A kind of communication means and device of cloud platform and IDC network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |