CN106533741A - Method and device for achieving MSRP ring network protection system based on OpenFlow - Google Patents

Method and device for achieving MSRP ring network protection system based on OpenFlow Download PDF

Info

Publication number
CN106533741A
CN106533741A CN201610929939.5A CN201610929939A CN106533741A CN 106533741 A CN106533741 A CN 106533741A CN 201610929939 A CN201610929939 A CN 201610929939A CN 106533741 A CN106533741 A CN 106533741A
Authority
CN
China
Prior art keywords
ring
outlet
msrp
node
label
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.)
Granted
Application number
CN201610929939.5A
Other languages
Chinese (zh)
Other versions
CN106533741B (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.)
Suzhou Centec Communications Co Ltd
Original Assignee
Centec Networks Suzhou 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 Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN201610929939.5A priority Critical patent/CN106533741B/en
Publication of CN106533741A publication Critical patent/CN106533741A/en
Application granted granted Critical
Publication of CN106533741B publication Critical patent/CN106533741B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Abstract

The invention discloses a method and a device for achieving an MSRP ring network protection system based on OpenFlow. The method comprises the steps of distributing a flow table to a switch via a controller; assigning labels and distributing configuration in a unified manner, thus allowing the controller to collect a connection sequence of nodes on the ring and maintaining MAC information of the nodes, wherein an independent MPLS label pool is provided for distributing mpls label; and executing protection by using type as a group table of ff, preferentially using a work ring channel, thus achieving MSRP ring network protection in a MPLS-TP network based on semantics of the OpenFlow, and facilitating unified configuration and management.

Description

