Configuring ERPS
PICOS supports both versions of ERPSv1 and ERPSv2. ERPSv2 is fully compatible with ERPSv1 and has the following extensions:
- Sub-ring supporting
- Sub-ring virtual channel/non-virtual channel transmission of RAPS messages
- Manual switching of port blocking, including Forced Switch and Manual Switch
- ERPS ring revertive/non-revertive modes are configurable
- Sub-ring topology change notifications
Procedure
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:
|
     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Â Â Â Â Â Â Â Â Enable ERPS function globally. By default, ERPS is disabled.
          set protocols erps enable <true | false>
Step5Â Â Â Â Â Â Â Â (Optional) Configure ERPS version. The default version is ERPSv2.
          set protocols erps version <1 | 2>
Step6Â Â Â Â Â Â Â Â Create an ERPS ring with a given ID. By default, ERPS ring is a major ring. A maximum of eight ERPS rings are supported on a device.
          set protocols erps ring <ring-id>
Step7Â Â Â Â Â Â Â Â (Optional) Create an ERPS sub-ring with a given ID.
  set protocols erps ring <ring-id> sub-ring <true | false>
Step8Â Â Â Â Â Â Â Â 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>
Step9Â Â Â Â Â 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>
Step10Â Â Â Â Â 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>
Step11Â Â Â Â Â 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>
Step12Â Â Â Â 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>
Step13Â Â Â Â (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>
Step14Â Â Â Â (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
Step15Â Â Â Â (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>
Step16Â Â Â Â (Optional) Configure ERPS revertive/non-revertive mode. By default, the ERPS ring is in revertive mode.
          set protocols erps ring <ring-id> instance <instance-id> non-revertive <true | false>
Step17Â Â Â Â (Optional) Configure virtual-channel sub-ring RAPS message transmission method. By default, the sub-ring RAPS message is transmitted with the non-virtual channel method.
          set protocols erps ring <ring-id> virtual-channel <true | false>
Step18Â Â Â Â (Optional) Configure the connect ring for a sub-ring, enable tcn-propagation function to advertise topology changes to the connect ring.
          set protocols erps ring <ring-id> instance <instance-id> connect ring <ring-id> instance <instance-id>
          set protocols erps tcn-propagation <true | false>
Step19Â Â Â Â Commit the configuration.
          commit
Step20Â Â Â Â (Optional) In operational mode, block a specific ring interface in one of the two following ways:
- Force: The switch blocks a specific ring interface regardless of the protection switching state of the ring instance.
- Manual: The switch blocks a specific ring interface if no other protection switch event is active on the ring instance.
          erps switch force ring <ring-id> instance <instance-id> <port0 | port1>
          erps switch manual ring <ring-id> instance <instance-id> <port0 | port1>
          erps clear ring <ring-id> instance <instance-id>
Step21Â Â Â Â Â View the configuration information and status of ERPS.
          run show erps interface 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.