< Home

set device port-config-mode enable

Function

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.

Format

set device port-config-mode port-config-mode enable { all | slot slot-id }

undo set device port-config-mode enable { all | slot slot-id }

Parameters

Parameter Description Value

port-config-mode

Specifies the working mode of ports on the device panel.

The value is a character string:

  • 4*25GE+2*40GE
  • 4*25GE+4*10GE+40GE
  • 4*25GE+40GE+4*10GE
  • 4*25GE+8*10GE
  • 2*100GE
  • 4*25GE+100GE
  • 100GE+4*25GE
  • 8*25GE

all

Indicates all slots.

-

slot slot-id

Specifies a slot ID.

The value must be set according to the device configuration.

Views

System view

Default Level

3: Management level

Usage Guidelines

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:

  • 4*25GE+2*40GE: Four SFP28 Ethernet optical ports work at the rate of 25 Gbit/s, and two QSFP28 Ethernet optical ports work at the rate of 40 Gbit/s.
  • 4*25GE+4*10GE+40GE: Four SFP28 Ethernet optical ports work at the rate of 25 Gbit/s, QSFP28 Ethernet optical port 1 is split into four 10GE ports, and QSFP28 Ethernet optical port 2 works at the rate of 40 Gbit/s.
  • 4*25GE+40GE+4*10GE: Four SFP28 Ethernet optical ports work at the rate of 25 Gbit/s, QSFP28 Ethernet optical port 1 works at the rate of 40 Gbit/s, and QSFP28 Ethernet optical port 2 is split into four 10GE ports.
  • 4*25GE+8*10GE: Four SFP28 Ethernet optical ports work at the rate of 25 Gbit/s, and each of two QSFP28 Ethernet optical ports is split into four 10GE ports.
  • 2*100GE: Four SFP28 Ethernet optical ports are unavailable, and two QSFP28 Ethernet optical ports work at the rate of 100 Gbit/s.
  • 4*25GE+100GE: Four SFP28 Ethernet optical ports are unavailable, QSFP28 Ethernet optical port 1 is split into four 25GE ports, and QSFP28 Ethernet optical port 2 works at the rate of 100 Gbit/s.
  • 100GE+4*25GE: Four SFP28 Ethernet optical ports are unavailable, QSFP28 Ethernet optical port 1 works at the rate of 100 Gbit/s, and QSFP28 Ethernet optical port 2 is split into four 25GE ports.
  • 8*25GE: Four SFP28 Ethernet optical ports are unavailable, and each of two QSFP28 Ethernet optical ports is split into four 25GE ports.

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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >