CN100493031C - Method for realizing two and three layer compatibility RPR network up ring and down ring treatment - Google Patents

Method for realizing two and three layer compatibility RPR network up ring and down ring treatment Download PDF

Info

Publication number
CN100493031C
CN100493031C CNB2005100597899A CN200510059789A CN100493031C CN 100493031 C CN100493031 C CN 100493031C CN B2005100597899 A CNB2005100597899 A CN B2005100597899A CN 200510059789 A CN200510059789 A CN 200510059789A CN 100493031 C CN100493031 C CN 100493031C
Authority
CN
China
Prior art keywords
rpr
address
mac
data frame
ring
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
Application number
CNB2005100597899A
Other languages
Chinese (zh)
Other versions
CN1842053A (en
Inventor
于洋
王玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNB2005100597899A priority Critical patent/CN100493031C/en
Priority to PCT/CN2005/002087 priority patent/WO2006099786A1/en
Priority to EP20050817809 priority patent/EP1863230B1/en
Priority to JP2008501134A priority patent/JP4676528B2/en
Priority to US11/814,909 priority patent/US20080130490A1/en
Publication of CN1842053A publication Critical patent/CN1842053A/en
Application granted granted Critical
Publication of CN100493031C publication Critical patent/CN100493031C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for processing the up ring and the low ring of the two or three compatible RPR ring net. The method comprises: setting up ring repeat quoting and processing module in RPR device which divides the Ethernet data frame into local mode or remote mode to do the sealed process by whether the source and goal MAC address of the Ethernet data frame can be found in the ring node MAC address table or the main machine RPR node corresponding table, and the goal MAC address of the Ethernet data frame is single address or not; the method also comprises: setting low ring repeat quoting and processing module in RPR device which re-combines it into the Ethernet data frame by the repeat mode of the RPR data frame and studies the corresponding relation of the source main machine address and the RPR node address by the Flooding sign of the RPR data frame and the repeat mode.

Description

Realize two three layer compatibility RPR network up ring and encircle processing method down
Technical field
The present invention relates to the method for a kind of realization two three layer compatibility RPR (Resilient Packet Ring, stretch grouped data ring) looped network technology, more particularly, relate to a kind of going up ring and encircling processing method down of two three layer compatibility RPR looped networks of realizing.
Background technology
Along with the foundation gradually of broadband value chain and broadband services operation mode, broadband services becomes each operator field that branches out, the focus of increasing income, enhancing the competitiveness just gradually.The metropolitan area network equipment that adapts to broadband services occupies more and more important position in application.
The solution of tradition metropolitan area network mainly is SDH (Synchronous Digital Hierarchy, synchronous digital classification) or Ethernet mode, and this dual mode respectively has pluses and minuses:
The advantage of SDH looped network is a high reliability, satisfies the user's communications requirement; Protection and quick restoring mechanism can be provided; But its point-to-point, Circuit-switched design object have also been brought many shortcomings for it: 1, fixed allocation and reservation in the link of bandwidth point-to-point between node; 2, bandwidth can not change according to the actual conditions of flow in the network, is unfavorable for the efficient utilization of bandwidth; 3, broadcasting and multicast message will be divided into a plurality of clean cultures and finish waste bandwidth; 4, be generally the realization protection mechanism, 50% bandwidth will keep, and fail to provide choice mechanism flexibly.
Ethernet technology has low, succinct, the easy expansion of cost and is convenient to the transmission of IP (Internet Protocol) bag and characteristics such as processing, but the difficult problem that it also exists many needs to overcome at aspects such as scale, teleservice foundation, quality assurance, reliabilities.
The RPR technology integrates the intellectuality of IP, the economy of Ethernet and high bandwidth efficiency, the reliability of optical fiber ring network, for broadband IP metropolitan area network operator provides a good networking plan.The RPR technology makes operator provide the carrier-class service to become possibility with low cost in metropolitan area network, has reduced the transmission expense when similar SDH level network reliability is provided.It is to have the carrier-class reliability that RPR is different from the most attracting characteristics of traditional ethernet, makes it be not limited to handle data-oriented professional transmission demand, can form simultaneously to handle the comprehensive transmission solution that multi-service transmits.Can say so, RPR is the product that IP technology and optical-fiber network technology directly merge, and it comes from the demand of client to the IP operation development, complies with up-to-date technology trend, for the construction of IP metropolitan area network has brought low-cost, the high-quality solution of a cover.
Similar with the SDH topological structure, RPR is reciprocal dicyclo topological structure.Different is that the dicyclo of RPR can both transmit data.Be called outer shroud near outside ring, near the interior ring that is called of the inside.The data transmission direction of RPR outer shroud is a clockwise direction, and the data transmission direction of interior ring is counterclockwise.Outer shroud and interior ring be transfer data packets and controlling packet all, and the controlling packet of interior ring is carried the control information of outer shroud packet, and vice versa.
Node cooperates with ring, finishes various data manipulations.Master data operation commonly used comprises:
Upload (insert): node device is inserted into the message of transmitting from other interfaces the data flow of RPR ring, is node traffic is carried to operational motion on the RPR looped network first.
Download (copy): node device receives data from the data flow of RPR ring, the upper-layer protocol of giving node handles accordingly; To should the RPR node being this professional destination node situation.
Pass by (transit): will continue to be forwarded to next node by way of the data flow of this node; To should the RPR node not being this professional destination node situation.
Reject (strip): the data of this node of approach are no longer transmitted to next node; To should node being professional destination node, the perhaps overdue situation of the TTL of node traffic (Time To Live).
The RPR ring can find on the ring how many nodes are arranged automatically, and how are the MAC Address of node and the relation of the position between the node, also promptly have the function of carrying out Topology Discovery automatically.
The automatic topology of RPR is found to be finished by Topology Discovery control message.Node sends topological message periodically on outer shroud, carry node identification (the Mac address of oneself, claim source node information again) and oneself nodal information territory (comprising node M ac address, ring sign, Wrap sign etc.), other node is after receiving this Topology Discovery message on the ring, the nodal information of oneself is appended to the back of message, and passes to next node.When this message is got back to source node (source node is identical with own node), node will extract all nodal informations in proper order, form the topology information table.
In the topological message transport process, if run into the loopback node, topological message need be interior around row, and gets back to outer shroud, and before getting back to outer shroud, node can not append nodal information in topological message on the way, can only transmit, and reduce control TTL territory.New topology is the main/important evidence of node traffic Path selection, if topology has renewal, the optimal path of going to link point may change to some extent, and node need be adjusted professional choosing ring, goes up bandwidth and obtains optimum utilization to guarantee ring.Undergo mutation for some reason in order to prevent topology, RPR agreement regulation, have only receive continuously two parts identical and and at present after the topological inconsistent topology table, just topology table can be updated.The general cycle of Topology Discovery takes place, and the cycle can be adjusted.Also can take place as required, such as manual command, switching action etc.
The difference of the source and destination address of transmitting according to business can be divided into local and transmit two kinds of patterns of (Localforwarding) and long-range forwarding (Remote forwarding).These two kinds of patterns are divided into known unicast forwarding and unknown unicast, multicast and broadcasting again separately and transmit.The following local forward mode of describing RPR earlier.
(1) the local known unicast is transmitted
It all is node on encircling that known unicast in the local forward mode is transmitted the professional promoter that is meant ring and terminator, promptly be to initiate with three-tier switch or router that ring directly links to each other, source MAC that it is professional and target MAC (Media Access Control) address all are link point MAC Address.For this situation, the equipment that requires to link to each other with the RPR node is a three-layer equipment, also can be described as the shellring net of RPR, so be referred to as three layers of forwarding.
In this case, from the IEEE 802.3 Ethernet data frame formats that three-tier switch sends, need be transformed into new IEEE 802.17RPR MAC form and on the RPR ring, transmit.Arrived after the purpose RPR node, remapped into original IEEE 802.3 Ethernet data frame formats.
The form of transmitting the RPR Frame is on the basis of original Ethernet data frame format, again add the content of 6 bytes (TTL, baseRingControl, ttlbase, extRingControl respectively are that a byte, HEC are two bytes), and be combined to form through rearranging.Wherein the HEC in the RPR MAC form is the verification at the RPR head, and FCS (4 bytes) is respectively at RPR later content verification.The concrete definition in these territories can be referring to IEEE 802.17 standards.Encapsulation format as shown in Figure 1.
(2) broadcasting in the local, multicast and unknown unicast are transmitted
Broadcasting in the local and multicast forwarding are meant that the source node of RPR business is a ring MAC node, and destination node is whole link points or one group of link point, and be identical with the forwarding of local known unicast, belongs to three layers of forwarding.Dui Ying target MAC (Media Access Control) address is a broadcasting MAC Address or a multicast mac address in this case.
As shown in Figure 1, under broadcasting in local and the multicast forwarding situation, the processing and the local known unicast form of RPR MAC data frame format are identical, and just target MAC (Media Access Control) address is a broadcast address or multicast address.
It is the ring MAC Address that unknown unicast in the local is transmitted the source node that is meant the RPR business, and destination node is not a link point MAC Address, a but host MAC address below certain unknown link point, it is non-RPR local address, be a remote host address, about this service needed is carried out via certain link point.The local unknown unicast is transmitted and is also belonged to three layers of forwarding.
Under the forwarding situation of local unknown unicast, owing to do not know definite destination node information, so this RPR Frame need carry out Flooding (flooding) on whole ring, to guarantee arriving professional destination host.Promptly all the RPR nodes on the ring all need service duplication is got off, and continue Flooding then in two layers of Ethernet below the node separately, to guarantee the professional final destination host that arrives.In this case, the data frame format of RPR mac frame on looped network is also identical with the local known unicast, just in 6 bytes of adding up a Flooding position is arranged, and indicating this Frame is a Flooding Frame.
So-called long-range forwarding is meant one of three kinds of following situations: these professional IEEE 802.3 ethernet source MAC Address are not the MAC Address of link point; IEEE 802.3 Ethernet target MAC (Media Access Control) address that perhaps should business are not the MAC Address of link point; It perhaps neither is the MAC Address of link point.From the another one aspect, what networking requirement at this time was that RPR connects below all is not L3 switch or router, and promptly RPR will organize two layers of Ethernet, so be referred to as two layers of forwarding.Long-range forwarding is divided into the known unicast forwarding again and situation is transmitted in unknown unicast, multicast and broadcasting.
(1) long-range known unicast is transmitted
If the source and destination MAC Address of IEEE 802.3 ethernet data frames of last RPR ring is not the MAC Address of link point, the ethernet data frame of this IEEE 802.3 is when passing the RPR node so, need on certain RPR source node, encircle, under certain RPR destination node, encircle.Therefore, this Frame of 802.3 needs two kinds of MAC Address notions when passing IEEE 802.17RPR looped network, and a kind of is the source and destination MAC Address of IEEE 802.3, and a kind of is the source and destination MAC Address of IEEE 802.17.The former represents professional ultimate source and destination host address, and the latter represents last link dot address and the following link dot address in the time of need striding across the RPR ring.Though the definition of the two MAC Address all is the definition of 48 bits, the implication difference of concrete representative.
When RPR equipment need encircle, add the IEEE 802.17RPR data frame head of 18 bytes in its front on the ethernet data frame of IEEE 802.3.Under when encircling, be reduced into original IEEE802.3 Ethernet data frame format again.Inside 18 bytes of adding, except TTL, baseRingControl, ttlbase, extRingControl, these 6 bytes of HEC, also comprise respectively being going up ring RPR node address and encircling the RPR node address down of 6 bytes.Concrete encapsulation format as shown in Figure 2.
(2) remote broadcast, multicast and unknown unicast are transmitted
Remote broadcast and multicast forwarding are meant that the target MAC (Media Access Control) address of 802.3 business is broadcasting or multicast mac address, and RPR data frame format in this case is identical with Fig. 2, and just corresponding target RPR node address is broadcast address or multicast address.The forwarding processing format of long-range unknown unicast is identical with the broadcasting processing format, all be to add the IEEE 802.17RPR data frame head of 18 bytes in the Ethernet data frame format front of IEEE 802.3, when encircling down, be reduced into original IEEE 802.3 Ethernet data frame formats then.
Under when encircling, how equipment knows that it still is long-range forwarding that local is transmitted? this is position decision in the extRingControl byte in the RPR head, and which kind of encapsulation format what this indicated that this RPR MAC Frame adopts is.
But in the RPR standard, how under the situation of two or three layers of mixing apparatus networking, carrying and the forwarding of carrying out data do not have concrete technical scheme for equipment.
Summary of the invention
Technical problem to be solved by this invention provides the method for mutual conversion that a kind of concrete condition according to two or three layers of networking is carried out the RPR form of the ethernet format of IEEE802.3 and IEEE802.17.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is: a kind of upward ring processing method that realizes two three layer compatibility RPR looped networks, it is characterized in that: be provided with in RPR equipment that ring is transmitted judgement and processing module or in RPR equipment, undertaken by software on ring transmit and judge and treatment step that this module or step are further carried out following processing to the ethernet data frame of last ring:
1) whether the target MAC (Media Access Control) address of judging this ethernet data frame is unicast address;
2) if the target MAC (Media Access Control) address of this ethernet data frame is a unicast address, then in link point mac address table, search the source MAC and the target MAC (Media Access Control) address of this Frame, and determine the encapsulation format of RPR according to the result who searches, with three layers of RPR looped network technology that realize that compatibility is present, and adapt to two layers of professional RPR looped network automatically;
3) the RPR Frame after will encapsulating is transmitted in the RPR looped network.
In addition, in described step 2) in,
If a) in link point mac address table, find the source MAC and the target MAC (Media Access Control) address of this ethernet data frame, then use the encapsulation of RPR local form;
B), then use the encapsulation of RPR remote format if in link point mac address table, do not find the source MAC of this ethernet data frame and find target MAC (Media Access Control) address;
C) if in link point mac address table, find the source MAC of this ethernet data frame and do not find target MAC (Media Access Control) address, then in host MAC address and RPR node correspondence table, search this target MAC (Media Access Control) address.
In addition, in described step b), further sourceStationID value in the RPR head is set according to last link point.
In addition, in described step c),
I), then use the encapsulation of RPR remote format if this target MAC (Media Access Control) address finds in host MAC address and RPR node correspondence table;
If ii) this target MAC (Media Access Control) address does not find, then use the encapsulation of RPR local form in host MAC address and RPR node correspondence table.
In addition, in described step I) in according to this host MAC address and RPR node correspondence table destinationStationID value in the RPR head is set, and sourceStationID in the RPR head is set according to link point mac address table; At described step I i) in packet be set to the Flooding pattern.
In addition, if in link point mac address table, do not find the source MAC of this ethernet data frame, and in host MAC address and RPR node correspondence table, do not find target MAC (Media Access Control) address, then use the encapsulation of RPR remote format, and according to last link point sourceStationID value in the RPR head is set, and this packet is set to the Flooding pattern.
In addition, the described ring of going up is transmitted judgement and processing module or is transmitted and judge and treatment step also carries out following processing by the ring of going up that software carries out:
1 "), then in link point mac address table, search the source MAC of this ethernet data frame if the target MAC (Media Access Control) address of this ethernet data frame is non-unicast address:
A '), then use RPR local form to encapsulate if find the source MAC of this ethernet data frame;
B ') if do not find the source MAC of this ethernet data frame, then uses the RPR remote format to carry out encapsulation process, and sourceStationID value in the RPR head is set according to last link point;
2 ") the RPR Frame after will encapsulating is transmitted in the RPR looped network.
In order to solve the aforementioned problems in the prior, the present invention also provides a kind of following ring processing method that realizes two three layer compatibility RPR looped networks, it is characterized in that: ring forwarding down is set in RPR equipment judges and processing module that the RPR Frame that this module is transmitted processing to needs carries out following processing:
1 ') judge that this RPR Frame is local forward mode or long-range forward mode;
2 ') if this RPR Frame is the local forward mode, then from the RPR Frame, extract corresponding source MAC and target MAC (Media Access Control) address, be reassembled into new ethernet data frame, and calculation check again, ethernet data frame after obtaining changing, and with its forwarding;
3 ') if this RPR Frame is long-range forward mode, then the RPR head with the RPR Frame removes, and obtains ethernet data frame, and with its forwarding.
In addition, if this RPR Frame is a RPR local forward mode, and the Flooding of this RPR Frame is masked as effectively, then learn the corresponding relation of source PC host address and RPR node address, the host MAC address and two of the RPR nodes that are about in host MAC address and the RPR node correspondence table all are recorded as the sourceMacAddress value.
In addition, if this RPR Frame is long-range forward mode, then learn the corresponding relation of source PC host address and source RPR node address, the host MAC address item that is about in host MAC address and the RPR node correspondence table is recorded as the sourceMacAddress value and RPR node item is recorded as the sourceStationID value.
Compared with prior art, the present invention can compatible three layers of present RPR looped network technology, adapts to two layers of professional RPR looped network automatically, and the procedure of adaptation is study automatically, does not need software or manual intervention.Satisfied user's diversified networking demand.
Description of drawings
Fig. 1 is a schematic diagram of describing RPR local encapsulation format;
Fig. 2 is a schematic diagram of describing the long-range encapsulation format of RPR;
Fig. 3 describes the professional flow chart of handling of transmitting of ring in the present invention;
Fig. 4 describes the present invention's professional flow chart of handling of transmitting of ring down.
Embodiment
Below in conjunction with drawings and Examples the present invention is described in detail.
Complete skill scheme of the present invention comprises ring business on the RPR looped network transmitted to handle and ring business down transmitted handles two links.
1, going up professional forwarding of ring handles
When business carried out encircling on the RPR looped network, the RPR chip need be provided with ring forwarding judgement and processing module on the L2/L3 layer, and this module is judged adopt for which kind of encapsulation format, and how purpose RPR node address and source RPR node address encapsulate.Carry out corresponding encapsulation process at the concrete condition of two layers of networking and three layers of networking then.
This module be input as IEEE 802.3 ethernet data frames, be output as IEEE 802.17RPR Frame.This module can adapt to professional two or three layers of situation of Ethernet automatically, carries out corresponding RPR local or long-range encapsulation process.Its concrete treatment step is as follows:
As shown in Figure 3, the target MAC (Media Access Control) address of at first judging IEEE 802.3 ethernet data frames is that unicast address also is non-unicast address, if unicast mac address is handled so according to the following steps:
(1) in link point mac address table, searches the source MAC and the target MAC (Media Access Control) address of IEEE 802.3 ethernet data frames respectively.The front was introduced, and according to the topology discovery function of RPR standard, the mac address table of RPR link point can be collected by special RPR Topology Discovery frame.
(2), use the encapsulation of IEEE 802.17RPR local form so if source MAC and target MAC (Media Access Control) address all find in link point mac address table.On the basis of adjusting the MAC Address position, add RPR content of 6 bytes, and calculate HEC and FCS value.
(3) if do not find source MAC, and find target MAC (Media Access Control) address, use the IEEE802.17RPR remote format to carry out encapsulation process so, destinationStationID in the RPR head is set to the destination address of IEEE 802.3 Frames, be destinationMacAddress, sourceStationID in the RPR head is set to the MAC Address of link point, and the long-range forwarding sign in the RPR head is set to effectively.
(4) if find source MAC, and target MAC (Media Access Control) address does not find, and continues so to search target MAC (Media Access Control) address in host MAC address and RPR node correspondence table.The content of this table is which RPR node is the MAC Address of a PC main frame of record hang over below, its effect and mechanism are similar with the mac address table of common two layers of Ethernet, just latter's record be a PC host MAC address below which port, and the former is that PC host MAC address of record is at which RPR node.This table also is that receive direction (promptly encircling direction down) is learnt to get automatically.
(5) if in host MAC address and RPR node correspondence table, find the corresponding RPR purpose ring node ID of target MAC (Media Access Control) address, use IEEE 802.17RPR remote format to carry out encapsulation process so, destinationStationID in the RPR head is set to the MAC Address of corresponding link point, sourceStationID is set to the source MAC of IEEE 802.3 Frames, and the long-range forwarding sign in the RPR head is set to effectively.
(6) if target MAC (Media Access Control) address does not find corresponding RPR purpose ring node ID, use IEEE 802.17RPR local form to carry out encapsulation process so.And the Flooding in the RPR head is masked as effectively.
(7) if do not find source MAC, do not find target MAC (Media Access Control) address yet, then use the IEEE802.17RPR remote format to carry out encapsulation process, destinationStationID in the RPR head is set to the destination address of IEEE 802.3 Frames, be destinationMacAddress, sourceStationID in the RPR head is set to the MAC Address of the ring node ID of link point, the Flooding that is provided with in the RPR head is masked as effectively, and the long-range forwarding sign in the RPR head is set to effectively.
So far the destination address of finishing IEEE 802.3 is that the ring of going up of unicast address is transmitted processing capacity.The target MAC (Media Access Control) address of introducing IEEE 802.3 below is that the ring of going up of non-unicast address is transmitted operating procedure.
(1) source MAC of use IEEE 802.3 Ethernets is searched link point mac address table.The front was introduced, and according to the topology discovery function of RPR standard, the mac address table of RPR link point can be collected by special RPR Topology Discovery frame.
(2), use IEEE802.17RPR local form to encapsulate so if in link point mac address table, find source MAC.On the basis of adjusting the MAC Address position, add RPR content of 6 bytes, and calculate HEC and FCS.
(3) if in link point mac address table, do not find source MAC, use the IEEE802.17RPR remote format to carry out encapsulation process so, sourceStationID in the RPR head is set to the MAC Address of ring RPR node, destinationStaionID is set to the target MAC (Media Access Control) address of IEEE 802.3, and the long-range forwarding sign in the RPR head is set to effectively.
So far Ethernet two or the three layer data frames of finishing IEEE 802.3 convert the upward ring forwarding processing capacity of the RPR Frame of IEEE 802.17 to.
2, the professional forwarding of ring handled down
When under business, encircling, the RPR chip need be provided with one down ring transmit and judge and processing module, the RPR Frame that is input as IEEE 802.17 of this module is output as the ethernet data frame of IEEE 802.3.Which kind of encapsulation format what this module can be judged the employing of RPR Frame automatically is, then at different encapsulation situations, finishes corresponding by the conversion work of IEEE 802.17 encapsulated frame to IEEE 802.3 encapsulated frame.It is to learn the corresponding relation of PC host address and RPR node automatically that this module also has a function.
Concrete treatment step is as follows:
Judge that at first IEEE 802.17RPR Frame is that local is transmitted (three layers of forwarding) pattern or long-range forwarding (two layers of forwarding) pattern, has clear and definite flag bit in the extRingControl byte of this information in the RPR frame head.If the local forward mode is handled so according to the following steps:
(1) if Flooding sign (in the extRingControl byte of this information in the RPR frame head clear and definite flag bit being arranged) is for invalid, from the RPR head, extract corresponding source MAC and target MAC (Media Access Control) address so, be reassembled into new IEEE 802.3 ethernet data frames, and calculation check again.The Frame of IEEE 802.3 Ethernets after just obtaining changing.
(2) if Flooding is masked as effectively, the process that forms new IEEE802.3 ethernet data frame so again is identical with (1), also needs to learn the corresponding relation of source PC host address and RPR node address in addition.Concrete learning process is: host MAC address item in host MAC address and the RPR node correspondence table and RPR node item all are recorded as source MAC, it is the sourceMacAddress value, in fact this table is similar with layer 2-switched mac address table, the latter is the corresponding relation of record MAC Address and physics or logic port, and the former is the corresponding relation of record MAC Address and RPR node.
So far the RPR Frame of finishing the local forward mode converts the automatic study and work of the conversion process and the MAC Address of ethernet data frame to, introduces the conversion process step of long-range forward mode below.
(1) removes the frame head of the RPR Frame of 18 bytes, the Frame of IEEE 802.3 Ethernets after just obtaining changing.
(2) corresponding relation of study source PC host address and source RPR node address.Concrete learning process is: host MAC address item in host MAC address and the RPR node correspondence table and RPR node item are recorded as respectively: sourceMacAddress and sourceStationID value.
So just finished last ring, the following complete transfer process of ring, this transfer process and can adapt to two layer services and three layer services automatically, promptly corresponding is Layer 2 switch or three-tier switch or router.

