ruijie ethernet ring protection switching

12
White Paper Ruijie Ethernet Ring Protection Switching White Paper

Upload: others

Post on 16-Oct-2021

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ruijie Ethernet Ring Protection Switching

White Paper

Ruijie Ethernet Ring Protection Switching White Paper

Page 2: Ruijie Ethernet Ring Protection Switching

2

White Paper Ruijie Ethernet Ring Protection Switching

Contents

Introduction ......................................................................................................................... 3

Concepts ............................................................................................................................ 3Ethernet Ring...................................................................................................................................................3

Node ................................................................................................................................................................5

Link and Channel.............................................................................................................................................7

VLAN ...............................................................................................................................................................7

R-APS Messages ............................................................................................................................................8

Technical Principle ............................................................................................................. 3Normal State....................................................................................................................................................5

Link Failure ......................................................................................................................................................3

Link Recovery ..................................................................................................................................................5

Characteristics of Ruijie ERPS Technology ........................................................................ 8ERPS Load Balancing .....................................................................................................................................8

High Security ..................................................................................................................................................8

Intersection and Tangency of Multiple Rings ...................................................................................................8

Typical Application .............................................................................................................. 8Application Scheme of a Single Ring ..............................................................................................................8

Application Scheme of Load Balancing ...........................................................................................................9

Application Scheme of Tangent Rings ...........................................................................................................10

Application Scheme of Intersecting Rings .....................................................................................................10

Performance of a Ring Network Composed of RG-IS2700G ............................................11ERPS Performance of a Ring Network Composed of RG-IS2700G ............................................................. 11

Conclusion ........................................................................................................................ 12

White Paper

Page 3: Ruijie Ethernet Ring Protection Switching

3

White Paper Ruijie Ethernet Ring Protection Switching

IntroductionThis document describes the Ethernet Ring Protection Switching (ERPS) feature and configuration guidance to ensure network reliability.

ERPS, also known as G.8032, is a ring protection protocol developed by ITU. It is a data link layer protocol designed for Ethernet rings. ERPS can prevent broadcast storms caused by data loops when an Ethernet ring is idle and can rapidly recover the communication between nodes in the event that a link is disconnected in the Ethernet ring.

Concepts

Node 4

Node 2 Node 3

Node 5

RPL

RPL

ERP 1 ERP 2

Node 1

ERP 2 RPL Owner

ERP 1 RPL Owner

RPL

Common Ethernet ring

Ethernet subring

RPL

B Blocked port

B

B

Figure 1 ERPS Topology

Page 4: Ruijie Ethernet Ring Protection Switching

4

White Paper Ruijie Ethernet Ring Protection Switching

• Ethernet Ring

Ethernet rings include common Ethernet rings and Ethernet subrings:

* Common Ethernet ring: an Ethernet topology connected as a ring, such as ERP1 in Figure 1.

* Ethernet subring: an open topology that is mounted on other rings or networks through intersecting nodes and forms a closed topology with the channel between the intersecting nodes belonging to other rings or networks, such as ERP2 in Figure 1.

An Ethernet ring (regardless of common Ethernet rings or Ethernet subrings) can be in one of the following states:

* Idle state: All the physical links in the Ethernet ring are connected.

* Protection state: Some physical links in the Ethernet ring are disconnected.

• Node

Each device in an Ethernet ring is a node. ERPS has the following node roles for a specific Ethernet ring:

* Ring protection link (RPL) owner node: a node that is adjacent to an RPL and is used to block RPLs to prevent loops on a network when the Ethernet ring is in the idle state. Each Ethernet ring has only one RPL owner node. (There may be more than one RPL owner node when multiple ERP rings are configured in an Ethernet ring in load balancing mode.) In Figure 1, Node1 functions as the RPL owner node of ERP1 and Node5 functions as the RPL owner node of ERP2.

* Non-RPL owner node: nodes other than the RPL owner node in an Ethernet ring. In Figure 1, nodes except Node1 and Node5 are called non-RPL owner nodes of their respective rings.

ERPS has the following roles globally (not for a specific Ethernet ring):

* Intersecting node: belongs to multiple rings at the same time in intersecting Ethernet rings. In Figure 1, Node3 and Node4 are intersecting nodes.

* Non-intersecting node: belongs to only one Ethernet ring in intersecting Ethernet rings. In Figure 1, nodes except Node3 and Node4 are non-intersecting nodes.

• Link and Channel

* RPL: Only one RPL exists in each Ethernet ring. When an Ethernet ring is in the idle state, the RPL is blocked and does not forward data packets to prevent loops. In Figure 1, the link between Node1 and Node4 is the RPL of ERP1 and Node1 blocks the RPL port; the link between Node4 and Node5 is the RPL of ERP2 and Node5 blocks the RPL port.

* Subring link: belongs to a subring in intersecting rings and is controlled by the subring. In Figure 1, assume that ERP1 is a common Ethernet ring and ERP2 is an Ethernet subring. The link between Node4 and Node5 and the link between Node3 and Node5 are links of ERP2, and the other links belong to ERP1. Note that the link between Node3 and Node4 belong to ERP1, it does not belong to ERP2 and is not controlled by ERP2.

* Ring Automatic Protection Switching (R-APS) virtual channel: transmits subring protocol packets between intersecting nodes in intersecting rings but does not belong to the subring. In Figure 1, Node1 blocks the RPL and protocol packets of ERP2 are transmitted through the direct link between Node3 and Node4 in ERP1. The link between Node3 and Node4 is the R-APS virtual channel of ERP2.

Page 5: Ruijie Ethernet Ring Protection Switching

5

White Paper Ruijie Ethernet Ring Protection Switching

• VLAN

ERPS supports two types of VLAN: R-APS VLAN and data VLAN.

* R-APS VLAN: a VLAN dedicated to transmitting ERPS protocol packets. On a device, the ports accessing an ERP ring belong to the R-APS VLAN and only such ports can join the R-APS VLAN. R-APS VLANs of different ERP rings must be different. IP address configuration is prohibited on the R-APS VLAN interfaces.

* Data VLAN: A VLAN dedicated to transmitting data packets. Both ERP ports and non-ERP ports can be assigned to a data VLAN.

• R-APS Messages

The following table describes the types and functions of ERPS protocol packets (also called R-APS messages).

Message Type Description

Signal Fail (SF) When the link of a node is down, the node sends the SF messages to notify other nodes of its link failure.

No Request (NR) When the failed link is restored, the node sends the NR messages to notify the RPL owner node of its link recovery.

No Request, RPL Blocked (NR, RB) When all nodes in an ERP ring function properly, the RPL owner node sends the (NR, RB) messages periodically.

Flush CCKM with LEAP

Technical Principle

• Normal State

Node 4

Node 2 Node 3

RPL

Node 1

RPL Owner

RPL RPL

B

B Blocked port

1. All nodes in a physical topology are connected to as rings.

2. ERPS blocks RPLs to prohibit formation of loops. In Figure 2, the link between Node1 and Node4 is an RPL.

3. ERPS detects failures on each link between adjacent nodes.

Figure 2 Ethernet Ring Network in the Normal State

Page 6: Ruijie Ethernet Ring Protection Switching

6

White Paper Ruijie Ethernet Ring Protection Switching

• Link Recovery

• Link Failure

Node 4 Node 4

Node 2 Node 2Node 3 Node 3

RPL

Node 1 Node 1

RPL Owner

RPL RPL

B

B Blocked portF Failed port

F

SF SF

SF

RPL

RPL Owner

FF F

SF SF message

Figure 3 Ethernet Ring Protection Switching in a Link Failure

1. The nodes adjacent to a failed link block the failed link and send the R-APS(SF) message to notify other nodes in the ring of the link failure. In Figure 3, the link between Node2 and Node3 fails. After the holdoff timer expires, Node2 and Node3 block the failed link and send the R-APS(SF) message to other nodes in the ring.

2. The R-APS(SF) message triggers the RPL owner node to unblock the RPL port. All nodes update their MAC address entries and ARP/ND entries and the ring enters the protection state.

RPL RPL Blocked port

Node 2 Node 2Node 3 Node 3

RPL

Node 1 Node 1Node 4 Node 4

RPL Owner

NR NR message

B B

NR NR

NR

RPL

RPL Owner

BNR, RB

NR, RB NR, RB

BNR, RB messageNR, RB

Figure 4 Ethernet Ring Protection Switching in Link Failure Recovery

Page 7: Ruijie Ethernet Ring Protection Switching

7

White Paper Ruijie Ethernet Ring Protection Switching

1. When a failed link is restored, nodes adjacent to the link are still blocked and they send the R-APS(NR) message, indicating that no local failure exists.