The method and device of MSRP Ring protection systems is realized based on OpenFlow
Technical field
The present invention relates to a kind of shared ring protection (MSRP) technologies of MPLS-TP, are based on OpenFlow more particularly, to a kind of Realize the method and device of MSRP Ring protection systems.
Background technology
Ring topology is most widely used topological form in MPLS-TP network, and MPLS-TP environmental protection protective switching (MRPS) will The service recovery time in ring network fault is asked to be less than 50ms.MRPS has two kinds of mechanism:Wrapping (loopback) mode;Steering (steering) mode.Wrapping modes are similar to the MSP-ring MS-SPRing being used widely in SDH, fault-free When, customer service is run on work LSP;When failure occurs, after the neighbors of fault section detects failure, by APS agreements Business on all working LSP is bridged in the protection path of specialty, business is transferred to faulty section along ring in protection path Efforts LSP is bridged back again after the opposite end neighbors of section.
Therefore, traditional MPLS-TP has supported the shared ring protections (MSRP) of MPLS-TP.With reference to shown in Fig. 1, label , from ring on E points, from ring on A points, from ring on B points, they finally will be from ring under D points for LSP3 for LSP2 for switching path LSP1.So For it is all will be from the message of ring under D points, the building ring tunnel on ring is exactly clockwise D- > E- > F- > A- > B- > C (being designated as RcW_D), Protection rings tunnel are exactly D- > C- > B- > A- > F- > E (being designated as RaP_D) counterclockwise.Its In middle RcW_D, R represents ring (ring), and c represents that clockwise W represents work (Working), and D represents that lower circling point is D.Normally In the case of, no matter message all can reach D points and then lower ring along RcW_D from ring on which node.If link is occurred in that on ring Failure, will be switched to RaP_D, reach ring under D points.Wherein, dotted line in figure --- --- represents physical link physical Links, ★ ★ ★ represent building ring tunnel RcW_D, and ### represents protection ring tunnel RaP_D.
So that LSP2 is from ring on A points as an example, when link is intact, sequentially it is A- > B- > C- > D.Assume chain between B-C Break on road, then route reforms into A- > B- > A- > F- > E- > D.When link-recovery between B-C, then be just returned to A- > B- > C- > D.
But, there is following a few point defects in the MSRP looped network protections that existing MPLS-TP is realized:1st, configure complicated, have on ring Multiple nodes, each node should have the protection ring for going to other nodes, the MPLS label configuration for having upper ring and a lower ring again, such as Fruit considers further that the additions and deletions of node on the ring, and that is just more troublesome.2nd, be inconvenient to be managed collectively.On ring, multiple nodes need each autogamy Put, if producer is different, collocation method also may be differed.
Accordingly, it is desirable to provide a kind of new scheme is realizing the MSRP looped network protections in MPLS-TP network, in order to carry out Unified configuration and management.
The content of the invention
It is an object of the invention to overcome the defect of prior art, there is provided a kind of to realize that MSRP looped networks are protected based on OpenFlow The method and device of protecting system, by the semanteme of OpenFlow realizing the configuration of the MSRP looped network protections in MPLS-TP network.
For achieving the above object, the present invention proposes following technical scheme:It is a kind of to realize that MSRP looped networks are protected based on OpenFlow The method of protecting system, including:
S1, Topology Discovery:
Controller issues the first flow table to all controlled switches, obtains putting in order and mutually for MSRP nodes on the ring Port numbers even;
S2, configures upper ring and a lower ring action:
Other link points on MSRP rings in addition to lower circling point issue first group of table and second corresponding with first group of table Table, for MPLS label, building ring tunnel MPLS label and the protection ring tunnel of lower circling point are configured on each link point MPLS label;And the 3rd flow table is configured on lower circling point so as to the MPLS message bullets for receiving are fallen into building ring/protection ring tunnel MPLS label simultaneously issues the next-hop outside MSRP rings;
S3, configuration protection ring:
Other link points on ring in addition to lower circling point issue second group of table and on ring except lower circling point and its side clockwise To upstream neighbors outside other link points issue the 4th flow table corresponding with second group of table so that node on the ring will from its One outlet receives message prior and does not change label from the rightabout second outlet forwarding of itself and first outlet, when second outlet event Label is changed to into protection ring tunnel MPLS label during barrier and is forwarded from first outlet, after second outlet is recovered, still along second party To forwarding;
Other link points on ring in addition to lower circling point issue the 3rd group of table and lower circling point i.e. its side clockwise are removed on ring To upstream neighbors outside other link points issue the 5th flow table corresponding with the 3rd group of table so that node on the ring will from its Two outlets receive message prior and do not change label from its first outlet forwarding, when first outlet failure, then by packet loss;
Wherein, when first outlet is to export counterclockwise, second outlet is then outlet clockwise, conversely, working as first outlet During to export clockwise, second outlet is then outlet counterclockwise.
Preferably, step S1 includes:The controller is using Topology Discovery mechanism to all controlled switches Send for matching first flow table of LLDP, then sent from the interface of each switch by packet_out message LLDP, when the LLDP is served controller by other switches, controller can just obtain whole MSRP rings topology, i.e., save on ring The port numbers for putting in order and interconnecting of point.
Preferably, methods described also includes:
One or more nodes are reduced on S4, MSRP ring:
Configuration on the node for removing all is deleted, and its clockwise next-hop node is removed into the described 4th The configuration of flow table, and update its anticlockwise next-hop node MAC Address be its clockwise next-hop node MAC;Its anticlockwise next-hop node is removed the configuration of the 5th flow table simultaneously, and updates which clockwise Next-hop node MAC Address be its anticlockwise next-hop node MAC.
Preferably, methods described also includes:
Again on S5, MSRP ring increase the node of reduction:
The configuration removed in step S4 is recovered again, and changeing back again modification.
Preferably, the type of first, second, third group of table is fast failure switching (Type-FF).
Present invention also offers a kind of device that MSRP Ring protection systems are realized based on OpenFlow, described device bag Include:
Topology Discovery module:For issuing the first flow table to all controlled switches, so that controller obtains MSRP The port numbers for putting in order and interconnecting of node on the ring;
Upper ring and a lower ring action configuration module:First group is issued for other link points on MSRP rings in addition to lower circling point Table and the second flow table corresponding with first group of table, for MPLS label, the building ring of lower circling point are configured on each link point Tunnel MPLS label and protection ring tunnel MPLS label;And the 3rd flow table is configured on lower circling point, so that upper circling point will be received MPLS message bullets fall building ring/protection ring tunnel MPLS label and issue the next-hop outside MSRP rings;
Protection ring configuration module:
Second group of table is issued and on ring except lower circling point and its up time for other link points on ring in addition to lower circling point Other link points outside the upstream neighbors in pin direction issue the 4th flow table corresponding with second group of table, so that the upper circling point on ring Preferentially message is sent from its second outlet plus building ring tunnel MPLS label, protection ring tunnel is added when second outlet failure Road MPLS label is sent from first outlet, after second outlet is recovered, is added building ring tunnel MPLS label and second is gone out from which Mouth sends;And make node on the ring receive message prior from its first outlet and not change label to forward from its second outlet, when the Label is changed to into protection ring tunnel MPLS label during two outlet failures and is forwarded from first outlet, after second outlet is recovered, still Forward in a second direction;
Also, for other link points on ring in addition to lower circling point issue the 3rd group of table and on ring except lower circling point i.e. its Other link points outside clockwise upstream neighbors issue the 5th flow table corresponding with the 3rd group of table, so that node on the ring Message prior will be received from its second outlet and not change label from its second outlet forwarding, when second outlet failure, then will report Text is abandoned;
Wherein, when first outlet is to export counterclockwise, second outlet is then outlet clockwise, conversely, working as first outlet During to export clockwise, second outlet is then outlet counterclockwise.
Preferably, the Topology Discovery module using Topology Discovery mechanism to all controlled switches send for First flow table with LLDP, then sends LLDP, Deng Daosuo from the interface of each switch by packet_out message Stating LLDP and controller being served by other switches, controller can just obtain whole MSRP rings topology, i.e. the arrangement of node on the ring is suitable Sequence and the port numbers of interconnection.
Preferably, described device also includes:Knot removal module, for deleting one or more nodes on MSRP rings, And the configuration on the node for removing all is deleted, and by its clockwise next-hop node remove second group of table and The configuration of the 4th flow table, and update its anticlockwise next-hop node MAC Address be its clockwise next-hop The MAC of node;Its anticlockwise next-hop node is removed the configuration of the 5th flow table simultaneously, and it is clockwise to update which The MAC Address of the next-hop node in direction is the MAC of its anticlockwise next-hop node.
Preferably, described device also includes:Node increases module, for the node for removing is increased again, and will section The configuration that point deletion module is removed is recovered again, changeing back again for modification.
Compared with prior art, the present invention realizes that based on the semanteme of OpenFlow the MSRP looped networks in MPLS-TP network are protected Using fast failure switch groups table, the configuration of shield, realizes that looped network protection switches, be easy to unified configuration and manage.
Description of the drawings
Fig. 1 is the topological schematic diagram of the shared ring protections of traditional MPLS-TP;
Fig. 2 is the schematic flow sheet of the method that the present invention realizes MSRP Ring protection systems based on OpenFlow.
Specific embodiment
Below in conjunction with the accompanying drawing of the present invention, clear, complete description is carried out to the technical scheme of the embodiment of the present invention.
A kind of disclosed method and device that MSRP Ring protection systems are realized based on OpenFlow, is based on OpenFlow is semantic, issues flow table to switch by controller, distributes label to node on the ring unitedly and issues configuration, is used for The realization of the MSRP looped network protections in MPLS-TP network.
MSRP ring of the embodiment of the present invention with reference to shown in Fig. 1 so that D points are lower circling point as an example, is very easy to promote describing To other nodes as lower circling point situation.The ring interface up and down for assuming each node is portl, and on ring, outlet is clockwise Port2, outlet is port3 counterclockwise.In addition because the MAC Address of each node is different, for convenience, it is assumed that the section The point MAC of itself is Xs_MAC (X=A, B, C...), and the MAC of clockwise node is Xc_MAC, anticlockwise section The MAC of point is Xa_MAC.In addition for the MPLS label (label) configured on ring used by ring protection, it is believed that be independent Label spaces, individually can consider, even if overlap with the label that the label of upper ring message band or lower ring message change also not having Problem.
Specifically, with reference to shown in Fig. 1 and Fig. 2, based on OpenFlow, disclosed one kind realizes that MSRP looped networks are protected The method of protecting system, comprises the following steps:
Step 1, topological (topo) find:
Specifically, using conventional controller topo discovery mechanisms, the is issued to all switches being controlled by a controller One flow table:
Priority=40000, dl_type=0x88cc, actions=CONTROLLER:65535
Priority, the Link Layer Discovery Protocol (LLDP) of matching i.e. defined in the flow table, if (value is matching 0x88cc The corresponding ethernet type field values of LLDP) condition, just perform and be sent to the action command (actions) of controller.
Then controller sends LLDP (link layer discovery association from the interface of each switch by packet_out message View), controller is served by packet_in message when LLDP is received and matched the first flow table by other switches (controller), controller can just obtain whole topo, be exactly the port numbers for putting in order and interconnecting of node on the ring.Here Packet_out message is used for the specified particular port from switch of controller and sends packet, or passes through for forwarding The packet that Packet-in message sinks are arrived.
Step 2, configures upper ring and a lower ring action:
Gyration in configuration is made:
When message is to upper link point, it is necessary to have unified rule, link point is allowed to know that this message will quilt Lower circling point D is sent to, it is exactly same MPLS label that typically this is corresponding, is set to label_to_D.To also distribute in addition Clockwise to the MPLS label in building ring tunnel, label_RcW_D is designated as and counterclockwise to protection ring tunnel MPLS label, are designated as label_RaP_D.So on ring in addition to node D, first group of table group will be issued:D_1 and The second flow table corresponding with first group of table.
Wherein, first group of table of definition is specially:
Group_id=D_1, type=ff, bucket=watch_port:2, set_field:$ Xs_MAC- > eth_ Src, set_field:$ Xc_MAC- > eth_dst, push_mpls:0x8847, set_field:$ label_RcW_D- > Mpls_label, output:2, bucket=watch_port:3, set_field:$ Xs_MAC- > eth_src, set_ field:$ Xa_MAC- > eth_dst, push_mpls:0x8847, set_field:$ label_RaP_D- > mpls_label, output:3
Corresponding second flow table is specially:
Mpls, in_port=1, mpls_label=$ label_to_D, actions=group:D_1
So, when the link clockwise of upper circling point can be used, the message for matching the second flow table can be according to group:D_1 In add label_RcW_D described in first bucket, and from its clockwise outlet port2 issue clockwise next-hop;Such as The link failure clockwise (down falls) of circling point on fruit, then message can be according to group:Add described in second bucket of D_1 Upper label_RaP_D simultaneously issues next-hop counterclockwise from its outlet port3 counterclockwise.
Such as so that A points are upper circling point as an example, as link available (up) between node A, B, message can be coupled with A points Label_RcW_D, and node B is issued from its outlet port2 clockwise;Linkdown between node A, B falls, then message meeting Being coupled with label_RaP_D and port3 being exported counterclockwise from which issue node F.
The lower gyration of configuration is made:
In the present embodiment, node D is lower circling point, and on node D, the MPLS messages for no matter receiving are comprising label_RcW_ D labels or label_RaP_D labels, are required for falling this mpls label ejections (pop), are then issued to next outside ring Jump (hypothesis need not change label_to_D, and the MAC of the outer next-hop of ring is Xn_MAC), then need following two stream of configuration Table:
Mpls, in_port=2, mpls_label=label_RaP_D, actions=set_field:Xs_MAC- > Eth_src, set_field:Xn_MAC- > eth_dst, pop_mpls:0x8847, output:1
That is the label_RaP_D label pop in the MPLS messages for receiving are fallen by node D, are issued from its lower ring interface port1 Next-hop outside ring.
Mpls, in_port=3, mpls_label=label_RcW_D, actions=set_field:Xs_MAC- > Eth_src, set_field:Xn_MAC- > eth_dst, pop_mpls:0x8847, output:1
That is the label_RcW_D label pop in the MPLS messages for receiving are fallen by node D, are issued from its lower ring interface port1 Next-hop outside ring.
Step 3, configuration protection ring
On ring in addition to D points, second group of table group is issued:D_2, except node D and its clockwise neighbor node Outside E, it is left node and matches somebody with somebody the 4th flow table.
Specifically, second group of table of definition is:
Group_id=D_2, type=ff, bucket=watch_port:2, set_field:$ Xs_MAC- > eth_ Src, set_field:$ Xc_MAC- > eth_dst, output:2, bucket=watch_port:3, set_field:$Xs_ MAC- > eth_src, set_field:$ Xa_MAC- > eth_dst, set_field:$ label_RaP_D- > mpls_ Label, output:3.
The 4th flow table corresponding with second group of table of definition is:
Mpls, in_port=3, mpls_label=$ label_RcW_D, actions=group:D_2.
So, node on the ring
(1) when message is received from its outlet port3 counterclockwise, the outermost label of band must be label_RcW_ D, if port2 outbounds are up, preferentially do not change label and forwards from its outlet port2 clockwise, only repair Change the action of mac.
(2) when message is received from its outlet port3 counterclockwise, if port2 outbounds are down, from port3 Forwarding is gone back, and in addition to changing the action of mac, outermost label is changed to label_RaP_D also, when port2 recovers Afterwards, still forward along clockwise direction.
On ring in addition to D points, the 3rd group of table group is issued:D_3, and except node D and its neighbours' section counterclockwise Outside point C, it is left node and matches somebody with somebody the 5th flow table.
Specifically, the 3rd group of table of definition is:
Group_id=D_3, type=ff, bucket=watch_port:3, set_field:$ Xs_MAC- > eth_ Src, set_field:$ Xc_MAC- > eth_dst, output:3, bucket=watch_port:2, drop.
The 5th flow table corresponding with the 3rd group of table of definition is:
Mpls, in_port=2, mpls_label=$ label_RaP_D, actions=group:D_3.
So, node on the ring
(3) message is received from port2, the outermost label of band must be label_RaP_D, if port3 outlet chains Road is up, then forward message from preferentially not changing label from its port3, only make an amendment the action of mac
(4) message is received from port2, when port3 outbounds are down, then illustrate the chain for having more than at two on ring Road or node break, and this message can only be abandoned, else if mplslabel is made into label_RcW_D beaming back Port2, can cause message shaken between two breakpoints repeatedly.
Therefore, in by above-mentioned steps 2 and step 3, upper and lower gyration work, the configuration of protection ring, the MSRP protections of the present invention Mechanism realizes the protection in the protection and ring of circling point.
By the configuration of step 2, the protection of the upper circling point of realization is specially:
For the upper circling point on ring, send preferably plus label_RcW_D labels and from port2.Work as port2 When down, label_RaP_D labels can be added and sent from port3.After port2 recovers, label_ can be added again RcW_D is simultaneously sent from port2.
By the configuration of step 3, the protection on the ring of realization is specially:
The message that node on the ring is received from port3, preferably can not change label and is forwarded from port2 clockwise, If port2 down fall, label can be changed to label_RaP_D labels and be sent from port3.After port2 recovers, meeting again Forward clockwise.
If node on the ring receives message from port2, illustrate that node occurs protection and have switched, if port3 Down, illustrates to occur in that second failure point, cannot now provide protection, packet loss.
Preferably, above-mentioned first group of table group:D_1, second group of table group:D_2 and the 3rd group of table group:D_2 types It is fast failure switching.
It is the description of lower circling point with D points to be all above, the possibly lower circling point of each point actually on ring, then just all right The distribution and the configuration of flow/group of a set of label of above-mentioned steps S2 and step S3 are answered, is just repeated no more here.
A kind of disclosed method for realizing MSRP Ring protection systems based on OpenFlow, may also include:
Step 4, reduces one or more nodes on MSRP rings.
To need all to delete with a whole set of configuration that the node for removing is lower circling point, and by its clockwise next-hop Node removes the configuration of second group of table and the 4th flow table, and updates the MAC Address of its anticlockwise next-hop node For the MAC of its clockwise next-hop node;Its anticlockwise next-hop node is removed into the 5th stream simultaneously The configuration of table, and to update the MAC Address of its clockwise next-hop node be its anticlockwise next-hop node MAC。
As a example by removing node E on ring, then need:
To need all to delete with a whole set of configuration that node E is lower circling point, and for that set configuration that D is lower circling point comes Say, its next-hop clockwise becomes node F, then needs remove the configuration of the 4th flow table, i.e. mpls, in_ on node F Port=3, mpls_label=$ label_RcW_D, actions=group:D_2, and the MAC Address Dc_ of more new node D MAC Address of the MAC for node F.
For taking node F as that set configuration of lower circling point, its next-hop counterclockwise becomes node D, then need To remove the 5th flow table, i.e. mpls, in_port=2, mpls_label=label_RaP_D, actions=on node D group:D_3, and the MAC Address Fa_MAC of more new node F is the MAC of node D.
Being configured to except principle is identical with node E for other nodes, can refer to the above-mentioned table that removal process is configured to node E State, just repeat no more here.
With step 4 conversely, a kind of disclosed method for realizing MSRP Ring protection systems based on OpenFlow, May also include:
Step 5, the increase of MSRP nodes on the ring.
Specifically the configuration removed in step S4 is recovered again, and changeing back again modification.
Such as after step 4 removes node E, and node E add-backs, then only need to recovering for removing in step S4, That what is changed changes back again.
Certainly can also be extended to and increase one or more nodes on former MSRP rings newly, only need to increase the corresponding configuration of node, And the corresponding configuration of the counterclockwise/clockwise next node adjacent with increased node is modified, its mistake Journey is the inverse process of above-mentioned reduction node, repeats no more here.
Present invention further teaches a kind of device that MSRP Ring protection systems are realized based on OpenFlow, including:
Topology Discovery module:For being issued for matching LLDP to all controlled switches using Topology Discovery mechanism First flow table, then sends LLDP from the interface of each switch by packet_out message, waits LLDP by other switches Controller is served, makes controller obtain whole MSRP rings topology, the i.e. port numbers for putting in order and interconnecting of MSRP nodes on the ring.
Upper ring and a lower ring action configuration module:First group is issued for other link points on MSRP rings in addition to lower circling point Table and the second flow table corresponding with first group of table, for MPLS label, the building ring of lower circling point are configured on each link point Tunnel MPLS label and protection ring tunnel MPLS label;And the 3rd flow table is configured on lower circling point, so that upper circling point will be received MPLS message bullets fall building ring/protection ring tunnel MPLS label and issue the next-hop outside MSRP rings;
Protection ring configuration module:
Second group of table is issued and on ring except lower circling point and its up time for other link points on ring in addition to lower circling point Other link points outside the upstream neighbors in pin direction issue the 4th flow table corresponding with second group of table, so that the upper circling point on ring Preferential export message plus building ring tunnel MPLS label from which clockwise sends, when outlet failure clockwise plus protection Ring tunnel MPLS label is sent from counterclockwise outlet, after outlet recovers clockwise, add building ring tunnel MPLS label and from Which exports clockwise and sends;And make node on the ring will from its counterclockwise outlet receive message prior not change label clockwise from which Outlet is forwarded, and label is changed to protection ring tunnel MPLS label when outlet failure clockwise and is forwarded from outlet counterclockwise, when After outlet recovers clockwise, still forward along clockwise direction;
Also, for other link points on ring in addition to lower circling point issue the 3rd group of table and on ring except lower circling point i.e. its Other link points outside clockwise upstream neighbors issue the 5th flow table corresponding with the 3rd group of table, so that node on the ring Message prior will be received from its outlet clockwise and not change label from its outlet forwarding counterclockwise, when outlet failure counterclockwise, Then by packet loss.
Described device may also include:Knot removal module, for deleting one or more nodes on MSRP rings, and will go Configuration on the node for falling all is deleted, and its clockwise next-hop node is removed second group of table and the 4th stream The configuration of table, and to update the MAC Address of its anticlockwise next-hop node be its clockwise next-hop node MAC;Its anticlockwise next-hop node is removed the configuration of the 5th flow table simultaneously, and it is clockwise to update which The MAC Address of next-hop node is the MAC of its anticlockwise next-hop node.
Described device may also include:Node increases module, for the node for removing is increased again, and by knot removal The configuration that module is removed is recovered again, changeing back again for modification.
The present invention issues flow table to switch by controller, distributes label unitedly and issues configuration, collects controller To the order of connection of node on the ring, and the MAC information of node is safeguarded, also one independent MPLS label pond is distributing mpls label;And using the group table that type is ff, protection is performed, building ring tunnel is preferentially used, so as to the semanteme based on OpenFlow The MSRP looped network protections in MPLS-TP network are realized, is easy to unified configuration and is managed.
The technology contents and technical characteristic of the present invention have revealed that as above, but those of ordinary skill in the art still may base Make a variety of replacements and modification without departing substantially from spirit of the present invention in teachings of the present invention and announcement, therefore, the scope of the present invention The content that should be not limited to disclosed in embodiment, and various replacements and modification without departing substantially from the present invention should be included, and be this patent Shen Please claim covered.

