The ethernet ring network interconnected method
Technical field
The present invention relates to the Ethernet ring network technology, relate in particular to the interconnected method of multi-level Ethernet of using the different rings fidonetFido.
Background technology
Because plurality of advantages such as protection are switched rapidly, the fault self-recovery ability is strong, the ethernet ring network technology has been subjected to the favor of more and more operators in recent years.Spanning-Tree Protocol (Spanning Tree Protocol is abbreviated as STP) is traditional ethernet ring network agreement, its objective is in order to prevent to occur loop in the Ethernet.Can select Spanning-Tree Protocol to set up ethernet ring network, because Spanning-Tree Protocol is a standard agreement, so,, generally do not have the problem of protocol compatibility as long as switch all adopts the STP agreement even select the switch networking of different manufacturers.But the STP agreement can not satisfy the carrier class requirement of 50ms fault recovery; In view of above reason; RPR (ResilientPacket Ring; Resilient Packet Ring), EAPS (Ethernet Automatic Protection Switching; the Ethernet APS; among the RFC3619 relevant for the detailed introduction of present technique) etc. the looped network agreement just arisen at the historic moment, thereby reach the requirement of carrier-class performance of handoffs.
When setting up multi-level ethernet ring network by stages, select same manufacturer to provide high, medium and low equipment that significant limitation is arranged, the person tends to the equipment that different levels are selected different manufacturers so run into the network construction through regular meeting.In general, can not change the looped network agreement of the topological sum operation of high-level network, agreement that must the low level network adapts to the agreement of high-level network, and the level section of Jie Ruing adapted to existing looped network procotol afterwards.For example, the looped network agreement of marginal layer operation need adapt to the looped network agreement of Access Layer.Because the realization of looped network agreement mostly is proprietary technology can not be compatible, the equipment that how to solve in the existing network level is not when changing the looped network agreement that it adopted, the network equipment of other levels of back access is realized intercommunication together, is a problem demanding prompt solution.
Summary of the invention
The object of the present invention is to provide a kind of ethernet ring network interconnected method, insert the problem that subring network rings fidonetFido and existing looped network agreement simultaneously can not intercommunications thereby solve the back.
The ethernet ring network interconnected method inserts the subring network on existing ethernet ring network, the subring network operation to be accessed is different from the looped network agreement of existing ethernet ring network; It is characterized in that, may further comprise the steps:
A, the node of subring network to be accessed is formed a segment link;
Two uplink ports of b, two edge ports that existing ethernet ring network is set and subring network to be accessed are consulted to transmitting data mode;
The topology change notification message of ethernet ring network can be received and dispatched and be explained to have to c, the upstream node that subring network to be accessed is set;
The topology change notification message of subring network uplink node device to be accessed can be received and dispatched and explain to d, the edge port that existing ethernet ring network is set.
Preferably, step c specifically comprises:
Two edge ports of c1, existing ethernet ring network receive its place existing ethernet ring network network topology change notice message,
C2, two edge ports send to this topology change notification message two upstream nodes of subring network to be accessed;
Behind c3, the topology change notification message of two upstream nodes in receiving step c2, explain this message and notify two uplink port of upstream node renewal of the equipment at place and transmitting of two edge ports;
Two edge ports of c4, this upstream node equipment are issued other node of this subring network to be accessed according to the looped network agreement structure topology change notification message of its operation.
Preferably, steps d specifically comprises:
D1, upstream node equipment receive the topology change notification message of subring network to be accessed, construct the topology change notification message of existing looped network agreement thereon on the capable node, and this message is sent to the existing ethernet ring network in upper strata by its uplink port;
The edge port of d2, existing ethernet ring network makes an explanation after receiving the topology change notification message of steps d 1, refreshes and transmits;
The fringe node of d3, existing ethernet ring network sends to other node on this looped network according to the looped network agreement structure topology change notification message of its operation.
The invention has the beneficial effects as follows, solved in the multi-level Ethernet that different levels use the different looped network agreement of devices from different manufacturers operation can not compatible problem; And need not revise the looped network agreement that existing device moves.
Description of drawings
Fig. 1 is an ethernet ring network structural representation of the present invention.
Embodiment
The common trait of ethernet ring network agreement: when the topology of looped network or segment link changes, agreement will send TCN (Topology Change Notify by each node on ring or segment link, topology change notification) message, after node on ring or the segment link is received the TCN message, node need refresh FDB (ForwardingDatabase transmits) table.Each node can perceive the change in topology of ring (perhaps segment link) on the ring.Although the TCN message format that each looped network agreement realizes is generally different; But nearly all ethernet ring network agreement is when network topology changes, and Control Node all will go up other node to ring and send the TCN message, and the node on the ring receives that the TCN message all will upgrade the FDB table.
Ethernet ring network structural representation of the present invention as shown in Figure 1, N1 is existing ethernet ring network, N is a subring network to be accessed, wherein
E1, E2: be two edge ports of N1.
EC, EA: be two upstream nodes of N.
UPLINK1: the uplink port of upstream node equipment EC.
UPLINK2: the uplink port of upstream node equipment EA.
E_C: the edge port of upstream node EC.
E_A: the edge port of upstream node EA.
N1 operation looped network agreement B, each node operation looped network agreement B on the ring is so edge port E1 and E2 also move looped network agreement B; N operation looped network agreement A.In order to realize that N inserts N1, guarantees that two continuous looped networks keep the intercommunication of data, will make edge port EC and the EA of segment link by upstream node between N or EC and the EA insert N1, need:
Step a, the node that subring network N to be accessed is set are formed level part section link; The edge port E_C of upstream node EC and upstream node EA and other node operation looped network agreement A on E_A and the segment link; UPLINK1 and UPLINK2 do not move looped network agreement A as uplink port, but the TCN message of uplink port transmitting-receiving and explanation looped network agreement B need be set;
The uplink port of step b, the edge port E1 that existing ethernet ring network N1 is set and E2 and subring network uplink node to be accessed is consulted, and makes E1 and E2 be in and can transmit data mode.
When network topology changed, data took place to switch fast, two necessary perception network topology change each other mutually of looped network; After the N topology changes, need each node of N1 to refresh the FDB table; After the N1 network topology changes, also need each node of N to refresh the FDB table, can satisfy data like this and switch fast.
When the network topology of N1 changed, N1 sent out looped network agreement B form TCN message from edge port E1 and E2, and general looped network agreement is supported this function.After the upstream node EC of N and node EA receive this TCN; Need do two things: the one, the TCN of structure looped network agreement A issues each node of N; The 2nd, refresh uplink port UPLINK1 and UPLINK2 and the edge port E_C and the E_A of upstream node.
When the N network topology changed, the TCN message of EC and EA structure looped network agreement B was issued N1, and will refresh the FDB table of uplink port UPLINK1 and UPLINK2.After the edge port E1 of N1 and E2 receive TCN, also need to do two things: the one, the FDB that refreshes edge port E1 and E2 shows; The 2nd, send out TCN to each node of N1, general looped network agreement is all supported this function.