Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

Networking Requirements

Figure 1. ERPS Configuration Example

In order to

To solve the loop problem caused by redundant links in the network, ERPS protocol can be deployed on the devices that form the ring network. As shown in Figure

...

4, taking the deployment of a single-ring multi-instance ERPS ring as an example.

  • Switch A, Switch B, Switch C and Switch D form an ERPS ring, on which two instances are configured.
  • The RPL Owner Node of instance 1 is the interface te-1/1/19 (port1) on Switch A. The RPL is the link between Switch A and Switch D. The control VLAN is VLAN 4001 and the protection data VLANs are VLAN 100-200.
  • The RPL Owner Node of instance 2 is the interface ge-1/1/5 (port0) on Switch C. Its RPL is the link between Switch B and Switch C. The control VLAN is VLAN 4002 and the protection data VLANs are VLANs 300-400.

NOTEs:

  • Each The ERPS port must be a trunk port and disable spanning tree protocol.
  • Different ERPS ring instances cannot use the same control VLAN.
  • The same control VLAN must be configured for all devices in the same ERPS ring instance.

Procedure

Switch A

Step1         Disable spanning-tree protocol on the interface where you want to enable ERPS.

...

Code Block
admin@SwitchA# set interface gigabit-ethernet te-1/1/3 family ethernet-switching port-mode trunk
admin@SwitchA# set interface gigabit-ethernet te-1/1/3 family ethernet-switching vlan members 100-200,300-400,4001,4002
admin@SwitchA# set interface gigabit-ethernet te-1/1/19 family ethernet-switching port-mode trunk
admin@SwitchA# set interface gigabit-ethernet te-1/1/19 family ethernet-switching vlan members 100-200,300-400,4001,4002

...

Step4         Enable ERPS function globally. By default, ERPS is disabled.

Code Block
admin@SwitchA# set protocols erps enable true

Step5         Create the ERPS ring with a given ID.

Code Block
admin@SwitchA# set protocols erps ring 1

Step5        Step6         Configure port0 and port1 of the ERPS ring.

Code Block
admin@SwitchA# set protocols erps ring 1 port0 interface te-1/1/3
admin@SwitchA# set protocols erps ring 1 port1 interface te-1/1/19

Step6        Step7         Create instance for the ERPS ring.

Code Block
admin@SwitchA# set protocols erps ring 1 instance 1
admin@SwitchA# set protocols erps ring 1 instance 2

Step7        Step8         Configure port te-1/1/19 (port1) on Switch A as the RPL Owner Node for ERPS ring 1 instance 1.

Code Block
admin@SwitchA# set protocols erps ring 1 instance 1 rpl port1 owner

Step8        Step9         Configure the control VLAN.

Code Block
admin@SwitchA# set protocols erps ring 1 instance 1 control-vlan 4001
admin@SwitchA# set protocols erps ring 1 instance 2 control-vlan 4002

Step9        Step10        Configure the MSTP instance of VLANs that are protected by this ring instance.

Code Block
admin@SwitchA# set protocols erps ring 1 instance 1 protected-instance 1
admin@SwitchA# set protocols erps ring 1 instance 2 protected-instance 2

Step10  Step11        Commit the configurations.

Code Block
admin@SwitchA# commitadmin@SwitchA# commit

Switch B

Step1         Disable spanning-tree protocol on the interface where you want to enable ERPS.

...

Code Block
admin@SwitchB# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching port-mode trunk
admin@SwitchB# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching vlan members 100-200,300-400,4001,4002
admin@SwitchB# set interface gigabit-ethernet ge-1/1/5 family ethernet-switching port-mode trunk
admin@SwitchB# set interface gigabit-ethernet ge-1/1/5 family ethernet-switching vlan members 100-200,300-400,4001,4002

...

Step4         Enable ERPS function globally. By default, ERPS is disabled.

Code Block
admin@SwitchB# set protocols erps enable true

Step5         Create the ERPS ring with a given ID.

