Escolar Documentos
Profissional Documentos
Cultura Documentos
Table of Contents
1 Overview.......................................................................................................................................... 1 2 Basic Concepts of RRPP................................................................................................................. 1 2.1 RRPP Domain........................................................................................................................ 1 2.2 RRPP Ring............................................................................................................................. 3 2.3 Control VLAN of the RRPP .................................................................................................... 3 2.4 Master Node........................................................................................................................... 4 2.5 Transit Node........................................................................................................................... 5 2.6 Edge Node and Assistant-Edge Node ................................................................................... 5 2.7 Primary Port and Secondary Port .......................................................................................... 6 2.8 Common Port and Edge Port................................................................................................. 7 3 Operating Mechanism of RRPP ...................................................................................................... 7 3.1 RRPP Foundation ................................................................................................................. 7 3.2 Polling Mechanism................................................................................................................ 7 3.3 Link State Change Notification Mechanism.......................................................................... 8 3.4 Subring Protocol Packet Path State Detection Mechanism on the Primary Ring................. 8 3.5 Operating Mechanism of Multiple Intersectant RRPP Rings ................................................ 9 4 Typical Networking of RRPP ........................................................................................................... 9 5 Coordination between RRPP and the Other Functions................................................................. 11 5.1 Hybrid Networking of RRPP and STP ................................................................................ 11
i http://datacomm.huawei.com
Master node The master node is the primary decision and control node on the RRPP ring. Each RRPP ring must have one and only one master node. Transit node The nodes other than the master node on the ring are all called transit nodes (edge nodes and assistant-edge nodes are in fact special transit nodes). An RRPP ring can have multiple transit nodes or no transit node (in fact, such networking is senseless in practice). Edge node As you know that there must be two intersection points when two rings intersect each other. Similarly, there will be two intersection points between the subring and the primary ring. The switch at one of the intersection points is called edge node and the switch at the other intersection point is called assistant-edge node. There is no special requirement on the configuration of the switch as an edge node or an assistant-edge node, as long as both of the nodes can be differentiated by their configurations. Assistant-edge node See the edge node. As shown in Figure 1, Domain 1 is an RRPP domain, and all the switching from S1 to S6 belongs to Domain1. The major control VLAN and the sub control VLAN of Domain1 are VLAN3 and VLAN4 respectively. The domain comprises two RRPP rings: Ring 1 and Ring 2. The master node of the primary ring is S1 and the master node of the subring is S6. S2, S3 and S4 are transit nodes on the primary ring, while S5 is the transit node on the subring. The edge node and assistant-edge node of the subring are S3 and S2 respectively.
2 http://datacomm.huawei.com
VLAN as the sub control VLAN. The protocol packets of the primary ring are transmitted in the major control VLAN, while those of the subring in the sub control VLAN. It is not allowed to configure IP addresses on the interface of either the major control VLAN or the sub control VLAN. The port on each switch for connecting the Ethernet ring belongs to the control VLAN, and only the ports connected to the Ethernet ring can be added to the control VLAN. As indicated by number 3 or 4 beside each port shown in Figure 1, the RRPP ports of the primary ring should belong to the major control VLAN and the sub control VLAN at the same time, while the RRPP ports of the subring only belong to the sub control VLAN. The primary ring is viewed as a logical node of the subring and the subring packets are transparently transmitted by the primary ring. The primary ring packets are transmitted only within the primary ring and do not enter the subring. Contrary to the control VLAN, the data VLAN is used to transmit data packets. It can comprise both RRPP ports and non-RRPP ports.
Failed state When some links in the ring network are in the Down state, it indicates the master node is in the Failed state. In this case, the master node will unblock the secondary port so as to ensure that the communication among the nodes in the ring network is not interrupted.
5 http://datacomm.huawei.com
If the edge port is in the UP state, then the edge node (assistant-edge node) is in the Link-Up state. Link-Down state If the edge port is in the Down state, then the edge node (assistant-edge node) is in the Link-Down state. Preforwarding state (temporarily blocked state) If the edge port is in the blocked state, then the edge node (assistant-edge node) is in the Preforwarding state.
6 http://datacomm.huawei.com
7 http://datacomm.huawei.com
received within the specified time, the master node will consider that a link failure has occurred to the ring network. After the master node in the Failed state receives the HELLO packet it sends via its secondary port, it will immediately transit to the Complete state, unblock the secondary port, refresh the FDB, and send the COMPLETE_FLUSH_FDB packet via its primary port to tell all the transit nodes to unblock the ports in the Preforwarding state and refresh the FDB.
3.4 Subring Protocol Packet Path State Detection Mechanism on the Primary Ring
This mechanism is applied in the networking where multiple subrings intersect the primary ring. The subring protocol packets are transmitted between the edge ports of the edge node and the assistant-edge node via the path provided by the primary ring. It seems that the whole primary ring is a node of the subring. When a fault occurs to the primary ring link and the subring protocol packet path between the edge node and the assistant-edge node is disconnected (the common link between the primary ring and the subring is faulty and more than one non-common link is faulty), the master node of the subring will be unable to receive the Hello packet sent by itself. Then the Fail timer expires, the master node of the subring transits to the Failed state and the secondary port is unblocked. For common networking, this is enough since it not only prevents broadcast loops but also brings the backup link into due play. However, in the dual homing networking shown in Figure 2 that is common in practice, the dual homing subrings (Ring2 and Ring3) form a ring by way of the interconnection among the edge nodes. When Ring1, the primary ring is faulty, the secondary ports of the master node of every subring is unblocked, and broadcast loop is inevitable among the subrings (as indicated by the arrows in the figure).
8 http://datacomm.huawei.com
Figure 2 Data loops among subrings in the single-domain multi-ring networking without the subring packet path detection mechanism
To remove such defect, the subring protocol packet path state detection mechanism is introduced to the primary ring. It needs to be completed by the edge node and the assistant-edge node together. The purpose is to block the edge port of the edge node before the secondary port of the master node on the subring is unblocked, so as to avoid data loops among the subrings. The edge node is the initiator and decision maker of the mechanism and the monitor of the assistant-edge node path state. It is responsible for timely notifying the edge node of the path state change.
There is only one ring in the network topology. In this case, it is only necessary to define an RRPP domain and an RRPP ring. Such networking features quick response to topology changes and short convergence time. It applies when there is only one ring in the network. 2 Tangent ring
There are two or more rings in the network topology but only one common node among the rings. In this case, it is required that each ring belong to a different RRPP domain. Such networking is applicable when the network scale is big and the network of the same level needs to be managed by areas. 3 Intersectant ring
10 http://datacomm.huawei.com
There are two or more rings in the network topology and two common nodes among the rings. In this case, it is only necessary to define an RRPP domain and set one ring as the primary ring and the others as the subrings. The typical application of such networking is that dual homing uplink of the master node of the subring can be implemented via two edge nodes to provide uplink backup.
11 http://datacomm.huawei.com
12 http://datacomm.huawei.com