Claims (10)

1. a kind of method that MSRP Ring protection systems are realized based on OpenFlow, it is characterised in that:Methods described includes:
S1, Topology Discovery:
Controller issues the first flow table to all controlled switches, obtains putting in order and interconnecting for MSRP nodes on the ring Port numbers;
S2, configures upper ring and a lower ring action:
Other link points on MSRP rings in addition to lower circling point issue first group of table and the second flow table corresponding with first group of table, use In MPLS label, building ring tunnel MPLS label and protection ring tunnel MPLS marks that lower circling point is configured on each link point Sign;And the 3rd flow table is configured on lower circling point so as to the MPLS message bullets for receiving are fallen into building ring/protection ring tunnel MPLS marks Sign and issue the next-hop outside MSRP rings;
S3, configuration protection ring:
Other link points on ring in addition to lower circling point issue second group of table and on ring except lower circling point and its clockwise Other link points outside the neighbors of upstream issue the 4th flow table corresponding with second group of table, so that node on the ring first will go out from which Mouth receives message prior and does not change label from the rightabout second outlet forwarding of itself and first outlet, when second outlet failure Label is changed to into protection ring tunnel MPLS label and is forwarded from first outlet, after second outlet is recovered, still turned in a second direction Send out;
Other link points on ring in addition to lower circling point issue the 3rd group of table and except lower circling point, i.e. which is clockwise on ring Other link points outside the neighbors of upstream issue the 5th flow table corresponding with the 3rd group of table, so that node on the ring second will go out from which Mouth receives message prior and does not change label from its first outlet forwarding, when first outlet failure, then by packet loss;
Wherein, when first outlet is to export counterclockwise, second outlet is then outlet clockwise, conversely, when first outlet is suitable During needle outlet, second outlet is then outlet counterclockwise.
2. the method that MSRP Ring protection systems are realized based on OpenFlow according to claim 1, it is characterised in that institute Stating step S1 includes:The controller is sent for matching LLDP's to all controlled switches using Topology Discovery mechanism First flow table, then sends LLDP from the interface of each switch by packet_out message, when the LLDP quilts Other switches serve controller, and controller can just obtain putting in order and interconnecting for whole MSRP rings topology, i.e. node on the ring Port numbers.
3. the method that MSRP Ring protection systems are realized based on OpenFlow according to claim 1, it is characterised in that institute Stating method also includes:
One or more nodes are reduced on S4, MSRP ring:
Configuration on the node for removing all is deleted, and its clockwise next-hop node is removed into second group of table With the configuration of the 4th flow table, and it is clockwise next for which to update the MAC Address of its anticlockwise next-hop node The MAC of hop node;Its anticlockwise next-hop node is removed the configuration of the 5th flow table simultaneously, and updates its up time The MAC Address of the next-hop node in pin direction is the MAC of its anticlockwise next-hop node.
4. the method that MSRP Ring protection systems are realized based on OpenFlow according to claim 3, it is characterised in that institute Stating method also includes:
Again on S5, MSRP ring increase the node of reduction:
The configuration removed in step S4 is recovered again, and changeing back again modification.
5. the method that MSRP Ring protection systems are realized based on OpenFlow according to claim 1, it is characterised in that institute The type for stating first, second, third group of table is fast failure switching.
6. a kind of device that MSRP Ring protection systems are realized based on OpenFlow, it is characterised in that:Described device includes:
Topology Discovery module:For issuing the first flow table to all controlled switches, so that controller is obtained on MSRP rings The port numbers for putting in order and interconnecting of node;
Upper ring and a lower ring action configuration module:For other link points on MSRP rings in addition to lower circling point issue first group of table and The second flow table corresponding with first group of table, for MPLS label, the building ring tunnel of lower circling point are configured on each link point MPLS label and protection ring tunnel MPLS label;And the 3rd flow table is configured on lower circling point, so that upper circling point will be received MPLS message bullets fall building ring/protection ring tunnel MPLS label and issue the next-hop outside MSRP rings;
Protection ring configuration module:
Second group of table is issued and on ring except lower circling point and its side clockwise for other link points on ring in addition to lower circling point To upstream neighbors outside other link points issue the 4th flow table corresponding with second group of table so that the upper circling point on ring is preferential Message is sent from its second outlet plus building ring tunnel MPLS label, protection ring tunnel is added when second outlet failure MPLS label is sent from first outlet, after second outlet is recovered, adds building ring tunnel MPLS label and from its second outlet Send;And make node on the ring receive message prior from its first outlet and not change label to forward from its second outlet, when second Label is changed to into protection ring tunnel MPLS label during outlet failure and is forwarded from first outlet, after second outlet is recovered, still edge Second direction is forwarded;
Also, the 3rd group of table is issued and on ring except lower circling point i.e. its up time for other link points on ring in addition to lower circling point Other link points outside the upstream neighbors in pin direction issue the 5th flow table corresponding with the 3rd group of table, so that node on the ring will be from Its second outlet receives message prior and does not change label from its second outlet forwarding, when second outlet failure, then loses message Abandon;
Wherein, when first outlet is to export counterclockwise, second outlet is then outlet clockwise, conversely, when first outlet is suitable During needle outlet, second outlet is then outlet counterclockwise.
7. the device that MSRP Ring protection systems are realized based on OpenFlow according to claim 6, it is characterised in that institute State Topology Discovery module to send for matching described the first of LLDP to all controlled switches using Topology Discovery mechanism Flow table, then sends LLDP from the interface of each switch by packet_out message, when the LLDP is exchanged by other Machine serves controller, and controller can just obtain whole MSRP rings topology, the i.e. port numbers for putting in order and interconnecting of node on the ring.
8. the device that MSRP Ring protection systems are realized based on OpenFlow according to claim 6, it is characterised in that institute Stating device also includes:Knot removal module, for deleting one or more nodes on MSRP rings, and by the node for removing Configuration is all deleted, and its clockwise next-hop node is removed the configuration of second group of table and the 4th flow table, and The MAC Address for updating its anticlockwise next-hop node is the MAC of its clockwise next-hop node;Simultaneously by which Anticlockwise next-hop node removes the configuration of the 5th flow table, and updates its clockwise next-hop node MAC Address is the MAC of its anticlockwise next-hop node.
9. the device that MSRP Ring protection systems are realized based on OpenFlow according to claim 8, it is characterised in that institute Stating device also includes:Node increases module, for the node for removing is increased again, and by matching somebody with somebody that knot removal module is removed Put and recover again, changeing back again for modification.
10. the device that MSRP Ring protection systems are realized based on OpenFlow according to claim 6, it is characterised in that The type of first, second, third group of table of configuration is fast failure switching.
CN201610929939.5A 2016-10-31 2016-10-31 Realize that MPLS-TP shares the method and device of ring protection MSRP Ring protection system based on OpenFlow Active CN106533741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610929939.5A CN106533741B (en) 2016-10-31 2016-10-31 Realize that MPLS-TP shares the method and device of ring protection MSRP Ring protection system based on OpenFlow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610929939.5A CN106533741B (en) 2016-10-31 2016-10-31 Realize that MPLS-TP shares the method and device of ring protection MSRP Ring protection system based on OpenFlow

