< Home

Configuring 2 to 2 VLAN Mapping

Context

QinQ is used to send double-tagged packets, which prevents the conflict between C-VLAN IDs and S-VLAN IDs and differentiates services and users. However, the interface will discard the packets because C-VLAN IDs are different from S-VLAN IDs. To ensure communication continuity, configure 2:2 VLAN mapping on the PE and replace double C-VLAN tags with double S-VLAN tags.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The Ethernet interface view is displayed.

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

    The port link-type is set.

  4. Run qinq vlan-translation enable

    VLAN translation is enabled on the interface.

  5. Run port vlan-mapping vlan vlan-id1 inner-vlan vlan-id2 map-vlan vlan-id3 map-inner-vlan vlan-id4 [ remark-8021p 8021p-value ]

    The outer and inner VLAN tags are replaced.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >