Qinq configuration Data Center Switches

Created: Jul 26, 2019 14:05:43Latest reply: Jul 30, 2019 15:01:46 198 2 19 0
  Rewarded Hi-coins: 0 (problem resolved)

Plz your support to provide the ideal configuration


  • x
  • convention:

Featured Answers
wissal
MVE Created Jul 26, 2019 14:16:31 Helpful(1) Helpful(1)

Hi,

5.5  Configuring QinQ

This section describes how to configure QinQ.

5.5.1  Configuring Basic QinQ

Basic QinQ enables the device to add a public tag to incoming packets so that user packets can be forwarded on the public network.

Background

To separate private networks from public networks and conserve VLAN resources, configure double 802.1Q tags on QinQ interfaces of the device. Inner VLAN tags are used on internal networks and outer VLAN tags are used on external networks. QinQ expands VLAN space to 4094x4094 VLANs and allows packets on different private networks with the same VLAN IDs to be transparently transmitted.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    vlan vlan-id

    A VLAN used on the public network is created.

  3. Run:

    quit

    Exit from the VLAN view.

  4. Run:

    interface interface-type interface-number

    The interface view is displayed.

    The interface can be a physical interface or an Eth-Trunk interface.

  5. Run:

    port link-type dot1q-tunnel

    The link type of the interface is set to Dot1q-tunnel.

    By default, the link type of an interface is access. Dot1q-tunnel interfaces do not support Layer 2 multicast.

    The device cannot use a Dot1q-tunnel interface to connect to a TRILL network.

  6. Run:

    port default vlan vlan-id

    The VLAN ID of the public VLAN tag, that is, the default VLAN of the interface, is configured.

    By default, VLAN 1 is the default VLAN of all interfaces.

  7. Run:

    commit

    The configuration is committed.

Checking the Configuration

  • Run the display current-configuration interface interface-type interface-number command to check the QinQ configuration on the interface.

5.5.2  Configuring Selective QinQ

Context

Selective QinQ enables the device to add different outer VLAN tags to received data frames according to VLAN IDs in the frames.

imgDownload?uuid=274bf8edd68a446bb006fb3 NOTE:
  • Selective QinQ can be only enabled on hybrid or trunk interfaces in the inbound direction.
  • The outer VLAN ID must exist and the interface must be added to the outer VLAN in untagged mode.
  • The interface learns the MAC address in the VLAN specified by the outer VLAN tag of packets.
  • The MUX VLAN and selective QinQ cannot be configured on the same interface.

Procedure

  1. 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

    The link type of the interface is configured as hybrid.

    By default, the link type of an interface is access.

  4. Run:

    port hybrid untagged vlan vlan-id

    The interface is added to the VLAN in untagged mode.

    The VLAN ID specified by vlan-id must already exist on the device. The original VLAN can be not created.

  5. Run:

    port vlan-stacking vlan vlan-id1 [ to vlan-id2 ] stack-vlan vlan-id3

    Selective QinQ is configured.

    imgDownload?uuid=4cb802b50fd840d384fe156 NOTICE:

    If the port vlan-stacking command has been executed at least three times with specified VLAN ranges and VLAN ranges are combined twice at least, the configuration of each command must be committed. Otherwise, packets may be lost. For example, when port vlan-stacking vlan 30 to 60 stack-vlan 100port vlan-stacking vlan 20 to 30 stack-vlan 100, and port vlan-stacking vlan 60 to 70 stack-vlan 100 commands are used, VLAN ranges 20 to 60 and 20 to 70 are combined twice. Therefore, commit the configuration of each command.

  6. Run:

    commit

    The configuration is committed.

Checking the Configuration

  • Run the display current-configuration interface interface-type interface-number command to check the configuration of selective QinQ on the interface.

For more details please refer to the link:

Thanks
  • x
  • convention:

Telecommunications%20engineer%2C%20currently%20senior%20project%20manager%20at%20an%20operator%2C%20partner%20of%20Huawei%2C%20in%20the%20radio%20access%20network%20department%2C%20for%2020%20years%20I%20managed%20several%20types%20of%20projects%2C%20for%20the%20different%20nodes%20of%20the%20network.
All Answers
wissal
wissal MVE Created Jul 26, 2019 14:16:31 Helpful(1) Helpful(1)

Hi,

5.5  Configuring QinQ

This section describes how to configure QinQ.

5.5.1  Configuring Basic QinQ

Basic QinQ enables the device to add a public tag to incoming packets so that user packets can be forwarded on the public network.

Background

