CN100459580C - Method of forwarding services with three-layer resilient packet ring - Google Patents
Method of forwarding services with three-layer resilient packet ring Download PDFInfo
- Publication number
- CN100459580C CN100459580C CNB2006100073991A CN200610007399A CN100459580C CN 100459580 C CN100459580 C CN 100459580C CN B2006100073991 A CNB2006100073991 A CN B2006100073991A CN 200610007399 A CN200610007399 A CN 200610007399A CN 100459580 C CN100459580 C CN 100459580C
- Authority
- CN
- China
- Prior art keywords
- data frame
- rpr
- address
- frame
- mac address
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
This invention discloses one three layer RPR transfer method to receive repair upper ring three layers of RPR business frame data and selects one ring to transfer data frame and seals the selected label and RPR label to data frame, wherein, then sending the frame data to next selected ring to receive the data frame; if the tested self MAC address and the aim MAC address, the data frame ring labels and RPR labels are discharged. The ring label and three layers of RPR labels adopt single layer or two layers of MAC ends.
Description
Technical field
The present invention relates to the resilient packet ring technology field, be specifically related to a kind of method of forwarding services with three-layer resilient packet ring.
Background technology
Resilient Packet Ring (RPR) technology is a kind of professional new media access control (MAC) layer protocol that transmits of optimizing on loop configuration, multiple physical layer can be adapted to as synchronous digital hierarchy (SDH), Ethernet, dense wave division multipurpose (DWDM) etc., the business of types such as data, speech, image can be effectively transmitted.
Fig. 1 is the structural representation of RPR ring, and as shown in Figure 1, its main feature is as follows:
1, adopt dicyclo promptly: interior ring and outer ring structure, the direction of transfer of two rings is opposite.Each node from ring can arrive the another one node.
2, support the quick protection of 50ms, and be the protection of service nondestructive.When switching, do not need refreshing again and learn of MAC Address, two layers and three layer services are not all had to influence.
3, provide the strict grade of service (COS) classification.The RPR standard A, B, three kinds of grades of service of C, A service priority is the highest; The priority of b service is lower than A; C service priority is minimum, and the business of doing one's best promptly is provided.
4, support clean culture, multicast and broadcasting.MAC Address based on clean culture, multicast and the broadcast data frame of IEEE 802.3 forms can be mapped to the node M AC address of RPR, and on RPR, finish the transmission of clean culture, multimedia broadcast/multicast service according to the node M AC address of RPR.
RPR is transmitting when professional, and different according to the source address of business and destination address can be divided into local and transmit (Local forwarding) and long-range forwarding (Remote forwarding) two classes.Local is transmitted and is meant that this professional initial sender and final recipient are the nodes on the RPR, promptly Ye Wu source MAC and target MAC (Media Access Control) address all are the MAC Address of the node of RPR, the equipment that requires this moment to link to each other with RPR is a three-layer equipment as three-tier switch or router, and will be somebody's turn to do the RPR that links to each other with three-layer equipment and be called three layers of RPR, or the shellring net of RPR, therefore local is transmitted and is three layers of RPR forwarding, and the business data frame that will transmit on three layers of RPR is called three layers of RPR Frame; Long-range forwarding is meant that one of professional initial sender and final recipient for the node on the RPR, perhaps neither be the node on the RPR, and what this moment, requirement was connected with RPR is not three-layer equipment entirely, and promptly RPR will organize two layers of Ethernet.
The local forwarding is divided into clean culture forwarding, multicast forwarding and broadcasting again and transmits three kinds.The local clean culture is transmitted and is meant that professional promoter is the three-layer equipment that directly links to each other with certain node of three layers of RPR, and professional recipient is the node of this RPR, and promptly Ye Wu source MAC and target MAC (Media Access Control) address all are the MAC Address of certain node on the RPR.
Three layers of RPR transmit in the unicast service process the Frame encapsulation format as shown in Figure 2, left side form represents that three-layer equipment sends to ethernet ieee 802.3 forms of RPR before going up with Frame; After intermediate table represents that the node on the RPR is received this Frame, the IEEE802.17 RPR form that the format conversion of this Frame is become; The right form is represented node on this RPR that sends to the target MAC (Media Access Control) address correspondence through the Frame after the format conversion, after this node is received Frame, and ethernet ieee 802.3 forms that the form of this Frame is converted to again.
As shown in Figure 2, ethernet ieee 802.3 forms comprise: target MAC (Media Access Control) address, source MAC, ethernet type (type), static load (Payload) and Frame Check Sequence (FCS), the IEEE802.17RPR form is promptly on the basis of ethernet ieee 802.3 forms, add 6 bytes, be respectively the life span (TTL) of 1 byte, this control of cyclic group (baseRingControl) byte of 1 byte, the life span initial value (ttlbase) of 1 byte, ring expansion control (extRingControl) byte of 1 byte and the Header error check (HEC) of two bytes.
Local broadcasting or multicast forwarding are meant that professional promoter is the three-layer equipment that links to each other with certain node of this RPR, and professional recipient is all nodes or the part of nodes of this RPR, that is: Ye Wu target MAC (Media Access Control) address is broadcasting MAC Address or multicast mac address.The process of local broadcasting or multicast forwarding is identical with the process that the local clean culture is transmitted, and only needs the target MAC (Media Access Control) address of Frame is replaced with broadcasting MAC Address or multicast mac address.
When on three layers of RPR, transmitting business, because IEEE802.17 RPR form is different with traditional ethernet ieee 802.3 forms, and the data frame format of three layers of RPR support is varied, be not limited in the above form, the length of Frame does not wait to 9216 bytes from 24 bytes, therefore, when realizing that by hardware three layers of RPR transmit Frame, hardware must be supported all data frame formats, also must increase the buffering area of the Frame of supporting format on the node of RPR, increase hardware cost; In addition, when transmitting business on three layers of RPR, every value through a node TTL will subtract one, will carry out a verification according to HEC simultaneously, and this can increase the forwarding duration undoubtedly; Simultaneously; each node on RPR; all exist and receive ring simultaneously and cross the professional situation of ring; this node need and be crossed from last ring and select a kind of professional transmission the ring business this moment; and leave in another business in the buffer area earlier; and RPR switches for the protection of supporting 50ms, need support the buffering area of 50ms Frame at least.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of three layers of RPR to transmit professional method, to reduce hardware implementation cost.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of three layers of RPR transmit professional method, and this method comprises:
The source node of A, RPR receives the business data frame of ring, and determine that this Frame is three layers of RPR Frame, this source node selects to transmit the ring of this Frame, ring sign and the three layers of RPR sign that to select ring then are encapsulated on the Frame with the ethernet data frame encapsulation format, and this Frame are sent to the next node of this selected ring;
B, next node are received this Frame, judge whether the target MAC (Media Access Control) address of this Frame identical with the self MAC address, if, be encapsulated in ring sign on this Frame and three layers of RPR identify abandon after, preserve this Frame; Otherwise, this Frame is continued to send to the corresponding next node again that encircles of ring sign, go to step B.
The described source node of steps A determines that this Frame is that three layers of RPR Frame are specially:
Source node judges that whether the source MAC of this Frame and target MAC (Media Access Control) address all be the node M AC address on the RPR, if judge that this Frame is three layers of RPR Frame; Otherwise, judge that this Frame is not three layers of RPR Frame.
The described Frame of steps A is a unicast data frames.
The described Frame of steps A is multicast packet frame or broadcast data frame;
After the described next node of step B judges that the target MAC (Media Access Control) address of this Frame is identical with the self MAC address, be encapsulated in ring sign on this Frame and three layers of RPR identify abandon before, further comprise:
This next node judges whether the MAC Address of self is last target MAC (Media Access Control) address of this Frame, if ring sign and the three layers of RPR sign that are encapsulated on this Frame are abandoned; Otherwise, duplicate this Frame, and this Frame continued to send to the next node again of the corresponding ring of ring sign, will be encapsulated in simultaneously ring sign on this copied data frames and three layers of RPR identify abandon after, preserve this copied data frames, go to step B.
Described ring is designated: ring corresponding virtual local area network (LAN) (VLAN) sign.
Described three layers of RPR sign is represented with the ethernet type in the ethernet data frame encapsulation format.
The described source node of steps A is selected to transmit after the ring of this Frame, this Frame is sent to before next node of this selected ring, further comprise: source node is determined three layers of RPRVLAN priority of this Frame, and these three layers of RPR VLAN priority are encapsulated in the Frame;
Described source node with the next node that this Frame sends to this selected ring is: source node sends to this Frame according to these three layers of RPR VLAN priority the next node of this selected ring.
Described source node determines that three layers of RPR VLAN priority of this Frame are specially:
The ethernet vlan priority that source node carries before last ring according to this Frame, in the corresponding relation of the ethernet vlan priority of self preserving and three layers of RPR VLAN priority, search three layers of corresponding RPR VLAN priority of ethernet vlan priority of before last ring, carrying, with three layers of RPRVLAN priority finding three layers of RPRVLAN priority as this Frame with this Frame.
Described source node determines that three layers of RPRVLAN priority of this Frame are specially:
Source node is determined the multiple domain stream list (ACL) regulations with the characteristic attribute information matches of this Frame, then in the corresponding relation of multiple domain stream list (ACL) regulations of self preserving and VLAN priority, search the corresponding VLAN priority of multiple domain stream list (ACL) regulations of described and Frame characteristic attribute information matches, with the VLAN priority that finds three layers of RPR VLAN priority as this Frame.
Described multiple domain stream list (ACL) regulations is: a kind of or combination in any in the protocol type of the purpose TCP/UDP port of the purpose IP address of the target MAC (Media Access Control) address of the source MAC of going into physical port, Frame of Frame on source node, Frame, the source IP address of Frame, Frame, source transmission control protocol (TCP)/user's data tunneling (UDP) port of Frame, Frame, differentiated service code point (DSCP) value of Frame, Frame support.
After the target MAC (Media Access Control) address of described this Frame of judgement of step B is identical with the self MAC address, preserve before this Frame, further comprise: will be encapsulated in ring sign on this Frame and three layers of RPR and identify and abandon.
Further comprise before the described steps A: source host is according to the gateway MAC Address that self disposes, source IP address in the Frame is made as self IP address, purpose IP address is made as destination host IP address, source MAC is made as the self MAC address, target MAC (Media Access Control) address is made as the gateway MAC Address, then this Frame is sent to gateway, after gateway is received this Frame, the source MAC of Frame is reset to the gateway MAC Address, target MAC (Media Access Control) address is reset to the RPR source node MAC Address of self pointing to, then Frame is sent to the RPR source node;
And the described RPR source node of steps A further comprises when receiving this Frame: according to the purpose IP address of this Frame, in the routing table that self disposes, search the next-hop ip address of Frame purpose IP address, this next-hop ip address that finds is RPR destination node IP address, and then find corresponding RPR destination node MAC Address, source MAC with this Frame is reset to the self MAC address then, and target MAC (Media Access Control) address is made as RPR destination node MAC Address;
The described next node of step B further comprises after preserving this Frame: this next node is according to the purpose IP address of this Frame, in the mapping table of IP address that self disposes and MAC Address, find the target MAC (Media Access Control) address of the purpose IP address correspondence of Frame, then this Frame is sent to the destination host that target MAC (Media Access Control) address points to.
Further comprise before the described steps A:
Source host is according to the gateway MAC Address that self disposes, source IP address in the Frame is made as self IP address, purpose IP address is made as destination host IP address, source MAC is made as the self MAC address, target MAC (Media Access Control) address is made as the gateway MAC Address, then this Frame is sent to gateway, after gateway is received this Frame, this Frame is sent to the source node of RPR according to the purpose IP address and the routing table that self disposes of this Frame;
The described next node of step B further comprises after preserving this Frame: this next node is according to the purpose IP address of this Frame, in the mapping table of IP address that self disposes and MAC Address, find the target MAC (Media Access Control) address of the purpose IP address correspondence of Frame, then this Frame is sent to the destination host that target MAC (Media Access Control) address points to.
A kind of three layers of RPR transmit professional method, and this method comprises:
The source node of A, RPR receives the business data frame of ring, and determine that this Frame is three layers of RPR Frame, this source node selects to transmit the ring of this Frame, and three layers of RPRVLAN priority of definite this Frame, to comprise then: the VLAN sign of selected ring, three layers of RPR VLAN priority of this Frame, the ethernet type of three layers of RPR of sign and the VLAN label of cannonical format indication (CFI) are encapsulated on the Frame with the ethernet data frame encapsulation format, and this Frame are sent to the next node of selected ring;
B, next node are received this Frame, judge whether the target MAC (Media Access Control) address of this Frame is identical with the self MAC address, if will preserve this Frame behind the VLAN tag-drop that be encapsulated on this Frame; Otherwise, this Frame is continued to send to the corresponding next node again that encircles of VLAN sign, go to step B.
A kind of three layers of RPR transmit professional method, and this method comprises:
A, the source node of RPR receives the business data frame of ring, and determine that this Frame is three layers of RPR Frame, this source node selects to transmit the ring of this Frame, and three layers of RPRVLAN priority of definite this Frame, to comprise then: the target MAC (Media Access Control) address of this Frame, the source MAC of this Frame, fixed type/the length value of this Frame, the VLAN sign of selected ring, three layers of RPRVLAN priority of this Frame, the CFI of this Frame, three layers of RPR MAC head of the ethernet type of three layers of RPR of sign are encapsulated on the Frame with the ethernet data frame encapsulation format, and this Frame are sent to the next node of selected ring;
B, next node are received this Frame, judge whether the target MAC (Media Access Control) address of this Frame is identical with the self MAC address, if three layers of RPR MAC head that are encapsulated on this Frame are abandoned this Frame of back preservation; Otherwise, this Frame is continued to send to the corresponding next node again that encircles of VLAN sign, go to step B.
Compared with prior art, method provided by the present invention receives the business data frame of preparing to go up ring by RPR, and after judging that this Frame is three layers of RPR Frame, self interior ring and outer shroud in select a ring to transmit this Frame, and the ring of the ring that will select identifies and three layers of RPR sign are encapsulated on the Frame with the ethernet data frame encapsulation format, transmit this Frame to the next node of selected ring then, after next node receives this Frame, if it is identical with the target MAC (Media Access Control) address of this Frame to detect the self MAC address, ring sign and three layers of RPR sign that then will be encapsulated on the Frame abandon this Frame of back preservation.Particularly, encapsulation ring sign and three layers of method that the RPR sign can adopt individual layer or two-layer MAC head to encapsulate, Frame encapsulation format provided by the invention and traditional ethernet data frame encapsulation format compatibility, therefore can directly utilize existing Ethernet Frame forwarding chip to realize three layers of RPR Frames forwarding, need not increase extra buffering area, saved hardware cost, and do not need ttl value is carried out computing, do not need to carry out verification according to HEC yet, reduce the forwarding duration, improved the Frame forward efficiency.
Description of drawings
Fig. 1 is the structural representation of RPR;
Fig. 2 is the process schematic diagram that existing three layers of RPR transmit unicast data frames;
Fig. 3 is the flow chart that three layers of RPR provided by the invention transmit Frame;
Fig. 4 is the flow chart that three layers of RPR provided by the invention transmit the specific embodiment one of Frame;
Fig. 5 is the flow chart that three layers of RPR provided by the invention transmit the specific embodiment two of Frame.
Embodiment
Core concept of the present invention is: after RPR receives and prepares to go up the business data frame of ring, judge that this Frame is three layers of RPR Frame, then self interior ring and outer shroud in select a ring to transmit this Frame, and the ring of the ring that will select identifies and three layers of RPR sign are encapsulated on the Frame, transmit this Frame to the next node of this selected ring then, after next node receives this Frame, if it is identical with the target MAC (Media Access Control) address of this Frame to detect the self MAC address, ring sign and three layers of RPR sign that then will be encapsulated on the Frame abandon this Frame of back preservation; Otherwise, continue to transmit this Frame to the next node of the corresponding ring of ring sign.
Particularly, can adopt two kinds of method encapsulation ring signs and three layers of RPR sign, a kind of method that is based on the encapsulation of individual layer MAC head, when promptly on Frame, encircling, add three layers of RPR and transmit the dedicated vlan labels in that Frame is outer, and to identify this VLAN label with the ethernet type in this VLAN label be three layers of RPR VLAN label; Another kind is based on the method for double-deck MAC head encapsulation, when promptly encircling on Frame, add three layers of RPR and transmit special-purpose MAC heads in that Frame is outer, and to identify this MAC head with the ethernet type in this MAC head is three layers of RPR MAC head.
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Fig. 3 is the flow chart that three layers of RPR provided by the invention transmit Frame, and as shown in Figure 3, its concrete steps are as follows:
Source node on the step 301:RPR receives the Frame that encircles in the preparation, and this source node to detect this Frame be three layers of RPR Frame.
Among the present invention, the node that receives the RPR of the Frame of preparing last ring is called the source node of this Frame on RPR.
Particularly, source node judges that whether the source MAC of this Frame and target MAC (Media Access Control) address all be the node M AC address on the RPR, if judge that this Frame is three layers of RPR Frame; Otherwise, judge that this Frame is not three layers of RPR Frame.
Here, Frame is the source node that is sent to RPR by the source host that links to each other with the source node of RPR, when the gateway of source host and RPR node are not same physical equipment, its detailed process is as follows: source host is at first according to the gateway MAC Address that self disposes, source IP address in the Frame is made as self IP address, purpose IP address is made as destination host IP address, source MAC is made as the self MAC address, target MAC (Media Access Control) address is made as the gateway MAC Address, then this Frame is sent to gateway, after gateway is received this Frame, the source MAC of Frame is reset to the self MAC address, target MAC (Media Access Control) address is reset to the RPR source node MAC Address of self pointing to, then Frame is sent to the RPR source node, after the RPR source node is received this Frame, purpose IP address according to this Frame, in the IP route table that self disposes, search the next-hop ip address of the purpose IP address of Frame, this next-hop ip address is the destination node IP address on the RPR, and then according to the corresponding relation of RPR node IP address and MAC Address, find corresponding RPR destination node MAC Address, source MAC with this Frame is reset to the self MAC address then, and target MAC (Media Access Control) address is reset to RPR destination node MAC Address.After this, arrive the RPR destination node of target MAC (Media Access Control) address correspondence when Frame after, the RPR destination node is according to purpose IP address and the IP address of self configuration and the mapping table of MAC Address of this Frame, find the target MAC (Media Access Control) address of the purpose IP address correspondence of Frame, thereby this Frame is sent to the destination host that links to each other with self, target MAC (Media Access Control) address points to;
When the gateway of source host and RPR node are positioned at same physical equipment, its detailed process is as follows: source host is at first according to the gateway MAC Address that self disposes, source IP address in the Frame is made as self IP address, purpose IP address is made as destination host IP address, source MAC is made as the self MAC address, target MAC (Media Access Control) address is made as the gateway MAC Address, then this Frame is sent to gateway, after gateway is received this Frame, according to the purpose IP address of this Frame and the IP route table of self configuration, this Frame is sent to the RPR destination node by the RPR source node.After this, after Frame arrives the RPR destination node, the RPR destination node is according to purpose IP address and the IP address of self configuration and the mapping table of MAC Address of this Frame, find the target MAC (Media Access Control) address of the purpose IP address correspondence of Frame, thereby this Frame is sent to the destination host that links to each other with self, target MAC (Media Access Control) address points to.
Step 302: source node selects to transmit the ring of this Frame, and the ring of the ring that will select sign and three layers of RPR sign are encapsulated in the Frame then.
Step 303: source node mails to this Frame the next node of the corresponding ring of ring sign.
Step 304: after this next node receives this Frame, judge whether the target MAC (Media Access Control) address of this Frame is the self MAC address, if, execution in step 305; Otherwise, execution in step 306.
Step 305: ring sign and three layers of RPR sign that this next node will be encapsulated on this Frame abandon this Frame of back preservation, and this flow process finishes.
Step 306: the next node that this next node continues on the corresponding ring of ring sign is transmitted this Frame, goes to step 304.
Fig. 4 is the flow chart that three layers of RPR provided by the invention transmit the specific embodiment one of data, and as shown in Figure 4, its concrete steps are as follows:
Source node on the step 401:RPR receives the Frame that encircles in the preparation, and this source node to detect this Frame be three layers of RPR Frame.
Step 402: source node selects to transmit the ring of this Frame, and determines three layers of RPRVLAN priority of this Frame, then the VLAN label is encapsulated into the skin of this Frame.
Totally four bytes of VLAN label comprises: the VLAN sign of the ethernet type of two bytes, 12 bits, the VLAN priority of 3 bits and the CFI of 1 bit, wherein, it is three layers of RPR VLAN label that ethernet type is used to identify this VLAN label, for example the ethernet type value can be set at " 0811 "; VLAN is designated the VLAN sign of the ring correspondence of selected this Frame of forwarding of source node; Cannonical format indication (CFI) is used to indicate this Frame whether to need to carry out inundation (Flooding) processing; VLAN priority is the VLAN priority of this Frame on this selected ring.For with the VLAN prioritization of this Frame on Ethernet, among the present invention the VLAN priority of Frame on RPR is called three layers of RPR priority, the VLAN priority of Frame on Ethernet is called ethernet vlan priority.
Three layers of RPR VLAN priority can obtain according to the ethernet vlan priority mapping that is encapsulated in before the last ring in the Frame internal layer MAC head, it is the corresponding relation that source node is preserved three layers of RPR VLAN priority and ethernet vlan priority, ethernet vlan priority and described corresponding relation according in the Frame internal layer MAC head just can find three layers of RPR priority; Perhaps obtain according to the multiple domain stream list (ACL) regulations of source node preservation and the corresponding relation of VLAN priority, multiple domain stream list (ACL) regulations can be: Frame is gone into physical port on source node, the source MAC of Frame, the target MAC (Media Access Control) address of Frame, the source IP address of Frame, the purpose IP address of Frame, the source transmission control protocol (TCP) of Frame/user's data tunneling (UDP) port, the purpose TCP/UDP port of Frame, the differentiated service code point of Frame (DSCP) value, a kind of or combination in any in the protocol type that Frame is supported etc., after source node is received Frame, characteristic attribute information and multiple domain stream list (ACL) regulations coupling with this Frame, search the corresponding VLAN priority of multiple domain stream list (ACL) regulations with the characteristic attribute information matches of Frame then, with the three layer RPR VLAN priority of this VLAN priority that finds as Frame.The characteristic attribute information of Frame, as: the protocol type of source MAC, target MAC (Media Access Control) address, source IP address, purpose IP address, source TCP/UDP port, purpose TCP/UDP port, DSCP value, support etc. can be encapsulated in the Frame internal layer MAC head.
Step 403: source node mails to this Frame the next node that is encapsulated in the corresponding ring of the outer field VLAN sign of Frame according to three layers of RPR VLAN priority.
Step 404: this next node receives this Frame, judges that this Frame is unicast data frames, still is multicast or broadcast data frame, if unicast data frames, execution in step 405; If multicast or broadcast data frame, execution in step 408.
Step 405: this next node judges whether the target MAC (Media Access Control) address of this Frame is the MAC Address of self, if, execution in step 406; Otherwise, execution in step 407.
Step 406: this next node will be preserved this Frame after will being encapsulated in VLAN tag-drop on this Frame, and this flow process finishes.
Step 407: this next node continues to transmit this Frame to the next node that is encapsulated in the corresponding ring of the outer field VLAN sign of Frame, returns step 405 then.
Step 408: this next node judges whether the target MAC (Media Access Control) address of this Frame comprises the MAC Address of self, if, execution in step 409; Otherwise, execution in step 412.
Step 409: this next node judges according to the target MAC (Media Access Control) address of this Frame whether the self MAC address is last target MAC (Media Access Control) address, if, execution in step 410; Otherwise, execution in step 411.
Step 410: this next node will be preserved this Frame after will being encapsulated in VLAN tag-drop on this Frame, and this flow process finishes.
Step 411: this next node continues to transmit this Frame to the next node that is encapsulated in the corresponding ring of the outer field VLAN sign of Frame, duplicate this Frame simultaneously, and preserve this copied data frames after will being encapsulated in VLAN tag-drop on this copied data frames, go to step 408.
Step 412: this next node continues to transmit this Frame to the next node that is encapsulated in the corresponding ring of the outer field VLAN sign of Frame, goes to step 408.
Because ethernet ieee 802.3 form supported vlans labels, so in actual applications, the method that three layers of RPR that present embodiment provides transmit Frame needn't increase extra buffering area on the RPR node.
Fig. 5 is the flow chart that three layers of RPR provided by the invention transmit the specific embodiment two of Frame, and as shown in Figure 5, its concrete steps are as follows:
Source node on the step 501:RPR receives the Frame that encircles in the preparation, and this source node to detect this Frame be three layers of RPR Frame.
Step 502: source node selects to transmit the ring of this Frame, and determines three layers of RPRVLAN priority of this Frame, then three layers of RPR MAC head is encapsulated into the skin of this Frame.
Totally 18 bytes of three layers of RPR MAC head comprises: the source MAC of the target MAC (Media Access Control) address of 6 bytes, 6 bytes, the fixed type/length value of 2 bytes: 8100, the ethernet type of the vlan domain of 2 bytes, 2 bytes.Wherein, target MAC (Media Access Control) address promptly is encapsulated in the target MAC (Media Access Control) address of Frame internal layer; Source MAC promptly is encapsulated in the source MAC of Frame internal layer; Vlan domain comprises: the VLAN priority of 3 bits i.e. VLAN of three layers of RPR VLAN priority, 12 bits identifies promptly: the selected VLAN sign of the ring correspondence of this Frame, the CFI of 1 bit of transmitting; Ethernet type is used to represent that this MAC head is three layers of RPR MAC head, can be set at " 0811 ".
Equally, these three layers of RPR VLAN priority can obtain according to the ethernet vlan priority mapping that is encapsulated in before the last ring in the Frame internal layer MAC head, and perhaps the corresponding relation according to multiple domain stream list (ACL) regulations and VLAN priority obtains.
Step 503: source node mails to this Frame the next node that is encapsulated in the corresponding ring of the outer field VLAN sign of Frame according to three layers of RPR VLAN priority.
Step 504: this next node receives this Frame, judges that this Frame is unicast data frames, still is multicast or broadcast data frame, if unicast data frames, execution in step 505; If multicast or broadcast data frame, execution in step 508.
Step 505: this next node judges whether the target MAC (Media Access Control) address of this Frame is the MAC Address of self, if, execution in step 506; Otherwise, execution in step 507.
Step 506: three layers of RPR MAC head that this next node will be encapsulated on this Frame abandon this Frame of back preservation, and this flow process finishes.
Step 507: this next node continues to transmit this Frame to the next node that is encapsulated in the corresponding ring of the outer field VLAN sign of Frame, returns step 505 then.
Step 508: this next node judges whether the target MAC (Media Access Control) address of this Frame comprises the MAC Address of self, if, execution in step 509; Otherwise, execution in step 512.
Step 509: this next node judges according to the target MAC (Media Access Control) address of this Frame whether the self MAC address is last target MAC (Media Access Control) address, if, execution in step 510; Otherwise, execution in step 511.
Step 510: three layers of RPR MAC head that this next node will be encapsulated on this Frame abandon this Frame of back preservation, and this flow process finishes.
Step 511: this next node continues to transmit this Frame to the next node that is encapsulated in the corresponding ring of the outer field VLAN sign of Frame, duplicate this Frame simultaneously, and will be encapsulated in three layers of RPR MAC head on this copied data frames and abandon the back and preserve this copied data frames, go to step 508.
Step 512: this next node continues to transmit this Frame to the next node that is encapsulated in the corresponding ring of the outer field VLAN sign of Frame, goes to step 508.
In the present embodiment, be encapsulated in the outer field RPR MAC of Frame head and meet ethernet ieee 802.3 forms, therefore in actual applications, the method that three layers of RPR that present embodiment provides transmit Frame needn't increase extra buffering area on the RPR node.
The above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100073991A CN100459580C (en) | 2006-02-13 | 2006-02-13 | Method of forwarding services with three-layer resilient packet ring |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100073991A CN100459580C (en) | 2006-02-13 | 2006-02-13 | Method of forwarding services with three-layer resilient packet ring |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1809031A CN1809031A (en) | 2006-07-26 |
CN100459580C true CN100459580C (en) | 2009-02-04 |
Family
ID=36840724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100073991A Expired - Fee Related CN100459580C (en) | 2006-02-13 | 2006-02-13 | Method of forwarding services with three-layer resilient packet ring |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100459580C (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101207545B (en) * | 2006-12-15 | 2010-09-15 | 华为技术有限公司 | Method and system for detection of repeat media access control address on elastic grouping ring |
CN107370674B (en) * | 2016-05-13 | 2020-12-01 | 华为技术有限公司 | Data transmission method, equipment and system |
CN112565088B (en) * | 2020-11-25 | 2022-10-18 | 中移(杭州)信息技术有限公司 | Message processing method, system, apparatus and network device |
CN115543172B (en) * | 2022-11-23 | 2023-03-14 | 天津华宁电子有限公司 | Integrated mine-road man-machine interface display control method and system for scraper conveyor |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040170184A1 (en) * | 2003-02-07 | 2004-09-02 | Masanori Hashimoto | RPR network system |
CN1691640A (en) * | 2004-04-30 | 2005-11-02 | 华为技术有限公司 | A method of ring selection in resilient packet ring (RPR) network |
CN1691629A (en) * | 2004-04-30 | 2005-11-02 | 华为技术有限公司 | Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network |
CN1728674A (en) * | 2004-07-29 | 2006-02-01 | 中兴通讯股份有限公司 | Method and device for implementing upper ring and lower ring of flexible gruoping ring |
CN1731755A (en) * | 2004-08-04 | 2006-02-08 | 杭州华为三康技术有限公司 | Adapting device for resilient packet ring and method |
-
2006
- 2006-02-13 CN CNB2006100073991A patent/CN100459580C/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040170184A1 (en) * | 2003-02-07 | 2004-09-02 | Masanori Hashimoto | RPR network system |
CN1691640A (en) * | 2004-04-30 | 2005-11-02 | 华为技术有限公司 | A method of ring selection in resilient packet ring (RPR) network |
CN1691629A (en) * | 2004-04-30 | 2005-11-02 | 华为技术有限公司 | Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network |
CN1728674A (en) * | 2004-07-29 | 2006-02-01 | 中兴通讯股份有限公司 | Method and device for implementing upper ring and lower ring of flexible gruoping ring |
CN1731755A (en) * | 2004-08-04 | 2006-02-08 | 杭州华为三康技术有限公司 | Adapting device for resilient packet ring and method |
Non-Patent Citations (4)
Title |
---|
Resilient Packet Ring(RPR) access method andphysicallayerspecifications. IEEE Std 802.17-2004. 2004 |
Resilient Packet Ring(RPR) access method andphysicallayerspecifications. IEEE Std 802.17-2004. 2004 * |
Virtual Bridged Local Area Networks. IEEE Std 802.1Q,2003 Edition. 2003 |
Virtual Bridged Local Area Networks. IEEE Std 802.1Q,2003 Edition. 2003 * |
Also Published As
Publication number | Publication date |
---|---|
CN1809031A (en) | 2006-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100442772C (en) | Bridge-connection transmitting method | |
US9100351B2 (en) | Method and system for forwarding data in layer-2 network | |
US8031640B2 (en) | Packet transmission apparatus, packet forwarding method and packet transmission system | |
JP4782857B2 (en) | VLAN tunneling protocol | |
JP6032278B2 (en) | LAN multiplexer | |
WO2022100554A1 (en) | Method for forwarding bier message, and device and system | |
US20120201247A1 (en) | Metro Ethernet Network With Scaled Broadcast And Service Instance Domains | |
US20050138149A1 (en) | Method and system for increasing available user VLAN space | |
KR100927126B1 (en) | The entry and exit nodes of the MPS network with improved packet transmission speed, and the packet transmission speed improvement method of the MPS network system | |
CN102413060B (en) | User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network | |
CN101296186A (en) | A routing switching device, method and switching line card board | |
US20090141730A1 (en) | Method and system for forwarding data between a plurality of provider ethernet networks | |
JP2003032287A (en) | Method and apparatus for connecting networks, and system using the apparatus | |
CN101160902A (en) | Data forwarding method and switching equipment | |
CN101175025A (en) | System, switch and method supporting mixed forwarding message | |
WO2008040163A1 (en) | Ethernet frame transmitting method and ethernet infrastructure | |
CN101494610B (en) | Method for processing message and switch | |
CN100459580C (en) | Method of forwarding services with three-layer resilient packet ring | |
CN100433691C (en) | A routing method for a virtual private network | |
CN102739498A (en) | Transmission method and system for layered virtual private local area network business | |
WO2021129023A1 (en) | Message sending method, device and system | |
US9240898B1 (en) | Integrating VLAN-unaware devices into VLAN-enabled networks | |
JP5272896B2 (en) | Network relay device, network, and frame transfer method | |
RU2354058C2 (en) | Switching system and switching method on basis of service class switching | |
CN100394741C (en) | User MAC frame forwarding method, edge bridge |
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 |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: NEW H3C TECHNOLOGIES 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: HANGZHOU H3C TECHNOLOGIES Co.,Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090204 |
|
CF01 | Termination of patent right due to non-payment of annual fee |