Publications (2)

Publication Number Publication Date
CN106533741A true CN106533741A (en) 2017-03-22
CN106533741B CN106533741B (en) 2019-07-26

Family

ID=58292045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610929939.5A Active CN106533741B (en) 2016-10-31 2016-10-31 Realize that MPLS-TP shares the method and device of ring protection MSRP Ring protection system based on OpenFlow

Country Status (1)

Country Link
CN (1) CN106533741B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1618223A (en) * 2002-02-06 2005-05-18 武汉烽火网络有限责任公司 Resilient multiple service ring
CN103856404A (en) * 2013-12-24 2014-06-11 华为技术有限公司 Looped network data transmission method, device and system
US20150043383A1 (en) * 2013-08-07 2015-02-12 Telefonaktiebolaget L M Ericsson (Publ) Automatic establishment of redundant paths with cautious restoration in a packet network
CN105915371A (en) * 2016-04-07 2016-08-31 烽火通信科技股份有限公司 PTN ring network protection double-ring escape realization method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1618223A (en) * 2002-02-06 2005-05-18 武汉烽火网络有限责任公司 Resilient multiple service ring
US20150043383A1 (en) * 2013-08-07 2015-02-12 Telefonaktiebolaget L M Ericsson (Publ) Automatic establishment of redundant paths with cautious restoration in a packet network
CN103856404A (en) * 2013-12-24 2014-06-11 华为技术有限公司 Looped network data transmission method, device and system
CN105915371A (en) * 2016-04-07 2016-08-31 烽火通信科技股份有限公司 PTN ring network protection double-ring escape realization method and system