Code Block
admin@SwitchB# set protocols erps ring 1

Step5        Step6         Configure port0 and port1 of the ERPS ring.

Code Block
admin@SwitchB# set protocols erps ring 1 port0 interface ge-1/1/3
admin@SwitchB# set protocols erps ring 1 port1 interface ge-1/1/5

Step6        Step7         Create instance for the ERPS ring.

Code Block
admin@SwitchB# set protocols erps ring 1 instance 1
admin@SwitchB# set protocols erps ring 1 instance 2

Step7        Step8         Configure port ge-1/1/5 (port1) on Switch C as the RPL Neighbor Node for ERPS ring 1 instance 2.

Code Block
admin@SwitchB# set protocols erps ring 1 instance 2 rpl port1 neighbor

Step8        Step9         Configure the control VLAN.

Code Block
admin@SwitchB# set protocols erps ring 1 instance 1 control-vlan 4001
admin@SwitchB# set protocols erps ring 1 instance 2 control-vlan 4002

Step9        Step10        Configure the MSTP instance of VLANs that are protected by this ring instance.

Code Block
admin@SwitchB# set protocols erps ring 1 instance 1 protected-instance 1
admin@SwitchB# set protocols erps ring 1 instance 2 protected-instance 2

Step10  Step11        Commit the configurations.

Code Block
admin@SwitchB# commitadmin@SwitchB# commit

Switch C

Step1         Disable spanning-tree protocol on the interface where you want to enable ERPS.

...

Code Block
admin@SwitchC# set interface gigabit-ethernet te-1/1/7 family ethernet-switching port-mode trunk
admin@SwitchC# set interface gigabit-ethernet te-1/1/7 family ethernet-switching vlan members 100-200,300-400,4001,4002
admin@SwitchC# set interface gigabit-ethernet ge-1/1/5 family ethernet-switching port-mode trunk
admin@SwitchC# set interface gigabit-ethernet ge-1/1/5 family ethernet-switching vlan members 100-200,300-400,4001,4002

Step4      Step4         Enable ERPS function globally. By default, ERPS is disabled.

Code Block
admin@SwitchC# set protocols erps enable true

Step5         Create the ERPS ring with a given ID.

Code Block
admin@SwitchC# set protocols erps ring 1

Step5        Step6         Configure port0 and port1 of the ERPS ring.

Code Block
admin@SwitchC# set protocols erps ring 1 port0 interface ge-1/1/5
admin@SwitchC# set protocols erps ring 1 port1 interface te-1/1/7

Step6        Step7         Create instance for the ERPS ring.

Code Block
admin@SwitchC# set protocols erps ring 1 instance 1
admin@SwitchC# set protocols erps ring 1 instance 2

Step7  Step8         Configure port ge-1/1/5 (port0) on Switch C as the RPL Owner Node for ERPS ring 1 instance 2.

Code Block
admin@SwitchC# set protocols erps ring 1 instance 2 rpl port0 owner

Step8        Step9         Configure the control VLAN.

Code Block
admin@SwitchC# set protocols erps ring 1 instance 1 control-vlan 4001
admin@SwitchC# set protocols erps ring 1 instance 2 control-vlan 4002

Step9  Step10        Configure the MSTP instance of VLANs that are protected by this ring instance.

Code Block
admin@SwitchC# set protocols erps ring 1 instance 1 protected-instance 1
admin@SwitchC# set protocols erps ring 1 instance 2 protected-instance 2

Step10  Step11        Commit the configurations.

Code Block
admin@SwitchC# commitadmin@SwitchC# commit

Switch D

Step1         Disable spanning-tree protocol on the interface where you want to enable ERPS.

...

Code Block
admin@SwitchD# set interface gigabit-ethernet te-1/1/7 family ethernet-switching port-mode trunk
admin@SwitchD# set interface gigabit-ethernet te-1/1/7 family ethernet-switching vlan members 100-200,300-400,4001,4002
admin@SwitchD# set interface gigabit-ethernet te-1/1/19 family ethernet-switching port-mode trunk
admin@SwitchD# set interface gigabit-ethernet te-1/1/19 family ethernet-switching vlan members 100-200,300-400,4001,4002

