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

S1720, S2700, S5700, and S6720 V200R012(C00 and C20)

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).
Configuring QinQ Stacking on a VLANIF Interface

Configuring QinQ Stacking on a VLANIF Interface

Background

To log in to and manage a remote device from the local device, configure QinQ stacking on the VLANIF interface corresponding to the management VLAN on the remote device. As shown in Figure 9-10, SwitchA is connected to SwitchB through a third-party network. The management VLAN on SwitchB is the same as the VLAN for users connected to SwitchA and is different from the VLAN provided by the carrier.

Figure 9-10  Networking for QinQ stacking on a VLANIF interface

To log in to SwitchB from SwitchA, you can configure QinQ stacking on the VLANIF interface corresponding to the management VLAN on SwitchB.

  • Packets sent from SwitchA to SwitchB

    The user-side interface on SwitchA configured with QinQ sends double-tagged packets to the carrier network. The outer VLAN tag is the same as the VLAN tag provided by the carrier. This allows the packets to be transparently transmitted to SwitchB over the carrier network.

    When SwitchB receives a double-tagged packet, it compares the VLAN tag of the packet with the VLAN tag configured on the VLANIF interface. If they are the same, SwitchB removes the outer tag and the forward the packet to the IP layer for processing.

  • Packets sent from SwitchB to SwitchA

    When the VLANIF interface on SwitchB receives a data packet, SwitchB adds an outer VLAN tag to the packet according to the QinQ stacking configuration. The new outer VLAN tag is the same as the VLAN tag provided by the carrier. This allows the double-tagged data packet to be transparently transmitted to SwitchA over the carrier network. SwitchA removes the outer VLAN tag from the packet and forwards then the packet.

Pre-configuration Tasks

Before configuring QinQ stacking on a VLANIF interface, complete the following tasks:

  • Create a VLAN.

  • Configure a management VLAN.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface vlanif vlan-id

    The VLANIF interface corresponding to the management VLAN is created.

    Before running this command, ensure that the management VLAN exists.

  3. Run qinq stacking vlan vlan-id

    QinQ stacking is configured on the VLANIF interface.

    NOTE:
    • When configuring QinQ stacking on a VLANIF interface, ensure that the VLANIF interface corresponds to the management VLAN. VLANIF interfaces corresponding to other VLANs do not support QinQ stacking.

    • Before changing the new outer VLAN, run the undo qinq stacking vlan command to cancel the QinQ stacking configuration.

    • The qinq stacking vlan and icmp host-unreachable send commands are mutually exclusive. Run the undo icmp host-unreachable send command before using the qinq stacking vlan command.

    • The outer VLAN added to packets must be an existing VLAN with no VLANIF interface configured.

Follow-up Procedure

  • Run the display vlan [ vlan-id [ verbose ] ] command to check the management VLAN.
  • Run the display this command in the VLANIF interface view to check the QinQ stacking configuration.
Translation
Download
Updated: 2018-12-24

Document ID: EDOC1100038339

Views: 160118

Downloads: 687

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