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 V200R012C00 Configuration Guide - Ethernet Switching

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, 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).
Creating an Eth-Trunk Sub-interface

Creating an Eth-Trunk Sub-interface

Context

To transmit both Layer 2 and Layer 3 services over the same physical link, create a sub-interface on a Layer 2 Eth-Trunk.

If Layer 2 switching devices belong to different VLANs and hosts in the VLANs need to communicate with each other, you need to create sub-interfaces on the Eth-Trunk connecting a Layer 3 device to a Layer 2 switching device, bind a VLAN to each sub-interface, and configure an IP address for each sub-interface.

After the configuration is complete, hosts in the VLANs can use these sub-interfaces to communicate with each other. Eth-Trunk sub-interfaces can be configured to terminate Dot1q and QinQ VLAN tags.

After Layer 2 Eth-Trunk sub-interfaces are configured, the Eth-Trunk provides Layer 2 functions and the sub-interfaces provide Layer 3 functions.

Figure 3-24  Typical application scenario of Layer 2 Eth-Trunk sub-interfaces

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface eth-trunk trunk-id

    An Eth-Trunk is created and the Eth-Trunk interface view is displayed.

  3. Run quit

    The system view is displayed.

  4. Run interface eth-trunk trunk-id.subnumber

    An Eth-Trunk sub-interface is created.

    subnumber specifies the number of a sub-interface. The value is in the range 1 to 4096.

    NOTE:
    • Only the E series, X series, and SC series cards on the S12700 support Ethernet sub-interface configuration. For details about the cards, see Cards in the Hardware Description.

    • Only hybrid and trunk interfaces on the preceding series of cards support Ethernet sub-interface configuration.
    • After you run the undo portswitch command to switch Layer 2 interfaces on the preceding series of cards into Layer 3 interfaces, you can configure Ethernet sub-interfaces on the interfaces.

    • The SA series cards do not support Ethernet sub-interface configuration and cannot forward IP traffic to Ethernet sub-interfaces on other cards.

    • You are advised to add a member interface to an Eth-Trunk and then configure an Eth-Trunk sub-interface. The Eth-Trunk sub-interface can be successfully configured only when the card on which the member interface locates supports Ethernet sub-interface configuration.

    • VLAN termination sub-interfaces cannot be created on a VCMP client.

  5. Run ip address ip-address { mask | mask-length } [ sub ]

    An IP address is configured for the sub-interface.

    When configuring multiple IP addresses for an Eth-Trunk sub-interface, use the sub keyword to indicate the second and subsequent IP addresses.

Translation
Download
Updated: 2019-01-18

Document ID: EDOC1100038103

Views: 113975

Downloads: 52

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