How to configure a sub-interface on an AR router

A sub-interface is a virtual interface configured on a physical interface. It is generally used for the communication between a physical link and multiple remote ends.
Sub-interfaces include: Ethernet sub-interfaces, Eth-Trunk sub-interfaces, PON sub-interfaces, ATM sub-interfaces, and FR sub-interfaces.
Configure a sub-interface as follows:
[Huawei] interface ethernet 2/0/0
[Huawei-Ethernet2/0/0] undo portswitch //Switch the current interface to a Layer-3 interface.
[Huawei-Ethernet2/0/0] quit
[Huawei] interface ethernet 2/0/0.1 //Enter the view of the sub-interface.

Scroll to top