Configuring ERPS


ERPS configuration process is in the following steps:

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

        set protocols spanning-tree interface <interface-name> enable false

Step2         Configure protected MSTP instance (i.e., ERPS protected-instance) and VLAN mapping before configuring ERPS. The ERPS control VLAN must be in one of the protected-msti.

        set protocols spanning-tree mstp msti <msti> vlan <vlan-id>

Step3         Configure the port mode to trunk, configure VLAN member.

NOTEs:

  • Both the control VLAN and data VLAN have to be configured as the VLAN member of the ERPS port.
  • Control VLAN should be assigned as a tagged VLAN. If not explicitly specified, VLAN is tagged in VLAN member configuration by default.

         set interface gigabit-ethernet <interface-name> family ethernet-switching port-mode <port-mode>

                   set interface gigabit-ethernet <interface-name> family ethernet-switching vlan members <vlan-id>

Step4         (Optional) Enable ERPS function globally. By default, ERPS is disabled. ERPS can also be enabled when configuring other ERPS commands "set protocols erps xxx".

                   set protocols erps enable <true | false>

Step5         Create an ERPS ring with a given ID. A maximum of eight ERPS rings are supported on a device.

                   set protocols erps ring <ring-id>

Step6         Configure ERPS ring ports: port0 and port1.

                   set protocols erps ring <ring-id> port0 interface <interface-name>

                   set protocols erps ring <ring-id> port1 interface <interface-name>

Step7         Create an instance for the ERPS ring. A maximum of two instances can be configured for each ring.

                   set protocols erps ring <ring-id> instance <1 | 2>

Step8         Configure RPL port role for the ERPS ring instance. Each ERPS ring instance has only one RPL owner port and neighbor port.

                   set protocols erps ring <ring-id> instance <instance-id> rpl <port0 | port1> <owner | neighbor>

Step9         Configure a control VLAN. Note that the same control VLAN must be configured for all devices in the same ERPS ring instance.

                   set protocols erps ring <ring-id> instance <instance-id> control-vlan <control-vlan>

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

                   set protocols erps ring <ring-id> instance <instance-id> protected-instance <msti>

Step11        (Optional) Configure the guard timer, holdoff timer and WTR timer duration for a ring instance.

                   By default, guard timer is 500 milliseconds, holdoff timer is 0 millisecond and WTR timer is 5 minutes.

                   set protocols erps ring <ring-id> instance <instance-id> guard-timer <guard-timer>

                   set protocols erps ring <ring-id> instance <instance-id> holdoff-timer <holdoff-timer>

                   set protocols erps ring <ring-id> instance <instance-id> wtr-timer <wtr-timer>

Step12        (Optional) Configure the ring ID as the last byte of the destination MAC address for R-APS packets.

                   set protocols erps ring <ring-id> r-aps ring-mac

Step13       (Optional) Configure the Automatic Protection Switching (APS) message level for the node on the Ethernet ring.

                   set protocols erps ring <ring-id> instance <instance-id> r-aps level <level-id>

Step14       Commit the configuration.

                   commit

Step15        View the configuration information and status of ERPS.

                   run show erps interface <interface-name> ring <ring-id> instance <instance-id>

                   run show erps brief

                   run show erps ring <ring-id> [instance <instance-id>]




Copyright © 2024 Pica8 Inc. All Rights Reserved.