< Home

erps ring (interface view)

Function

The erps ring command adds a port to an ERPS ring and specifies a role for the port.

The undo erps ring command deletes a port from an ERPS ring and cancels the port role.

By default, a port is not added to an ERPS ring, and no port role is specified.

Format

erps ring ring-id [ rpl { owner | neighbour } ]

undo erps ring ring-id

Parameters

Parameter Description Value

ring-id

Specifies the ID of an ERPS ring.

The value is an integer that ranges from 1 to 255.

rpl { owner | neighbour }

Specifies the port to be added to an ERPS ring as the RPL owner port or RPL neighbor port.

-

Views

Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After an ERPS ring is created, run the erps ring command in the interface view to add Layer 2 ports to the ERPS ring so that RAPS PDUs can be correctly forwarded. Each device in an ERPS ring is a node, and a maximum of two Layer 2 ports on each node can be added to the same ERPS ring.

ERPS defines three port roles: RPL owner port, RPL neighbor port (only in ERPSv2), and common port.
  • RPL owner port

    An RPL owner port is responsible for blocking traffic over the Ring Protection Link (RPL) to prevent loops. An ERPS ring has only one RPL owner port.

    When the node on which the RPL owner port resides receives an RAPS PDU indicating a link or node fault in an ERPS ring, the node unblocks the RPL owner port. Then the RPL owner port can send and receive traffic to ensure nonstop traffic forwarding.

    The link where the RPL owner port resides is the RPL.

  • RPL neighbor port

    An RPL neighbor port is directly connected to an RPL owner port.

    Both the RPL owner port and RPL neighbor ports are blocked in normal situations to prevent loops.

    If an ERPS ring fails, both the RPL owner and neighbor ports are unblocked.

    The RPL neighbor port helps reduce the number of FDB entry updates on the device where the RPL neighbor port resides.

  • Common port

    Common ports are ring ports other than the RPL owner and neighbor ports.

    A common port monitors the status of the directly connected ERPS link and sends RAPS PDUs to notify the other ports of its link status changes.

Prerequisites

An ERPS ring has been created using the erps ring command.

  • The control VLAN and ERP instance have been configured using the control-vlan and protected-instance commands respectively in the ERPS ring view.

  • The port is not a Layer 3 port. If the port is a Layer 3 port, run the portswitch command to switch the port to the Layer 2 mode.

  • Spanning Tree Protocol (STP), Rapid Ring Protection Protocol (RRPP), Smart Ethernet Protection (SEP), or Smart Link is not enabled on the port.
    • If the port has STP enabled, run the stp disable command in the interface view to disable STP.
    • If the port has RRPP enabled, run the undo ring ring-id command in the RRPP domain view to disable RRPP.
    • If the port has SEP enabled, run the undo sep segment segment-id command in the interface view to disable SEP.
    • If the port has Smart Link enabled, run the undo port command in the Smart Link group view to disable Smart Link.
  • ERPSv2 has been specified in the ERPS ring using the version v2 command if the port is specified as an RPL neighbor port.

Precautions

  • Before running the undo erps ring command to delete a port from an ERPS ring, run the shutdown (interface view) command to shut down the port. The port can be enabled again according to the actual situation.

  • If ports added to an ERPS ring are all ordinary ports, any port on the device with the largest MAC address will be blocked.

  • If an RPL neighbor port is configured for a non-virtual channel of a sub-ring, network convergence may fail to meet requirements because SF packets are discarded on the port in the case of a link fault.

Example

# Add GE0/0/1 to ERPS ring 2.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] erps ring 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >