3.6 ERPS Configuration
Use this command to create and configure an Ethernet Ring Protection Switching (ERPS) Instance.
Command Syntax:
erps <inst>
erps <inst> clear
version { v1 | v2 }
ring-type { major | sub-ring [ virtual-channel ] | interconnected-sub-ring { connected-ring <connected_ring_inst> [ virtual-channel ] [ propagate-topology-change ] } }
port0 interface <port_type> <port>
port0 sf-trigger { link | { mep domain <md_name> service <ma_name> mep-id <mepid> } }
port0 smac <mac>
port1 interface <port_type> <port>
port1 sf-trigger { link | { mep domain <md_name> service <ma_name> mep-id <mepid> } }
port1 smac <mac>
ring-id <ring_id>
node-id <node_id>
level <level>
control-vlan <vid> [ pcp <pcp> ]
revertive 
guard-time <guard_time>
wait-to-restore <wtr>
hold-off-time <hold_off>
admin-state { enable | disable }
protected-vlans <vlan_list>
rpl { owner | neighbor } { port0 | port1 }Argument  | Description  | |
Parameter  | 
  | The ERPS instance number, in the range of 1–6.  | 
  | Use version 1 or 2 of the R-APS protocol  | |
  | Make this a major ring, which always has two ring ports.  | |
  | Make this a non-interconnected sub-ring, which has two ring ports. Configure this sub-ring with a R-APS virtual channel.  | |
  | Make this an interconnected sub-ring, which has only one ring port (port0), but connects to a major ring.  | |
  | An interconnected sub-ring points to another ring with two ring ports. The ERPS instance number is associated with the connected ring to which this interconnected sub-ring connects.  | |
  | If a topology-change occurs on this interconnected sub-ring, the connected ring also flushes its FDB.  | |
  | Port type and ID assigned to ring port0 and/or ring port1.  | |
  | Protect interface link state is used as signal-fail trigger or a MEP installed on protect interface is used as signal-fail trigger. Specify MEP's domain name, MEP's service name within the domain and MEP's ID.  | |
  | Source MAC address used in R-APS PDUs. Must be a unicast address. Format is XX:XX:XX:XX:XX:XX.  | |
  | Ring ID ranges from 1–239. If using G.8032 version 1, this must be 1.  | |
  | Node ID is used inside the R-APS specific PDU to uniquely identify this node (switch) on the ring. Must be a unicast address. Format is XX:XX:XX:XX:XX:XX.  | |
  | Set the MD/MEG level used in R-APS PDUs (0-7).  | |
  | The VLAN on which R-APS PDUs are transmitted and received on the ring ports.  | |
  | The PCP value used in the VLAN tag of the R-APS PDUs (0–7).  | |
  | Guard time in ms. Valid range is 10–2000 ms.  | |
  | Wait-to-Restore time in seconds. Valid range is 1–720 sec.  | |
  | Hold-off timer value measured in milliseconds. Must be in multiples of 100 ms. The valid range is 0–10000.  | |
  | Enable or disable this ERPS instance  | |
  | VLANs which are protected by this ring instance. At least one VLAN must be protected. Specify as a comma separated list of VLAN numbers or VLAN ranges. For example, 1, 4, 7, 30–70.  | |
  | This switch is RPL owner or the neighbor for the ring. Use the ‘no’ version of the command to configure instance to be normal ring node.  | |
Default  | None  | |
Mode  | ERPS mode  | |
Usage  | Configure ERPS parameters. To delete the specific ERPS instance, use the ‘no’ version of the command, or use parameter ‘all’ to delete all ERPS instances.  | |
Example  | Example 1: Create ERPS instance 1 version v1 and ring type major.  | |
