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

S7700 and S9700 V200R012C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, HVRP, 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 a Dot1q Termination Sub-interface

Configuring a Dot1q Termination Sub-interface

Context

When a VPN connects to an ISP network through a sub-interface, the sub-interface needs to remove a single VLAN tag from the packets sent to the ISP network. This can be achieved by configuring the sub-interface as a Dot1q termination sub-interface.

Procedure

  • Configure an IPv4 address for a sub-interface.
    1. On the PE device, run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run port link-type { hybrid | trunk }

      The port link-type is set.

    4. Run quit

      Return to the system view.

    5. Run interface interface-type interface-number.subinterface-number

      The view of the sub-interface connecting the PE to the CE is displayed.

    6. Run ip address ip-address { mask | mask-length }

      An IPv4 address is configured for the sub-interface.

    7. Run dot1q termination vid low-pe-vid [ to high-pe-vid ]

      Dot1q termination is configured on the sub-interface.

      After a VLANIF interface is configured, the corresponding VLAN cannot be configured in a sub-interface view.

    8. Run arp broadcast enable

      The sub-interface is enabled to forward ARP broadcast packets.

  • Configure an IPv6 address for a sub-interface.
    1. On the PE device, run:
      system-view

      The system view is displayed.

    2. Run ipv6

      IPv6 packet forwarding is enabled.

    3. Run interface interface-type interface-number

      The interface view is displayed.

    4. Run port link-type { hybrid | trunk }

      The port link-type is set.

    5. Run quit

      Return to the system view.

    6. Run interface interface-type interface-number.subinterface-number

      The view of the sub-interface connecting the PE to the CE is displayed.

    7. Run ipv6 enable

      The IPv6 function is enabled on the interface.

    8. Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

      An IPv6 address is configured for the sub-interface.

    9. Run dot1q termination vid low-pe-vid [ to high-pe-vid ]

      Dot1q termination is configured on the sub-interface.

      After a VLANIF interface is configured, the corresponding VLAN cannot be configured in a sub-interface view.

    10. Run ipv6 nd ns multicast-enable

      The sub-interface is enabled to send NS multicast packets.

Translation
Download
Updated: 2019-01-18

Document ID: EDOC1100038843

Views: 109398

Downloads: 72

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