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 }
Table 3-30. Command Description

Argument

Description

Parameter

<inst>

The ERPS instance number, in the range of 1–6.

{ v1 | v2 }

Use version 1 or 2 of the R-APS protocol

major

Make this a major ring, which always has two ring ports.

sub-ring [ virtual-channel ]

Make this a non-interconnected sub-ring, which has two ring ports. Configure this sub-ring with a R-APS virtual channel.

interconnected-sub-ring

Make this an interconnected sub-ring, which has only one ring port (port0), but connects to a major ring.

connected-ring <connected_ring_inst>

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.

propagate-topology-change

If a topology-change occurs on this interconnected sub-ring, the connected ring also flushes its FDB.

<port_type> <port>

Port type and ID assigned to ring port0 and/or ring port1.

link | { mep domain <md_name> service <ma_name> mep-id <mepid>

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.

<mac>

Source MAC address used in R-APS PDUs. Must be a unicast address. Format is XX:XX:XX:XX:XX:XX.

<ring_id>

Ring ID ranges from 1–239. If using G.8032 version 1, this must be 1.

<node_id>

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.

<level>

Set the MD/MEG level used in R-APS PDUs (0-7).

<vid>

The VLAN on which R-APS PDUs are transmitted and received on the ring ports.

<pcp>

The PCP value used in the VLAN tag of the R-APS PDUs (0–7).

<guard_time>

Guard time in ms. Valid range is 10–2000 ms.

<wtr>

Wait-to-Restore time in seconds. Valid range is 1–720 sec.

<hold_off>

Hold-off timer value measured in milliseconds. Must be in multiples of 100 ms. The valid range is 0–10000.

enable | disable

Enable or disable this ERPS instance

<vlan_list>

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.

owner | neighbor

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.

(config)# erps 1
(config-erps)# version v1
(config-erps)# ring-type major