< Home

Configuring 2 to 1 VLAN Mapping

Context

When receiving a tagged packet, an interface maps the VLAN ID in the packet to an S-VLAN ID.

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 | 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 [ to vlan-id3 ] map-vlan vlan-id4 [ remark-8021p 8021p-value ]

    The outer VLAN tag is replaced.

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