Also Published As

Publication number Publication date
CN106533741B (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN101364926B (en) Method and apparatus for network protection
EP2425632B1 (en) Virtual links in a routed ethernet mesh network
EP2242215B1 (en) Method for client data transmission through a packet switched provider network
CN100546284C (en) Label exchange route protection method and system thereof
CN102035712B (en) Multiprotocol label exchanged ring network protection method, device and system
CN101594191B (en) Method and system for protecting shared link interlinking ring network and interlinking nodes
CN100459531C (en) Method for notifying pseudo-lines fault based on bidirectional transmission detecting protocol
CN102377605B (en) Method for implementing double-returning protection of packet transport network (PTN) equipment by using combination of multiple protection modes
CN101095058A (en) Efficient protection mechanisms for protecting multicast traffic in a ring topology network utilizing label switching protocols
CN101771610B (en) Transport multiprotocol label switching network (T-MPLS) system and link protection method
CN101340351A (en) Data transmission method, apparatus and system in VPLS network
CN110417631B (en) L1 ring protection method in SPN based on Flexe
CN102201985A (en) Ring protection switching method adopting multi-protocol label switching transport profile (MPLS TP) and node
CN101656630A (en) Service protection method and system
US20090052444A1 (en) Methods, systems, and computer program products for providing multi-service communication networks and related core networks
CN101789879A (en) Dynamic maintenance method and device for related link circuits
CN103078777B (en) Be applied to loop removing method and device in elastic packet loop network
CN102546352B (en) A kind of method and system realizing point-to-multipoint label switch paths protection
EP2693706B1 (en) Method and device for implementing multi-protection overlapped protection groups
CN102571534B (en) Service transmission method based on ring network protection and node used for service transmission
CN105245363B (en) Linear protection method based on OpenFlow
CN106533741A (en) Method and device for achieving MSRP ring network protection system based on OpenFlow
CN104092574B (en) A kind of IRF divisions cause the treating method and apparatus of RPR ring failures
CN102780587B (en) The method of looped network protection is realized in MPLS-TP
CN102843282A (en) Method and system for processing message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 215101 unit 13 / 16, 4th floor, building B, No. 5, Xinghan street, Suzhou Industrial Park, Jiangsu Province

Patentee after: Suzhou Shengke Communication Co.,Ltd.

Address before: 215021 unit 13 / 16, floor 4, building B, No. 5, Xinghan street, industrial park, Suzhou, Jiangsu Province

Patentee before: CENTEC NETWORKS (SU ZHOU) Co.,Ltd.

CP03 Change of name, title or address