The interface command displays the specified interface view or sub-interface view.
The undo interface command deletes a sub-interface.
interface { ethernet | gigabitethernet | multige | xgigabitethernet | 25ge | 40ge | 100ge } interface-number[.subinterface-number ] [ mode l2 ]
undo interface { ethernet | gigabitethernet | multige | xgigabitethernet | 25ge | 40ge | 100ge } interface-number[.subinterface-number ]
Parameter |
Description |
Value |
---|---|---|
ethernet |
Displays the view of an FE interface. |
- |
gigabitethernet |
Displays the view of a GE interface. |
- |
multige |
Displays the view of a MultiGE interface. NOTE:
Only the S5732-H24UM2CC, S5732-H48UM2CC, S6720-32C-SI-AC, S6720-32C-SI-DC, S6720-32C-PWH-SI-AC, S6720-52X-PWH-SI, S6720-56C-PWH-SI-AC, S6720-56C-PWH-SI, and S6720-32C-PWH-SI support MultiGE interfaces. |
- |
xgigabitethernet |
Displays the view of an XGE interface. |
- |
25ge |
Displays the view of a 25GE interface. |
- |
40ge |
Displays the view of a 40GE interface. |
- |
100ge |
Displays the view of a 100GE interface. |
- |
interface-number |
Specifies the number of an interface. |
The value depends on the interface type and slot ID. |
subinterface-number |
Specifies the number of a sub-interface. |
The value is an integer that ranges from 1 to 4096. |
mode l2 |
Configures a sub-interface to work in Layer 2 mode for the VXLAN service. NOTE:
Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this parameter. |
- |
After entering the specified Ethernet interface view, you can set attributes for the Ethernet interface.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support Ethernet sub-interfaces.
After you run the undo portswitch command to switch Layer 2 interfaces on the preceding series of switches into Layer 3 interfaces, you can configure Ethernet sub-interfaces on the interfaces.
After an interface is added to an Eth-Trunk, sub-interfaces cannot be configured on the interface.