2. After the guard timer expires and the RPL owner node receives the first R-APS(NR) message, the RPL owner node starts the WTR timer.

3. After the WTR timer expires, the RPL owner node blocks the RPL and sends the R-APS(NR, RB) message.

4. After receiving the R-APS(NR, RB) message, other nodes update their MAC address entries and ARP/ND entries, and the nodes that send the R-APS(NR) message stop periodic transmission of the message and unblock the blocked ports. The ring network is restored to the normal state.

Characteristics of Ruijie ERPS Technology

On a ring network, multiple Ethernet rings can be configured to send traffic of different VLANs (called protected VLANs) so that the data traffic of different VLANs is transmitted by different topologies for load balancing.

In Figure 5, two Ethernet rings are configured with different protected VLANs on the ring network. Node2 is the RPL owner node of ERP1 and Node3 is RPL owner node of ERP2. With such configurations, data from different VLANs can be transmitted on different links for load balancing in a single ring network.

• ERPS Load Balancing

Node 1

RPL

RPL

Node 2 Node 3

Node 4

RPL

ERP 1ERP 2

RPL Blocked port

Physical link

ERP rings support two types of VLAN: R-APS VLAN and data VLAN. R-APS VLANs transmit only ERPS protocol packets, and ERP rings process protocol packets only from the R-APS VLANs. ERP rings do not process protocol attack packets from any data VLAN, thereby enhancing the ERP ring’s security.

Figure 5 Load Balancing Topology of ERPS

• High Security

Node 1 Node 4

Node 2 Node 3

R-APS VLAN flow

Data VLAN flowPhysical link

Egress

Packe

tEgress

Packet

Ingress Packet

Ingres

s

Packe

t

Figure 6 Data VLAN Flow and R-APS VLAN Flow

Page 8: Ruijie Ethernet Ring Protection Switching

8

White Paper Ruijie Ethernet Ring Protection Switching

• Intersection and Tangency of Multiple Rings

In Figure 7, ERPS allows adding a node (Node4) to multiple rings in tangent or intersecting mode, thereby greatly enhancing the networking flexibility.

• Application Scheme of a Single Ring

ERPS needs to be configured to prevent broadcast storms caused by data loops when the Ethernet ring is complete, and to rapidly recover the communication between nodes when a link is disconnected in the Ethernet ring.

Networking Requirements

Networking Topology

Typical Application

Node 1

Node 4 Node 3

Node 2

RPL

Node 5

RPL

Node 6

RPL

ERP 1

ERP 2

SUB ERP 3

RPL

Subring link

Main ring link

RPL

Figure 7 Intersection and Tangency Topology of Multiple Rings

fa 0/1 fa 0/1fa 0/2 fa 0/2

fa 0/2fa 0/1fa 0/2fa 0/1

Node 2 Node 3

Node 4

RPL

RPL owner

Node 1

Figure 8 Single-ring Topology

Page 9: Ruijie Ethernet Ring Protection Switching

9

White Paper Ruijie Ethernet Ring Protection Switching

Configuration Key Points

* Node1, Node2, Node3, and Node4 form a single ring.

* The R-APS VLAN of the ring is 4093.

* Node4 is the RPL owner node and the link between Node3 and Node4 is an RPL.

• Application Scheme of Load Balancing

Networking Requirements

The bandwidth of all links (including RPL) on an Ethernet ring network needs to be fully utilized when the Ethernet ring

network functions properly.

Configuration Key Points

* Node1, Node2, Node3, and Node4 form a topology ring. The topology ring consists of two Ethernet rings: ERP1 and ERP2.

* Node1 is the RPL owner node and the link between Node1 and Node2 is the RPL of ERP1. Node3 is the RPL owner node and the link between Node3 and Node4 is the RPL of ERP2.

* The R-APS VLAN of ERP1 is 100 and the protected data VLANs are 1-99 and 101-2000. The R-APS VLAN of ERP2 is 4093 and the protected data VLANs are 2001-4092 and 4094.

*

Networking Topology

fa 0/1 fa 0/1fa 0/2 fa 0/2

fa 0/2fa 0/1fa 0/2fa 0/1

Node 2 Node 3

Node 4

RPLRPL

RPL owner for ERP 1

RPL owner for ERP 2

Node 1

Figure 9 Load Balancing Topology

Page 10: Ruijie Ethernet Ring Protection Switching

10

White Paper Ruijie Ethernet Ring Protection Switching

