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

Configuration Guide - Ethernet Switching

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, MUX VLAN, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
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).
Configuring ERPSv1

Configuring ERPSv1

If there is no link fault on a ring network, ERPS can eliminate loops on the Ethernet network. If a link fault occurs on the ring network, ERPS can quickly restore communication between nodes on the ring network.

Creating an ERPS Ring

Context

ERPS works for ERPS rings. An ERPS ring consists of interconnected Layer 2 switching devices configured with the same control VLAN and data VLAN. Before configuring other ERPS functions, you must configure an ERPS ring.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run erps ring ring-id

    An ERPS ring is created and the ERPS ring view is displayed.

  3. (Optional) Run description

    The description of the device is configured. The description can contain the ERPS ring ID, which facilitate device maintenance in an ERPS ring.

    By default, the description of an ERPS ring is the ERPS ring name, for example, Ring 1.

  4. Run commit

    The configuration is committed.

Configuring the Control VLAN

Context

In an ERPS ring, the control VLAN is used only to forward RAPS PDUs but not service packets, so the security of ERPS is improved. All the devices in an ERPS ring must be configured with the same control VLAN, and different ERPS rings must use different control VLANs.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run erps ring ring-id

    The ERPS ring view is displayed.

  3. Run control-vlan vlan-id

    The control VLAN of the ERPS ring is configured.

    • The control VLAN specified by vlan-id must be a VLAN that has not been created or used.

    • If you run the control-vlan command multiple times, only the latest configuration takes effect.

    • If the ERPS ring contains ports, the control VLAN cannot be changed. To delete the configured control VLAN, run the undo erps ring command in the interface view or the undo port command in the ERPS ring view to delete ports from the ERPS ring, and run the undo control-vlan command to delete the control VLAN.

    • After a control VLAN is created, the vlan batch vlan-id1 [ to vlan-id2 ] &<1-10> command used to create common VLANs is displayed in the configuration file.

    • After a port is added to an ERPS ring configured with a control VLAN, the port is added to the control VLAN.
      • If the port is a trunk port, the port trunk allow-pass vlan vlan-id command is displayed in the record of the port that has been added to the ERPS ring in the configuration file.
      • If the port is a hybrid port, the port hybrid tagged vlan vlan-id command is displayed in the record of the port that has been added to the ERPS ring in the configuration file.

  4. Run commit

    The configuration is committed.

Configuring an ERP Instance and Activating the Mapping Between the ERP Instance and VLAN

Context

On a Layer 2 device running ERPS, the VLAN in which RAPS PDUs and data packets are transmitted must be mapped to an ERP instance so that ERPS forwards or blocks the packets based on configured rules. If the mapping is not configured, the preceding packets may cause broadcast storms on the ring network. As a result, the network becomes unavailable.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run erps ring ring-id

    The ERPS ring view is displayed.

  3. Run protected-instance { all | { instance-id1 [ to instance-id2 ] &<1-10> } }

    An ERP instance is created for the ERPS ring.

    By default, no ERP instance is configured in an ERPS ring.

    NOTE:
    • If you run the protected-instance command multiple times in the same ERPS ring, multiple ERP instances are configured.

    • If the ERPS ring contains ports, the ERP instance cannot be changed. To delete the configured ERP instance, run the undo erps ring command in the interface view or the undo port command in the ERPS ring view to delete ports from the ERPS ring, and run the undo protected instance command to delete the ERP instance.

  4. Run commit

    The configuration is committed.

  5. Run quit

    The system view is displayed.

  6. Configure the mapping between an ERP instance and VLAN.

    1. Run stp region-configuration

      The Multiple Spanning Tree (MST) region view is displayed.

    2. Run instance instance-id vlan { vlan-id [ to vlan-id ] } &<1-10>

      The mapping between the ERP instance and VLAN is configured.

      By default, all VLANs in an MST region are mapped to instance 0.

      instance-id in this command must be the same as instance-id used by the protected-instance command.

      NOTE:
      • A VLAN cannot be mapped to multiple MSTIs. If you map a VLAN that has already been mapped to an MSTI to another MSTI, the original mapping will be deleted.

      • The vlan-mapping modulo modulo command configures the mapping between MSTIs and VLANs based on the default algorithm. However, the mapping configured using this command cannot always meet the actual demand. Therefore, running this command is not recommended.

      • To configure the mapping between an ERP instance and a MUX VLAN, you are advised to configure the principal VLAN, subordinate group VLANs, and subordinate separate VLANs of the MUX VLAN in the same ERP instance. Otherwise, loops may occur.

    3. Run commit

      The configuration is committed.

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.

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) 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 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 ] 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

        Return to the system view.

      6. Run erps ring ring-id

        The ERPS ring view is displayed.

      7. Run port interface-type interface-number [ rpl owner ]

        The port is added to the ERPS ring and its role is configured. If rpl owner is specified, the port is configured as an RPL owner port. If rpl owner is not specified, the port is a common port.

    • 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 ] 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 ]

        The current port is added to the ERPS ring and its role is configured. If rpl owner is specified, the port is configured as an RPL owner port. If rpl owner is not specified, the port is a common port.

  3. Run commit

    The configuration is committed.

(Optional) Configuring Timers in an ERPS Ring

Context

After a link or node failure in an ERPS ring recovers, the device starts timers in the ERPS ring to reduce traffic interruptions. This prevents network flapping.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run erps ring ring-id

    The ERPS ring view is displayed.

  3. Configure the WTR timer, Guard timer, and Holdoff timer in the ERPS ring according to actual networking.

    • Run wtr-timer time-value

      The WTR timer is set.

      By default, the WTR timer is 5 minutes in an ERPS ring.

    • Run guard-timer time-value

      The Guard timer is set.

      By default, the Guard timer is 200 centiseconds in an ERPS ring.

    • Run holdoff-timer time-value

      The Holdoff timer is set.

      By default, the Holdoff timer is 0 deciseconds in an ERPS ring.

  4. Run commit

    The configuration is committed.

(Optional) Configuring the MEL Value

Context

On a Layer 2 network running ERPS, if another fault detection protocol (for example, CFM) is enabled, the MEL field in RAPS PDUs determines whether the RAPS PDUs can be forwarded. If the MEL value in an ERPS ring is smaller than the MEL value of the fault detection protocol, the RAPS PDUs have a lower priority and are discarded. If the MEL value in an ERPS ring is larger than the MEL value of the fault detection protocol, the RAPS PDUs can be forwarded. In addition, the MEL value can also be used for interworking with other vendors' devices in an ERPS ring. The same MEL value ensures smooth communication between devices.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run erps ring ring-id

    The ERPS ring view is displayed.

  3. Run raps-mel level-id

    The MEL value in the ERPS ring is set.

    By default, the MEL value in RAPS PDUs is 7.

  4. Run commit

    The configuration is committed.

Verifying the ERPS Configuration

Procedure

  • Run the display erps [ ring ring-id ] [ verbose ] command to check the device ports added to an ERPS ring and ERPS ring configurations.
  • Run the display erps interface interface-type interface-number [ ring ring-id ] command to check physical configurations of the port added to an ERPS ring.
Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 119125

Downloads: 292

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