To separate private networks from public networks and conserve VLAN resources, configure double 802.1Q tags on QinQ interfaces of the device. Inner VLAN tags are used on internal networks and outer VLAN tags are used on external networks. QinQ expands VLAN space to 4094x4094 VLANs and allows packets on different private networks with the same VLAN IDs to be transparently transmitted.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    vlan vlan-id

    A VLAN used on the public network is created.

  3. Run:

    quit

    Exit from the VLAN view.

  4. Run:

    interface interface-type interface-number

    The interface view is displayed.

    The interface can be a physical interface or an Eth-Trunk interface.

  5. Run:

    port link-type dot1q-tunnel

    The link type of the interface is set to Dot1q-tunnel.

    By default, the link type of an interface is access. Dot1q-tunnel interfaces do not support Layer 2 multicast.

    The device cannot use a Dot1q-tunnel interface to connect to a TRILL network.

  6. Run:

    port default vlan vlan-id

    The VLAN ID of the public VLAN tag, that is, the default VLAN of the interface, is configured.

    By default, VLAN 1 is the default VLAN of all interfaces.

  7. Run:

    commit

    The configuration is committed.

Checking the Configuration

  • Run the display current-configuration interface interface-type interface-number command to check the QinQ configuration on the interface.

5.5.2  Configuring Selective QinQ

Context

Selective QinQ enables the device to add different outer VLAN tags to received data frames according to VLAN IDs in the frames.

imgDownload?uuid=274bf8edd68a446bb006fb3 NOTE:
  • Selective QinQ can be only enabled on hybrid or trunk interfaces in the inbound direction.
  • The outer VLAN ID must exist and the interface must be added to the outer VLAN in untagged mode.
  • The interface learns the MAC address in the VLAN specified by the outer VLAN tag of packets.
  • The MUX VLAN and selective QinQ cannot be configured on the same interface.

Procedure

  1. 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

    The link type of the interface is configured as hybrid.

    By default, the link type of an interface is access.

  4. Run:

    port hybrid untagged vlan vlan-id

    The interface is added to the VLAN in untagged mode.

    The VLAN ID specified by vlan-id must already exist on the device. The original VLAN can be not created.

  5. Run:

    port vlan-stacking vlan vlan-id1 [ to vlan-id2 ] stack-vlan vlan-id3

    Selective QinQ is configured.

    imgDownload?uuid=4cb802b50fd840d384fe156 NOTICE:

    If the port vlan-stacking command has been executed at least three times with specified VLAN ranges and VLAN ranges are combined twice at least, the configuration of each command must be committed. Otherwise, packets may be lost. For example, when port vlan-stacking vlan 30 to 60 stack-vlan 100port vlan-stacking vlan 20 to 30 stack-vlan 100, and port vlan-stacking vlan 60 to 70 stack-vlan 100 commands are used, VLAN ranges 20 to 60 and 20 to 70 are combined twice. Therefore, commit the configuration of each command.

  6. Run:

    commit

    The configuration is committed.

Checking the Configuration

  • Run the display current-configuration interface interface-type interface-number command to check the configuration of selective QinQ on the interface.

For more details please refer to the link:

Thanks
  • x
  • convention:

Telecommunications%20engineer%2C%20currently%20senior%20project%20manager%20at%20an%20operator%2C%20partner%20of%20Huawei%2C%20in%20the%20radio%20access%20network%20department%2C%20for%2020%20years%20I%20managed%20several%20types%20of%20projects%2C%20for%20the%20different%20nodes%20of%20the%20network.
daniellima
daniellima Created Jul 30, 2019 15:01:46 Helpful(0) Helpful(0)

great answer Wissal, thanks
  • x
  • convention:

Network%20Product%20Manager%2C%20Graduated%20in%20Networks%2C%20MBA%20in%20Technological%20Entrepreneurship%20with%20emphasis%20in%20IT%2C%20Graduated%20in%20Business%20Management%2C%20possessing%20certifications%2C%20ITILv3%2C%20COBIT%2C%20Huawei%3A%20HCPA-IP%20Network%2C%20VMware%3A%20NSX%20VCP6-NV%2C%20Splunk%3A%20Certified%20Admin%2C%20Certified%20Architect%2C%20Cisco%3A%20CCDA%2C%20CCNA%2C%20CCNP%20(S)%2C%20SonicWall%3A%20CSSA%2C%20Arbor%3A%20APS%20Technical%20Specialist%2C%20Brocade%3A%20BPIPA%2C%20Dell%3A%20DNDNS-200%2C%20%20Trend%20Micro%3A%20Deep%20Security%20and%20Tipping%20Point%2C%20Aerohive%3A%20ACWA%2C%20Yellow%20Belt%2C%20BPMN%2C%20Intermediate%20to%20advanced%20English%20and%2016%20years%20of%20experience%20in%20IT%3B

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login