When a VPN connects to an ISP network through a sub-interface, the sub-interface needs to remove a single VLAN tag from the packets sent to the ISP network. This can be achieved by configuring the sub-interface as a Dot1q termination sub-interface.
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.
Dot1q termination is configured on the sub-interface.
After a VLANIF interface is configured, the corresponding VLAN cannot be configured as a VLAN for Dot1q termination sub-interfaces or an outer VLAN for QinQ termination sub-interfaces.