Claims (5)

1, a kind of upward ring processing method that realizes two three layer compatibility RPR looped networks, it is characterized in that: be provided with in RPR equipment that ring is transmitted judgement and processing module or in RPR equipment, undertaken by software on ring transmit and judge and treatment step that this module or step are further carried out following processing to the ethernet data frame of last ring:
1) whether the target MAC (Media Access Control) address of judging this ethernet data frame is unicast address;
2) if the target MAC (Media Access Control) address of this ethernet data frame is a unicast address, then in link point mac address table, search the source MAC and the target MAC (Media Access Control) address of this Frame,
If a) in link point mac address table, find the source MAC and the target MAC (Media Access Control) address of this ethernet data frame, then use the RPR local known unicast encapsulation format encapsulation that meets the IEEE802.17 standard;
B) if in link point mac address table, do not find the source MAC of this ethernet data frame and find target MAC (Media Access Control) address, then use the long-range known unicast encapsulation format encapsulation of the RPR meet the IEEE802.17 standard, further sourceStationID value in the RPR head is set according to last link point;
C) if in link point mac address table, find the source MAC of this ethernet data frame and do not find target MAC (Media Access Control) address, then in host MAC address and RPR node correspondence table, search this target MAC (Media Access Control) address,
I), then use the long-range known unicast encapsulation format encapsulation of RPR if this target MAC (Media Access Control) address finds in host MAC address and RPR node correspondence table;
If ii) this target MAC (Media Access Control) address does not find, then use the encapsulation of RPR local unknown unicast encapsulation format in host MAC address and RPR node correspondence table;
3) if the target MAC (Media Access Control) address of this ethernet data frame is non-unicast address, then in link point mac address table, search the source MAC of this ethernet data frame: the RPR encapsulation format that also meets the IEEE802.17 standard according to result's decision of searching;
4) the RPR Frame after will encapsulating is transmitted in the RPR looped network.
2, the method for claim 1, it is characterized in that in described step I) in according to this host MAC address and RPR node correspondence table destinationStationID value in the RPR head is set, and sourceStationID in the RPR head is set according to link point mac address table; Step I i) packet is set to the Flooding pattern in.
3, the method for claim 1, it is characterized in that if in link point mac address table, do not find the source MAC of this ethernet data frame, and in host MAC address and RPR node correspondence table, do not find target MAC (Media Access Control) address, then use the encapsulation of RPR remote format, and according to the MAC Address of last ring node ID sourceStationID value in the RPR head is set, and this packet is set to the Flooding pattern.
4, the method for claim 1 is characterized in that in the described step 3),
A '), then use RPR local form to encapsulate if find the source MAC of this ethernet data frame;
B ') if do not find the source MAC of this ethernet data frame, then uses the RPR remote format to carry out encapsulation process, and sourceStationID value in the RPR head is set according to the MAC Address of last ring node ID.
5, a kind of following ring processing method that realizes two three layer compatibility RPR looped networks, it is characterized in that: ring forwarding down is set in RPR equipment judges and processing module that the RPR Frame that this module is transmitted processing to needs carries out following processing: judge that this RPR Frame is local forward mode or long-range forward mode;
If this RPR Frame is the local forward mode:
If it is invalid that the Flooding of this RPR Frame is masked as, then from the RPR Frame, extract corresponding source MAC and target MAC (Media Access Control) address, be reassembled into new ethernet data frame, and calculation check again, ethernet data frame after obtaining changing, and with its forwarding;
If the Flooding of this RPR Frame is masked as effectively, then learn the corresponding relation of source PC host address and RPR node address, the host MAC address and two of the RPR nodes that are about in host MAC address and the RPR node correspondence table all are recorded as the sourceMacAddress value;
If this RPR Frame is long-range forward mode, then the RPR head with the RPR Frame removes, and obtains ethernet data frame, and with its forwarding.
6, method as claimed in claim 5, it is characterized in that: if this RPR Frame is long-range forward mode, then learn the corresponding relation of source PC host address and source RPR node address, the host MAC address item that is about in host MAC address and the RPR node correspondence table is recorded as the sourceMacAddress value and RPR node item is recorded as the sourceStationID value.
CNB2005100597899A 2005-03-25 2005-04-01 Method for realizing two and three layer compatibility RPR network up ring and down ring treatment Expired - Fee Related CN100493031C (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CNB2005100597899A CN100493031C (en) 2005-04-01 2005-04-01 Method for realizing two and three layer compatibility RPR network up ring and down ring treatment
PCT/CN2005/002087 WO2006099786A1 (en) 2005-03-25 2005-12-05 A method for implementing on-ring process, off-ring process and data forwarding in resilience packet data ringnet and a network device thereof
EP20050817809 EP1863230B1 (en) 2005-03-25 2005-12-05 A method for implementing on-ring process, off-ring process and data forwarding in resilience packet data ringnet and a network device thereof
JP2008501134A JP4676528B2 (en) 2005-03-25 2005-12-05 RPR ring network on / off ring processing, data transfer method and network equipment thereof
US11/814,909 US20080130490A1 (en) 2005-03-25 2005-12-05 Method For Implementing on-Ring Process, Off-Ring Process and Data Forwarding in Resilience Packet Data Ringnet and a Network Device Thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100597899A CN100493031C (en) 2005-04-01 2005-04-01 Method for realizing two and three layer compatibility RPR network up ring and down ring treatment

Publications (2)

Publication Number Publication Date
CN1842053A CN1842053A (en) 2006-10-04
CN100493031C true CN100493031C (en) 2009-05-27

Family

ID=37030901

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100597899A Expired - Fee Related CN100493031C (en) 2005-03-25 2005-04-01 Method for realizing two and three layer compatibility RPR network up ring and down ring treatment

Country Status (1)

Country Link
CN (1) CN100493031C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534231B (en) * 2009-04-17 2011-08-03 杭州华三通信技术有限公司 Method, system and equipment for transmitting data in elastic grouping ring
CN102333034B (en) * 2011-09-23 2014-10-08 北京华为数字技术有限公司 Method and device for transmitting user information in loop topology
CN112714076B (en) * 2020-12-31 2022-12-16 北京金日恒升科技有限公司 Interconnected communication system and method

Also Published As

Publication number Publication date
CN1842053A (en) 2006-10-04

Similar Documents

Publication Publication Date Title
CN101133407B (en) Metro Ethernet with flexible broadcast and service instance domain
US8031640B2 (en) Packet transmission apparatus, packet forwarding method and packet transmission system
CN1625176B (en) Realization method of edge to edge pseudo-line simulation protocol
JP4676528B2 (en) RPR ring network on / off ring processing, data transfer method and network equipment thereof
CN101072162B (en) Forwarding table minimization in Ethernet switch
JP4663643B2 (en) Method and apparatus for transferring packets in an Ethernet passive optical network
CN102957616B (en) In the method and system of ASIC repeating TRILL network message
CN104272679A (en) Communication system, control device, communication method, and program
CN102986179A (en) Methods and apparatuses for processing and/or forwarding packets
CN104283817A (en) Method for achieving communication of switching line card and logic line card and packet transmitting equipment
CN1985472A (en) Method of sending a packet through a node
JP2002247089A (en) Packet routing method and device
CN102801622B (en) A kind of retransmission method of data message and retransmission unit
WO2022166773A1 (en) Multicast packet transmission method, bit forwarding router, and storage medium
CN100493031C (en) Method for realizing two and three layer compatibility RPR network up ring and down ring treatment
CN100454890C (en) Data exchange method based on virtual local area network
CN100337453C (en) Method for implementing message forwarding along RPR ring and RPR network
CN100391196C (en) Data exchange method based on virtual local area network
CN100417123C (en) RPR address binding method
CN101197720B (en) Method and device for configuring Ethernet equipment
WO2006034613A1 (en) A method for providing point-to-point service in resilient packet ring
CN105516116A (en) System for controlling OpenFlow exchanger based on ForCES control element and protocol conversion method
CN100411387C (en) Dualhoming network holding method based on RPR network
CN101515880A (en) Method and equipment for providing Ethernet service on network based on resilient packet ring
WO2004068789A1 (en) Method and system for receiving and transmitting different data frames on digital tranmission network

Legal Events

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

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

Patentee after: 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.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090527