The combo enable command specifies the working mode of a combo interface.
combo enable { copper | fiber }
Ethernet interface view
2: Configuration level
By default, the combo interface works as an electrical interface.
# Configure the combo interface to work as an optical interface.
<sysname> system-view [sysname] interface GigabitEthernet 0/0/4 [sysname-GigabitEthernet0/0/4] combo enable fiber