Step4        Step4         Create the ERPS ring with a given ID.

...

Enable ERPS function globally. By default, ERPS is disabled.

Code Block
admin@SwitchD# set protocols erps enable true

Step5         Create the ERPS ring with a given ID.

Code Block
admin@SwitchD# set protocols erps ring 1

Step5        Step6         Configure port0 and port1 of the ERPS ring.

Code Block
admin@SwitchD# set protocols erps ring 1 port0 interface te-1/1/7
admin@SwitchD# set protocols erps ring 1 port1 interface te-1/1/19

Step6        Step7         Create instance for the ERPS ring.

Code Block
admin@SwitchD# set protocols erps ring 1 instance 1
admin@SwitchD# set protocols erps ring 1 instance 2

Step7        Step8         Configure port te-1/1/19 (port1) on Switch D as the RPL Neighbor port for ERPS ring 1 instance 1.

Code Block
admin@SwitchD# set protocols erps ring 1 instance 1 rpl port1 neighbor

Step8        Step9         Configure the control VLAN.

Code Block
admin@SwitchD# set protocols erps ring 1 instance 1 control-vlan 4001
admin@SwitchD# set protocols erps ring 1 instance 2 control-vlan 4002

Step9        Step10        Configure the MSTP instance of VLANs that are protected by this ring instance.

Code Block
admin@SwitchD# set protocols erps ring 1 instance 1 protected-instance 1
admin@SwitchD# set protocols erps ring 1 instance 2 protected-instance 2

Step10  Step11        Commit the configurations.

Code Block
admin@SwitchD# commitadmin@SwitchD# commit

Verifying the Configuration

  • The command run show erps brief can be used to check the brief configuration information of the ERPS ring. Take Switch A as an example:
Code Block
admin@SwitchA# run show erps brief
Enable: true
Version: 2
Tcn-propagation: No

D: Discarding
F: Forwarding
R: RPL Owner
N: RPL Neighbour
RingFS: ID    Forced Switch
MS: Manual Switch
Ring ID    Instance ID    Control VLAN    Port0             Port1
------------------------------------------------------------------------------
1          1              4001            te-1/1/3(F)       te-1/1/19 (D,R)
1          2              4002            te-1/1/3(F)       te-1/1/19(F)

...

Code Block
admin@SwitchA# run show erps ring 1
Ring ID: 1
Port0: te-1/1/3
Port1: te-1/1/19
Ring-MAC: false
Sub-ring: No
Virtual-channel: No

Instance ID: 1
Enable: Yes
Active: true
Node state: IDLEIdle
Description:
Control VLAN: 4001
Protected instance: 1
Protected VLAN: 100-200
Guard timer: 500 ms
Hold-off timer: 0 ms
WTR timer: 5 min
Revertive mode: Revertive
R-APS level : 7
Connect(ring/instance): -
Forced Switch Port: -
Manual Switch Port: -
Interface      Port Role      Port State       Signal Failure
-------------------------------------------------------------------------------
te-1/1/3       Common         Forwarding     Non-failed
te-1/1/19      RPL Owner      Discarding      Non-failed

Instance ID: 2
Enable: Yes
Active: true
Node state: IDLEIdle
Description:
Control VLAN: 4002
Protected instance: 2
Protected VLAN: 300-400
Guard timer: 500 ms
Hold-off timer: 0 ms
WTR timer: 5 min
Revertive mode: Revertive
R-APS level : 7
Connect(ring/instance): -
Forced Switch Port: -
Manual Switch Port: -
Interface      Port Role      Port State       Signal Failure
-----------------------------------------------------------------
te-1/1/3       Common         Forwarding       Non-failed
te-1/1/19      Common         Forwarding       Non-failed

...