When a VPN network connects to an ISP network through a sub-interface, the sub-interface needs to terminate VLAN tags. A QinQ termination sub-interface can remove double VLAN tags carried by packets sent from CEs to PEs.
The system view is displayed.
The interface view is displayed.
The port link-type is set.
Return to the system view.
The view of the sub-interface connecting the PE to the CE is displayed.
If the PW-side routing interface is a Layer 3 interface switched by the undo portswitch command, the AC-side interface cannot be a Layer 3 routing interface or its sub-interface belonging to a Layer 3 interface; otherwise, traffic fails to be forwarded. This rule applies to S5710-EI, S5720-EI, S6720-EI, and S6720S-EI.
The attributes of the sub-interface for QinQ VLAN tag termination are set.
By default, access attributes are not configured on a sub-interface for QinQ VLAN tag termination.
Select the encapsulation mode according to encapsulation (VSI view) or mpls l2vc.
Inbound Interface Type |
Ethernet Encapsulation |
VLAN Encapsulation |
---|---|---|
Symmetrical mode |
Removes the outer tag. |
Reserves double tags. No action is required. |
Asymmetrical mode |
Removes double tags. |
Removes the outer tag. |
Default |
Removes double tags. |
Reserves double tags. No action is required. |
Inbound Interface Type |
Ethernet Encapsulation |
VLAN Encapsulation |
---|---|---|
Symmetrical mode |
Removes the MPLS label and adds the outer tag specified by pe-vid that is configured on the sub-interface for QinQ VLAN tag termination. |
If packets carry the inner tag: removes the MPLS label and replaces the outer tag with the tag specified by pe-vid that is configured on the sub-interface for QinQ VLAN tag termination. If packets do not carry the inner tag: removes the MPLS label and adds the outer tag specified by pe-vid that is configured on the sub-interface for QinQ VLAN tag termination. |
Asymmetrical mode |
S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-HI, S6730S-H, and S6730-H: removes the MPLS label and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. Other models: If packets do not carry the inner tag: removes the MPLS label and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. If packets carry the inner tag: removes the MPLS label, removes the inner tag, and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. |
S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-HI, S6730S-H, and S6730-H: If packets do not carry the inner tag: removes the MPLS label and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. If packets carry the inner tag: removes the MPLS label, removes the inner tag, and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. Other models: If packets do not carry the inner tag: removes the MPLS label and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. If packets carry one inner tag: removes the MPLS label, removes one inner tag, and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. If packets carry double inner tags: removes the MPLS label, removes double inner tags, and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. |
Default |
S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-HI, S6730S-H, and S6730-H: removes the MPLS label and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. Other models: If packets do not carry the inner tag: removes the MPLS label and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. If packets carry the inner tag: removes the MPLS label, removes the inner tag, and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. |
Removes the MPLS label and transparently transmits packets. |
Inbound Interface Type |
Raw Encapsulation |
Tagged Encapsulation |
---|---|---|
Symmetrical mode |
Removes the outer tag. |
Reserves double tags. No action is required. |
Asymmetrical mode |
Removes double tags. |
Removes the outer tag. |
Default |
Removes the outer tag. |
Reserves double tags. No action is required. |
Inbound Interface Type |
Raw Encapsulation |
Tagged Encapsulation |
---|---|---|
Symmetrical mode |
Removes the MPLS label and adds the outer tag specified by pe-vid that is configured on the sub-interface for QinQ VLAN tag termination. |
If packets carry the inner tag: removes the MPLS label and replaces the outer tag with the tag specified by pe-vid that is configured on the sub-interface for QinQ VLAN tag termination. If packets do not carry the inner tag: removes the MPLS label and adds the outer tag specified by pe-vid that is configured on the sub-interface for QinQ VLAN tag termination. |
Asymmetrical mode |
S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-HI, S6730S-H, and S6730-H: removes the MPLS label and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. Other models: If packets do not carry the inner tag: removes the MPLS label and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. If packets carry the inner tag: removes the MPLS label, removes the inner tag, and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. |
S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-HI, S6730S-H, and S6730-H: If packets do not carry the inner tag: removes the MPLS label and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. If packets carry the inner tag: removes the MPLS label, removes the inner tag, and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. Other models: If packets do not carry the inner tag: removes the MPLS label and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. If packets carry one inner tag: removes the MPLS label, removes one inner tag, and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. If packets carry double inner tags: removes the MPLS label, removes double inner tags, and adds double tags according to ce-vid and pe-vid configured on the sub-interface for QinQ VLAN tag termination. |
Default |
Removes the MPLS label and adds the outer tag specified by pe-vid that is configured on the sub-interface for QinQ VLAN tag termination. |
If packets carry the inner tag: removes the MPLS label and replaces the outer tag with the tag specified by pe-vid on the sub-interface for QinQ VLAN tag termination. If packets do not carry the inner tag: removes the MPLS label and adds the outer tag specified by pe-vid on the sub-interface for QinQ VLAN tag termination. |
QinQ termination is configured on the sub-interface.
After a VLANIF interface is configured, the corresponding VLAN cannot be configured as an outer VLAN for the sub-interface for QinQ VLAN tag termination.