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

NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access
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).
Establishing the EVC Model

Establishing the EVC Model

The EVC model is established to forward Layer 2 services.

Usage Scenario

Traditional Ethernet access models have the drawbacks:

  • Service access point

    Sub-interfaces and Layer 2 physical interfaces, which have various types and require different configurations.

  • Broadcast domains

    • Virtual local area network (VLAN) for traditional Layer 2 services

      VLANs are used as broadcast domains on MANs. The VLAN tag field defined in IEEE 802.1Q has 12 bits and identifies only a maximum of 4096 VLANs.

      QinQ was developed to address the shortage of VLAN ID resources. However, QinQ must be used with the virtual private LAN service (VPLS) to provide local switching services, and QinQ cannot implement local switching services and Layer 3 access at the same time.

    • Virtual switching instance (VSI) for VPLS services

      • A customer can plan VLANs and traffic within a VSI.
      • When VLAN services are carried within a VSI, the VLANs are not isolated, posing security risks. If the same MAC address exists in multiple VLANs of a VSI, MAC address flapping occurs, affecting services.

To overcome the drawbacks, the NE20E implements the EVC model. The EVC model is established to forward Layer 2 services.

Pre-configuration Tasks

Before establishing the EVC model, connect interfaces between devices and set interface parameters so that the physical status of the interfaces can be Up.

Configuration Procedures

Figure 10-4 Flowchart for establishing the EVC model

Creating a Bridge Domain

In the EVC model, Layer 2 services are transmitted within a bridge domain.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bridge-domain bd-id

    A bridge domain is created.

  3. (Optional) Run description description

    A bridge domain description is configured.

  4. Run commit

    The configuration is committed.

Configuring a Service Access Point

An EVC Layer 2 sub-interface is used as an EVC service access point, on which traffic encapsulation types and behaviors can be flexibly combined. A traffic encapsulation type and behavior are grouped into a traffic policy. Traffic policies help implement flexible Ethernet traffic access.

Context

For configuration notes about the traffic encapsulation types and behaviors, and their combinations, see EVC Service Bearing.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number.subnum mode l2

    An EVC Layer 2 sub-interface is created, and the sub-interface view is displayed.

  3. Perform one of the following steps to configure an encapsulation type:

    • To configure default encapsulation, run the encapsulation default command.
    • To configure dot1q encapsulation, run the encapsulation dot1q vid low-pe-vid [ to high-pe-vid ] [ 8021p { 8021p-value1 [ to 8021p-value2 ] } &<1-8> ] command.
    • To configure QinQ encapsulation, run the encapsulation qinq vid pe-vid ce-vid { low-ce-vid [ to high-ce-vid ] | default } command.
    • To configure untagged encapsulation, run the encapsulation untag command.

  4. Perform one of the following steps to configure a traffic behavior:

    • To add a tag or an outer tag to each packet, run the rewrite push vid vid [ 8021p 8021p-value ] command.
    • To add two tags to each packet, run the rewrite push vid vid [ 8021p 8021p-value ] ce-vid ce-vid [ ce-8021p ce-8021p-value ] command.
    • To remove a tag or an outer tag from each packet, run the rewrite pop single command.
    • To remove two tags from each packet, run the rewrite pop double command.
    • To map a tag to another tag in each packet, run the rewrite map 1-to-1 vid vid [ 8021p 8021p-value ] command.
    • To map a tag to two tags, run the rewrite map 1-to-2 vid pe-vid [ 8021p pe-8021p-value ] ce-vid ce-vid [ ce-8021p ce-8021p-value ] command.
    • To map the outer tag to a specified tag and leave the inner tag in each packet, run the rewrite map 2-to-1 vid vid [ 8021p 8021p-value ] command.
    • To map two tags to the specified two tags in each packet, run the rewrite map 2-to-2 vid pe-vid [ 8021p pe-8021p-value ] ce-vid ce-vid [ ce-8021p ce-8021p-value ] command.
    • To increase or reduce a tag value based on a specified offset in each packet, run the rewrite map offset { decrease | increase } offset-vid command.
    • To exchange the inner and outer tags carried in each packet, run the rewrite swap command.

  5. Run bridge-domain bd-id

    The EVC Layer 2 sub-interface is added to a bridge domain.

    bd-id is the bridge domain ID configured following the steps in Creating a Bridge Domain.

  6. Run commit

    The configuration is committed.

Checking the Configurations

After establishing an EVC model, you can view the bridge domain configurations, including information about traffic encapsulation types and behaviors configured on an EVC Layer 2 sub-interface.

Prerequisites

The EVC model has been configured.

Procedure

  • Run the display bridge-domain [ bd-id [ brief | verbose ] ] command to check bridge domain configurations.
  • Run the display ethernet uni information [ interface interface-type interface-number ] command to check encapsulation types and behaviors configured on an EVC Layer 2 sub-interface.

Example

Run the display bridge-domain command to view bridge domain configurations. The command output contains the ID of a bridge domain to which an EVC Layer 2 sub-interface is added, the bridge domain status, and the EVC Layer 2 sub-interface status.
  • Display the configurations of all bridge domains configured on a device.

    <HUAWEI> display bridge-domain
    The total number of bridge-domains is : 2
    --------------------------------------------------------------------------------
    MAC_LRN: MAC learning;         STAT: Statistics;         SPLIT: Split-horizon;
    BC: Broadcast;                 MC: Unknown multicast;    UC: Unknown unicast;
    *down: Administratively down;  FWD: Forward;             DSD: Discard;
    --------------------------------------------------------------------------------
    
    BDID  State MAC-LRN STAT    BC  MC  UC  SPLIT   Description
    --------------------------------------------------------------------------------
    10    up    enable  enable  FWD FWD DSD disable VPLS
    20    up    enable  disable FWD FWD FWD disable VLAN
  • Display the brief configurations of a bridge domain with ID 10.

    <HUAWEI> display bridge-domain 10 brief
    --------------------------------------------------------------------------------
    *down: Administratively down;           U:Up;            D:Down;
    --------------------------------------------------------------------------------
    
    BDID  State Ports
    --------------------------------------------------------------------------------
    10    up    GE0/1/1.1(D)
  • Display detailed configurations of a bridge domain with ID 10.

    <HUAWEI> display bridge-domain 10 verbose
      Bridge-domain ID        : 10
      Description             : VPLS
      State                   : Up
      MAC Learning            : Enable
      Statistics              : Enable
      Broadcast               : Forward
      Unknown-unicast         : Discard
      Unknown-multicast       : Forward
      Split-horizen           : Disable
      Vxlan Vni               : --     
    
      -----------------------------------------
    Interface                            State
      gigabitethernet 0/1/1.1            up
Run the display ethernet uni information command to view information about traffic encapsulation types and behaviors configured on an EVC Layer 2 sub-interface.
<HUAWEI> display ethernet uni information
  GigabitEthernet0/1/1.1
    Total encapsulation number: 1
      encapsulation dot1q vid 10
    Rewrite map 1-to-1 vid 100
  GigabitEthernet0/1/1.2
    Total encapsulation number: 2
      encapsulation qinq vid 10 ce-vid 100
      encapsulation qinq vid 20 ce-vid 200 to 400
    Rewrite swap
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055378

Views: 16749

Downloads: 35

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