![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg29a.png)
666 CHAPTER 44: LOGICAL INTERFACE CONFIGURATION COMMANDS
Description Use the interface ethernet command to create an Ethernet sub-interface and
enter the corresponding Ethernet sub-interface view.
Use the
undo interface ethernet command to remove the specified Ethernet
sub-interface.
By default, no VLAN is associated to an Ethernet sub-interface.
Note that the VLAN associated with the Ethernet sub-interface of the local device
must be the same as the VLAN associated to the Ethernet sub-interface of the
peer device. Otherwise, packets cannot be transmitted properly. A Layer 3
Ethernet interface can accommodate 1 to 4,096 sub-interfaces.
Example # Create a sub-interface on Ethernet 1/0.
<Sysname> system-view
[Sysname] interface ethernet 1/0.1
[Sysname-Ethernet1/0.1]
interface loopback
Syntax interface loopback number
undo interface loopback number
View System view
Parameter number: Loopback interface number, ranging from 0 to 1023.
Description Use the
interface loopback command to create a Loopback interface and enter
the corresponding Loopback interface view.
Use the
undo interface loopback command to remove the specified Loopback
interface.
Related command: display interface loopback.
Example # Create Loopback 5.
<Sysname> system-view
[Sysname] interface loopback 5
[Sysname-LoopBack5]
interface mfr
Syntax interface mfr { interface-number | interface-number.subnumber }
undo interface mfr { interface-number | interface-number.subnumber }
View System view