The present invention relates to the field of telecommunication technologies, and more particularly, to a method and apparatus for interface trunking in Resilient Packet Rings (RPRs).
With fast expansion of data services, the data processing capability of the Metropolitan Area Network (MAN) has become an important concern to most telecommunication operators. The existing technologies, such as IP over Asynchronous Transfer Mode (ATM), IP over Synchronous Digital Hierarchy (SDH), and Metro Ethernet, have their own disadvantages, respectively. Ethernet IP data services, with the best-effort mechanism, lack flexibility; QoS guarantee and satisfactory bandwidth management. SDH, which is very mature and dominates the telecommunication operation field currently, is disadvantageous in that the bandwidth utilization is not high and cannot get adapted to burst data services. In view of the above fact, a novel Media Access Control (MAC) protocol for optimization of IP packet transmission, that is, the Resilient Packet Ring (RPR) protocol, is put on the agenda. The RPR technology has exhibited unique advantages due to its technical advancement, effectiveness in investment, superiority in performance, and support for diversified services.
The Resilient Packet Ring (RPR) technology is a layer 2 ring network technology, and provides a good networking scheme for broadband IP MAN operators. The RPR technology has a topology in which two-fiber optical fiber transfer rings in opposite directions are adopted. On the two fibers, data or control packets may be transmitted simultaneously in the clockwise and counterclockwise directions. When the RPR is operating, data and control signals may be transmitted over a fiber in the same direction without dependence on the other fiber in the opposite direction. In this manner, each of the inner and outer fibers in the RPR may transmit data or control signals simultaneously, and the bandwidth utilization is improved. The fairness and dynamic bandwidth management features in the RPR can ensure that stations in the RPR share the entire bandwidth resources fairly. Through automatic topology discovery and fair management of the ring bandwidth, as well as the reliable protection switching technology, the RPR can adjust the network operation state intelligently and automatically so that the packet data services may be transmitted normally in the RPR. Currently, the IEEE 802.17 working group is actively involved in the standardization task for the RPR.
Detailed descriptions on the RPR are given below with reference to
As shown in
In the RPR, Ringlet 0 transmits data in the clockwise direction and Ringlet 1 transmits data in the counterclockwise direction. Each RPR station corresponds to a RPR physical interface of a device, and is assigned a 48-bit MAC address, and has an IP address assigned by the network layer as an identifier.
From the topological perspective, rings may be classified into open rings or closed rings. If a ring is disconnected, it is called an open ring; if a ring is closed, it is called a closed ring.
When a ring is disconnected, the station at the disconnection forms an edge, indicating that the ring is no longer a closed ring.
Stations are numbered from 0. Station 0 is the present station, or is referred to as the source station, the originating station or other terms. A station may be any computing device.
The distance from a station to the next station on a ring is called a hop. For example, the distance from station 0 to station 1 is 1 hop on ringlet 0, and 5 hops on ringlet 1.
As shown in
The data processing in the RPR includes the following operations:
An important reason for the RPR to achieve high reliability is that its self-healing ability is robust when any failure occurs. Failure protection switching within 50 ms can be implemented in the RPR.
Referring to
The RPR forwards a packet based on the destination MAC address, i.e., with the RPR forwarding mechanism, the destination MAC address is used to look up the forwarding table for an output interface. The forwarding table entry is established by learning the MAC address (similar to the switches).
Descriptions of Trunk technology, which relates to binding ports (interfaces) or link convergence, in the related arts, are given below with reference to
The Trunk technology relates to port (interface) binding or link convergence, in which two or more physical interfaces are combined into one interface logically. In this manner, the available bandwidth of the interface may be increased, and the reliability of the interface (link) is improved (because data can still be transmitted over other links automatically when a physical link fails in the Trunk links).
The transmission medium characteristics of the twisted pair in the 100M Ethernet determine that the bandwidth between two interconnected 10/100 conventional switches is only 100M. If full duplex is used, the maximum transmission bandwidth may be up to 200M. Accordingly, a bottleneck is formed for the network backbone and the servers. To reach a higher data transmission rate, the transmission medium needs to be replaced. If 1000M optical fibers are used or an Ethernet is upgraded to 1000M Ethernet, although 1000M may be reached in terms of bandwidth, the cost is rather high (in some cases, even switches have to be replaced). It is not suitable for low-cost applications, e.g. in small and media enterprises or schools. If the Trunk technology is used, four ports are trunk together to reach 800M bandwidth. In this manner, a balance between the cost and the performance may be achieved.
As shown in
It can be seen that the interface trunking technology may greatly improve the bandwidth utilization and the interface reliability. However, the current interfaces supporting the Trunk function mainly include Ethernet type interfaces and POS type interfaces. In the RPR interfaces, the Trunk function has not been implemented yet.
Therefore, there is a need for an interface and method to implement interface trunking in the RPR.
Embodiments of the present invention provide a trunk interface in Resilient Packet Rings (RPRs) and a method and an apparatus for implementing interface trunking in the RPR with a plurality of stations.
An embodiment of the present invention provides an interface trunking method for implementing interface trunking in Resilient Packet Rings (RPRs) with a plurality of stations, at least one of the stations including a plurality of RPR interfaces, each of the RPR interfaces including a first physical link port and a second physical link port, the method including:
The method may further include:
An embodiment of the present invention provides an interface trunking apparatus adapted to implement interface trunking in Resilient Packet Rings (RPRs) with a plurality of stations, at least one of the stations including a plurality of RPR interfaces, each of the RPR interfaces including:
The interface trunking apparatus includes:
An embodiment of the present invention also provides a trunk interface for use in Resilient Packet Rings (RPRs) with a plurality of stations, at least one of the stations including a plurality of RPR interfaces, each of the RPR interfaces including a first physical link port coupled to a first physical link and a second physical link port coupled to a second physical link, the trunk interface including:
An embodiment of the present invention also provides a communication apparatus with a trunk interface, for performing communication function in Resilient Packet Rings (RPRs) according to the RPR protocol.
More preferably, the communication apparatus may further include:
As described above, with the technical solution provided in embodiments of the present invention, interface trunking is implemented in RPRs with a plurality of stations, at least one of the stations including a plurality of RPR interfaces. A plurality of physical link ports in a RPR interface is combined into a logical link port, so as to implement logical combination of a plurality of physical links. A trunk interface is formed with the combined logical link ports, and a logical address is assigned to the trunk interface. Furthermore, the communication traffic of the stations may be apportioned among the physical link ports, so as to implement link balance. The physical links are provided on different rings so as to form redundant links. In this manner, even if one of the physical links fails, data may be transmitted over other links and the Trunk link may still be used normally. Accordingly, a new ring is formed when one ring fails, so that the communication link is smooth. With the present invention, the interface bandwidth is increased, the address (MAC address/IP address) resources are saved and the reliability of interfaces and links is increased.
The features and nature of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference characters identify correspondingly throughout.
To clarify the principle, feature, and advantage of the present invention, detailed descriptions are given below with reference to the accompanying drawings.
In
As shown in
It can be seen from
In practical applications, the RPR-Trunk interface needs to be configured for each device in the ring and the corresponding RPR interface needs to join the RPR-Trunk interface as a member. The RPR-Trunk interface may be a logical interface of the device, for example, it may be configured with a MAC address or an IP address. Because several physical interfaces are trunk into one logical interface, use of the Trunk interface may save IP/MAC addresses.
When an insert operation is to be performed on data received at an input interface of a station, the selected output interface is an RPR-Trunk interface, the interface indicating the direction of the RPR, that is, ringlet 0 or ringlet 1. In this case, a member interface (that is, an actual RPR physical interface) is selected according to a certain algorithm, and data is transmitted through the interface. After data is inserted, the remaining transmission processes are the same as the operations of the conventional RPR, including copy, transit and strip operations.
In step S102, a plurality of RPR interfaces for a station are determined as the members of a member Trunk interface. For example, as shown in
In step S104, the physical link ports of ringlet 0 and ringlet 1 for each member of the RPR-Trunk interface are determined. For example, as shown in
In step S106, the Trunk technology is used to combine the physical link ports of ringlet 0 and the physical link ports of ringlet 1 into one ringlet 0 logic and one ringlet 1 logic. For example, as shown in
To implement the trunking and usage of the RPR interfaces, the present invention includes the following operations.
It is assumed that two RPR-Trunk interfaces are present on a specified station, for example, station 0: RPR-Trunk 1 having member interfaces if3/0/0 and if3/0/1; and RPR-Trunk 2 having member interfaces if4/0/0 and if4/0/1.
1) Data insert: When the station receives a data packet from the input interface, it looks up the forwarding table entry. If passing through the ring is desired, the acquired output interface would be an RPR-Trunk interface, assuming, RPR-Trunk1 (corresponding to ringlet 0: eastward, that is, clockwise). To determine the specific output interface (the RPR physical interface) for the packet, the source MAC address and the destination MAC address in the packet are extracted. HASH is performed according to the source MAC address and the destination MAC address (the number of stations in the HASH table is two, equal to the number of members of the RPR-Trunk), to obtain a unique HASH KEY. The member interface corresponding to the KEY value is the actual insert interface for the packet. With this method, packets with the same source MAC address and destination MAC address will pass through the same actual RPR, and accordingly out-of-order will not happen.
2) Data transit: After an intermediate station receives a packet delivered from the RPR interface, the output interface found by looking up the forwarding table is also a RPR-Trunk interface. With the method the same as ), the packet may be transmitted from a member interface of the Trunk interface.
3) Data copy and strip: The process is the same as that in the conventional RPR.
4) Process of the multicast and broadcast traffic: When the RPR-Trunk interface needs to transmit the multicast and broadcast traffic (data insert), only one fixed RPR interface (for example, the first member interface) may be selected for transmission, rather than all members. For other stations on the RPR, the process of the multicast and broadcast traffic is the same as that in the conventional RPR.
5) Learning of the station forwarding table entry: Because the MAC forwarding table entry of the RPR station may be obtained by self-learning, in the case of RPR-Trunk interface, the RPR-Trunk interface to which the learned RPR interface belongs should be recorded in the forwarding table as an output interface.
6) Fairness algorithm processing: An important feature of the RPR is the fairness algorithm. When a station detects traffic congestion on the ring (for example, in the direction of ringlet 0), a control packet is sent to the previous station along the opposite direction (the direction of ringlet 1) to request traffic decrease. After the process ends, the associated stations can use equal bandwidth on the ring, that is, fair bandwidth. For the RPR-Trunk interface, it is to be noted that when the control packet is transmitted in the opposite direction, it is transmitted from the opposite ring of the RPR physical interface where congestion is detected. Furthermore, when a station receiving the control packet wants to decrease traffic, it performs Commit Access Rate (CAR) processing as defined in the RPR protocol on the packet having the hashed output interface as the corresponding RPR physical interface.
7) Fault processing: When a link fails in the ring, there are two methods for self-healing.
The first method is shown in
In the above first method, ringlets 0 and ringlets 1 of all RPR member interfaces in the RPR-Trunk interfaces of the stations on both ends of the failing link are connected to form new rings. The remaining process is the same as that in the conventional RPR.
The second method is shown in
In the above second method, ringlets 0 and ringlets 1 of the RPR interfaces of the stations at both ends of the failing link are connected to form a new ring. The remaining process is the same as that in the conventional RPR. Furthermore, other members in the RPR-Trunk interfaces are not affected. The processes on the data, that is, insert, transit, copy and strip operations, are the same as that in the RPR-Trunk interface described above. When the selected output interface (a member in the Trunk interface is selected via HASH) is a RPR interface associated with the failing link, the ringlet 0 and ringlet 1 here should be connected. With this method, the ring may operate normally even if many links fail in the ring.
8) Configuration of the RPR-Trunk interface: Trunk use of the RPR interfaces requires that the RPR-Trunk interfaces and their members are paired when interface trunking is performed, and as a conventional RPR interface, a member RPR interface has complete ringlet 0 and ringlet 1 (without consideration of faults). Such a configuration relationship may be set by manually configuring the network, or be checked dynamically by extending the RPR protocol. If they cannot be paired normally, an alarm is generated or the interface cannot be activated (UP).
A data insertion module 102 is adapted to perform data insert function in the RPR protocol. When the communication apparatus receives a packet, HASH operation is performed on the packet according to the RPR protocol, to obtain a unique hash value. The interface of the station corresponding to the value is taken as the actual insert interface for the packet, so as to determine a physical link in an RPR interface in the multiple RPR interfaces the packet is to pass through.
A data transition module 104 is adapted to perform data transit function in the RPR protocol. When the communication apparatus receives the transmitted packet, HASH operation is performed on the packet according to the RPR protocol, to obtain a unique hash value. The interface of the station corresponding to the value is taken as the actual transit interface for the packet, to determine a physical link in an RPR interface in the multiple RPR interfaces the packet is to pass through.
A data copy and strip module 106 is adapted to perform data copy and strip function in the RPR protocol based on a provision in the RPR protocol.
A multicast and broadcast traffic processing module 108 is adapted to process multicast and broadcast traffic in the RPR protocol. When multicast and broadcast traffic is to be transmitted over the trunk interface, only one of the RPR interfaces is selected for transmission.
A station forwarding table entry learning module 110 is adapted to perform station forwarding table entry learning in the RPR protocol, and record the trunk interface to which one of the learned RPR interfaces belongs as an output interface in a forwarding table.
A fairness algorithm processing module 112 is adapted to process a fairness algorithm in the RPR protocol. When it is detected at a station that traffic congestion occurs on one of ringlet 0 and ringlet 1 of the RPR, a control packet requesting traffic decrease is sent to the previous station along the opposite direction of the other ring. When the control packet is sent in the opposite direction, it is sent from the opposite ring of the member interface at which congestion is detected. When the associated station receiving the control packet decreases traffic, a CAR processing as defined in the RPR protocol is performed on the packets having the output interface obtained via HASH operation as the associated member interface.
A first fault processing module 114 is adapted to perform fault processing in the RPR protocol. When any fault occurs on a link between the communication apparatus and another communication apparatus adjacent on the RPR, and the another communication apparatus also includes the trunk interface, the first and second physical links of all RPR interfaces in the trunk interface of the communication apparatuses on both ends of the link are connected, so as to form a new ring.
A second fault processing module 116 is adapted to perform fault processing in the RPR protocol. When any fault occurs on a link between the communication apparatus and another communication apparatus adjacent on the RPR, and the another communication apparatus also includes the trunk interface, the first and second physical links of the failing RPR interfaces in the trunk interface of the communication apparatuses on both ends of the link are connected, so as to form a new ring.
With the solutions in the embodiments of the present invention, the interface bandwidth may be increased and the address (MAC address/IP address) resources may be saved. With the solutions in the embodiments, the interface (link) reliability may be increased, because multiple links form redundant links. Even if one physical link fails, data may be transmitted over other links and the Trunk link may still be considered normal.
Descriptions are given above with reference to preferred embodiments of the present invention, which shall not be used to limit the present invention. Various modifications and changes to these embodiments will be readily apparent to those skilled in the art. Within the spirit and scope of the present invention, all modifications and changes fall within the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
200610056809.1 | Mar 2006 | CN | national |
This application is a continuation of International Patent Application No. PCT/CN2006/003794, filed Dec. 31, 2006, which claims priority to Chinese Patent Application No. 200610056809.1, filed Mar. 3, 2006, each of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2006/003794 | Dec 2006 | US |
Child | 12202973 | US |