CÔNG TY TNHH CÔNG NGHỆ VIỆT THÁI DƯƠNG
Logo CNTTShop.vn

NTT03, Line 1, Thống Nhất Complex, Thanh Xuân, Hà Nội.
Danh mục sản phẩm

Configure the Port-Based Flexible QinQ Function

After a port is configured with the port-based flexible QinQ, if the VLAN ID of the outermost layer of VLAN tag of a packet matches an entry of the port-based flexible QinQ, a specified outer VLAN tag is added to the packet. If the VLAN ID of the outermost layer of VLAN tag of a packet does not match an entry of the port-based flexible QinQ, a layer of VLAN tag is added to the packet, and the VLAN ID of the VLAN tag is the PVID of the port.

Configuration Condition

Before configuring the port-based flexible QinQ function, ensure that:

  • The port link type is configured to the Trunk type or the Hybrid type.
  • A PVID has been configured for the port.
  • The VLAN of the outer VLAN tags to be added has been configured for the port, and the packets to which outer VLAN tags have been added can pass the VLAN.

Configure the Port-Based Flexible QinQ Function

Table 4-3 Configuring the Port-Based Flexible QinQ Function

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the L2 Ethernet interface configuration mode.

interface interface-name

Either

After you enter the L2 Ethernet interface configuration mode, the subsequent configuration takes effect only on the current port. After you enter the aggregation group configuration mode, the subsequent configuration takes effect only within the aggregation group.

Enter the aggregation group configuration mode.

link-aggregation link-aggregation-id

Configure port- based flexible QinQ entries.

vlan dot1q-tunnel inner-vlan-list outer-vlan-id

Mandatory.

By default, port-based flexible QinQ entries are not configured.

note


  • On one port, the port-based flexible QinQ function cannot coexist with the following functions: QinQ Evc, basic QINQ, 1:1 VLAN mapping, N:1 VLAN mapping.
  • When the configured port-based flexible QinQ entry conflicts with the existing port- based flexible QinQ entry of the port, a conflict will be prompted.