The interface command creates an interface or enters the specified interface view.
The undo interface command deletes the specified interface.
interface interface-type interface-number
interface interface-type interface-number.subinterface-number
undo interface interface-type { interface-number | interface-number.subinterface-number }
| Parameter | Description | Value |
|---|---|---|
interface-type |
Specifies the type of an interface. |
- |
interface-number |
Specifies the number of an interface. |
- |
subinterface-number |
Specifies the subinterface number. |
The value is an integer ranging from 1 to 4096. |
When an interface has subinterfaces, if you run the shutdown command and the undo shutdown command on the main interface in succession, the two commands must be used at an interval of at least 15 seconds.
The undo interface eth-trunk command cannot be used in the system view of a virtual system.