Versions Compared

Key

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

...

ERPS configuration process is in the following steps: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 interface gigabit-ethernet <interface-name> family ethernet-switchingvlan 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         (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>

Step6         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> port1 interface <interface-name>

Step7         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>

Step8         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>

Step9         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>

Step10  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>

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

...

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

Step12  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

Step13  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>

Step14  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.

                   commitStep15       

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 <interface-name>interface ring <ring-id> instance <instance-id>

...