The set device port-config-mode enable command changes the working mode of SFP28 Ethernet optical ports on the device panel and changes the working mode of QSFP28 Ethernet optical ports or splits QSFP28 Ethernet optical ports.
The undo set device port-config-mode enable command restores the default configuration.
By default, four SFP28 Ethernet optical ports on the device panel work at the rate of 25 Gbit/s, and two QSFP28 Ethernet optical ports work at the rate of 40 Gbit/s.
This command is supported only on the S5732-H24UM2CC and S5732-H48UM2CC.
set device port-config-mode port-config-mode enable { all | slot slot-id }
undo set device port-config-mode enable { all | slot slot-id }
Parameter | Description | Value |
---|---|---|
port-config-mode |
Specifies the working mode of ports on the device panel. |
The value is a character string:
|
all |
Indicates all slots. |
- |
slot slot-id |
Specifies a slot ID. |
The value must be set according to the device configuration. |
Usage Scenario
There are four SFP28 Ethernet optical ports and two QSFP28 Ethernet optical ports on the panel of S5732-H24UM2CC and S5732-H48UM2CC. You can run the set device port-config-mode enable command to change the working mode of SFP28 Ethernet optical ports on the device panel and change the working mode of QSFP28 Ethernet optical ports or split QSFP28 Ethernet optical ports. The device supports eight types of working mode switching modes or interface split modes:
Precautions
After the working mode of an interface is changed or an interface is split, the configuration on the original interface is lost. Therefore, exercise caution when performing this operation.
After running this command, you need to confirm the automatic restart of the device as prompted to make the configuration take effect. To prevent configuration loss, save the configuration in advance.
# Configure the two QSFP28 Ethernet optical ports on the device panel to work at the rate of 100 Gbit/s.
<HUAWEI> system-view [HUAWEI] set device port-config-mode 2*100GE enable all Warning: After the command is run, some ports may become unavailable or their configurations may be lost, and the device automatically restarts. Continue? [Y/N]:y Warning: Save the configuration before restart. Otherwise, configuration will be lost and the device will restart. Continue? [Y/N]:y