No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R010C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Adding a Layer 2 Port to an ERPS Ring and Configuring the Port Role

Adding a Layer 2 Port to an ERPS Ring and Configuring the Port Role

Context

After ERPS is configured, add Layer 2 ports to an ERPS ring and configure port roles so that ERPS can work properly.

You can add a Layer 2 port to an ERPS ring in either of the following ways:
  • In the ERPS ring view, add a specified port to the ERPS ring and configure the port role.

  • In the interface view, add the current port to the ERPS ring and configure the port role.

NOTE:
  • A port can be added to a maximum of two ERPS rings.

  • An ERPS-enabled port needs to allow packets of control VLANs and data VLANs to pass through, so the link type of the port must be configured as trunk or hybrid.

  • Flush-FDB packets for updating MAC addresses cannot be separately sent, so do not configure a direct link between two upstream nodes as the RPL.

  • Before changing the port role, use the shutdown command to disable the port. When the port role is changed, use the undo shutdown command to enable the port. This prevents traffic interruptions.

  • Before adding an interface to an ERPS ring, disable port security on the interface; otherwise, loops cannot be prevented.

Prerequisites

  • 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.
  • The control-vlan command has been executed to configure a control VLAN and the protected-instance command has been executed to configure an ERP instance.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Add a Layer 2 port to an ERPS ring and configure the port role in either of the following ways.

    • In the ERPS ring view, add a specified port to the ERPS ring and configure the port role.
      1. Run:

        interface interface-type interface-number

        The interface view is displayed.

      2. Run:

        stp disable

        STP is disabled on the ERPS-enabled port.

      3. Run:

        port link-type trunk

        The link type of the ERPS-enabled port is configured as trunk.

      4. Run:

        port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all }

        The VLANs allowed by the ERPS-enabled port are specified.

        After the control-vlan command is used in the ERPS ring view to configure a control VLAN and the port interface-type interface-number [ rpl { owner | neighbour } ] command is configured, the ports in the ERPS ring allow packets of the control VLAN to pass through. Therefore, you need to specify only the IDs of data VLANs in this step.

      5. Run:

        quit

        The system view is displayed.

      6. Run:

        erps ring ring-id

        The ERPS ring view is displayed.

      7. Run:

        port interface-type interface-number [ rpl { owner | neighbour } ]

        The port is added to the ERPS ring and its role is configured.

    • In the interface view, add the current port to the ERPS ring and configure the port role.
      1. Run:

        interface interface-type interface-number

        The specified interface view is displayed.

      2. Run:

        stp disable

        STP is disabled on the ERPS-enabled port.

      3. Run:

        port link-type trunk

        The link type of the ERPS-enabled port is configured as trunk.

      4. Run:

        port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all }

        The VLANs allowed by the ERPS-enabled port are specified.

        After the control-vlan command is used in the ERPS ring view to configure a control VLAN and the port interface-type interface-number [ rpl { owner | neighbour } ] command is configured, the ports in the ERPS ring allow packets of the control VLAN to pass through. Therefore, you need to specify only the IDs of data VLANs in this step.

      5. Run:

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

        The current port is added to the ERPS ring and its role is configured.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 259174

Downloads: 408

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next