The port mode ge command configures a 25GE interface to work at the rate of 1 Gbit/s.
The undo port mode command restores the rate of a 25GE interface to 25 Gbit/s.
By default, when a 25GE medium is installed on a 25GE interface, the interface works at the rate of 25 Gbit/s; when an XGE medium is installed on a 25GE interface, the interface works at the rate of 10 Gbit/s; when a GE medium is installed on a 25GE interface, the interface cannot go Up.
The S5732-H24UM2CC, S5732-H48UM2CC, and S7Y08000 cards support this command.
This command is supported when the interface working mode of the S7X08000 card is set to 25GE using the set card port-config-mode 25g-port enable command.
Usage Scenario
A 25GE interface can work at the rate of 1 Gbit/s. You can configure the rate as required and replace the transmission medium.
For the S5732-H24UM2CC, S5732-H48UM2CC, and S7Y08000 cards, interfaces numbered 0 to 3 or 4 to 7 belong to the same interface group. When a 25GE interface is configured to work at the rate of 1 Gbit/s, all interfaces in the same interface group will be configured to work at the same rate.
Prerequisites
The interface has been installed or pre-configured with a medium.
Precautions
Configure the remote interface to work at the same rate as that of the local interface.
Ensure that all interfaces in the interface group in which the interface rate is to be changed are in Down status before running this command. If the status of an interface is Up, run the shutdown command on the interface and then change the interface rate.
For the S5732-H24UM2CC, S5732-H48UM2CC, and S7Y08000 cards, after the port mode ge command is run on an interface, if any of the four 25GE interfaces in an interface group is Up, the command configuration will not be cleared after the clear configuration this or clear configuration interface command is run. If all the four 25GE ports in an interface group are Down, the command configuration will be cleared after the clear configuration this or clear configuration interface command is run.
# Configure a 25GE interface to work at the rate of 1 Gbit/s.
<HUAWEI> system-view [HUAWEI] interface 25ge 0/0/1 [HUAWEI-25GE0/0/1] port mode ge Warning:The interface(s)(25GE0/1/1,25GE0/1/2) will be converted to GE mode.[Y/N]:y Info: This operation may take a few seconds. Please wait for a moment....done.