• Application Scheme of Tangent Rings

Networking Requirements

fa 0/1 fa 0/1 fa 0/1

fa 0/1

fa 0/2

fa 0/2

fa 0/2

fa 0/4

fa 0/3

fa 0/1fa 0/2fa 0/1

Node 2 Node 3

Node 4RPLERP 1 ERP 2

RPL owner for ERP 1

RPL owner for ERP 2

Node 1

fa 0/2

fa 0/2

Node 5

Node 6RPL

Network nodes need to be fully utilized and a node is allowed to be added to multiple ERPs in tangent mode.

Networking Topology

* Node1, Node2, Node3, and Node4 form a common Ethernet ring: ERP1, and Node3, Node5, and Node6 form another common Ethernet ring: ERP2.

* The R-APS VLAN of ERP1 is 4093 and the R-APS VLAN of ERP2 is 100.

* Node4 is the RPL owner node and the link between Node3 and Node4 is the RPL of ERP1. Node6 is the RPL owner node and the link between Node5 and Node6 is the RPL of ERP2.

Figure 10 ERPS Tangent Ring Topology

Configuration Key Points

• Application Scheme of Intersecting Rings

Networking Requirements

Network nodes need to be fully utilized and a node is allowed to be added to multiple ERPs in intersecting mode.

Page 11: Ruijie Ethernet Ring Protection Switching

11

White Paper Ruijie Ethernet Ring Protection Switching

Networking Topology

Configuration Key Points

* Node1, Node2, Node3, and Node4 form a common Ethernet ring: ERP1; Node3, Node5, and Node4 form an Ethernet subring: ERP2; Node3, Node6, and Node4 form an Ethernet subring: ERP3; Node1, Node4, and Node7 form an Ethernet subring: ERP4.

* The R-APS VLANs of ERP1, ERP2, ERP3, and ERP4 are 4093, 100, 200, and 300 respectively.

* Node4 is the RPL owner node and the link between Node1 and Node4 is the RPL of ERP1. Node5 is the RPL owner node and the link between Node3 and Node5 is the RPL of ERP2. Node6 is the RPL owner node and the link between Node4 and Node6 is the RPL of ERP3. Node7 is the RPL owner node and the link between Node7 and Node1 is the RPL of ERP4.

Performance of a Ring Network Composed of RG-IS2700G

Figure 11 ERPS Intersecting Ring Topology

fa 0/1

fa 0/1

fa 0/1 fa 0/1

fa 0/1

fa 0/2

fa 0/2

fa 0/5 fa 0/5

fa 0/4

fa 0/2 fa 0/2

fa 0/2fa 0/2

fa 0/4

fa 0/3

fa 0/3

fa 0/1fa 0/2fa 0/1

Node 2 Node 3

Node 4ERP 1

ERP 4

ERP 2

ERP 3

RPL owner for ERP 1

RPL owner for ERP 4

RPL owner for ERP 3

RPL owner for ERP 2

Node 1

Node 7

Node 5

Node 6

RPL

RPL RPL

RPL

• ERPS Performance of a Ring Network Composed of RG-IS2700G

Page 12: Ruijie Ethernet Ring Protection Switching

12

White Paper Ruijie Ethernet Ring Protection Switching

A ring supports up to 50 devices. The convergence time is smaller than 15 ms.

Multiple rings are supported and each device supports up to 12 rings. The convergence time is smaller than 20 ms.

IS2712G IS2712G IS2712G IS2712G IS2712G IS2712G IS2712G IS2712G IS2712G

IS2712GIS2712GIS2712GIS2712GIS2712GIS2712GIS2712GIS2712GIS2712G

Figure 12

IS2712G IS2712G

IS2712G

S5750-24SFP/8GT-S

IS2712G

IS2712G

IS2712G IS2712G IS2712G IS2712G

IS2712G IS2712G IS2712G

ERP1

ERP2 ERP3

Figure 13

ConclusionERPS provides a fast Ethernet ring protection mechanism. When a failure occurs on a ring network, ERPS is capable of rapidly recovering network transmission, thereby ensuring high availability and high reliability of industrial switches in the ring topology.

Ruijie Networks Co.,LtdFor further information,please visit our website http://www.ruijienetworks.comCopyright © 2018 RuijieNetworks Co.,Ltd.All rights reserved.Ruijie reserver the right to change,modify,transfer,or otherwise revise this publication without notice,and the most current version of thepublication shall be applicable.