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