< Home

set card port-config-mode 25g-port enable

Function

The set card port-config-mode 25g-port enable command sets the card interface working mode to 25GE.

The undo set card port-config-mode 25g-port enable command restores the default card interface working mode.

By default, the card interface working mode is 10GE.

Only the following switch models support this command and the command takes effect only on the S7X08000 card:

  • S5731-H24T4XC, S5731-H24P4XC, S5731-H48T4XC, and S5731-H48P4XC
  • S5731S-H24T4XC-A and S5731S-H48T4XC-A
  • S5732-H24UM2CC and S5732-H48UM2CC

Format

set card port-config-mode 25g-port enable slot slot-id

undo set card port-config-mode 25g-port enable slot slot-id

Parameters

Parameter

Description

Value

slot slot-id

Configures the interface working mode for the card in a specified slot.

The value must be set according to the device configuration.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, the card interface working mode is 10GE, and the number of interfaces is 8*10GE. To use 25GE interfaces, run the set card port-config-mode 25g-port enable command. In this case, the number of interfaces on the card is 2*25GE, and the last six interfaces are unavailable.

Precautions

  • After running this command, you need to confirm the automatic reset of cards as prompted to make the configuration take effect.
  • After the interface working mode is changed, replace the connection medium.
  • When the interface working mode of a card is being changed, the card cannot be removed and then reinstalled.
  • After you run the reset factory-configuration command to restore factory settings and restart the device, the card interface working mode is restored to 10GE.
  • If there are stack ports on a card, changing the card interface working mode may cause a stack split after the card is reset.

Example

# Configure the card interface working mode to 25GE.

<HUAWEI> system-view
[HUAWEI] set card port-config-mode 25g-port enable slot 1 
Warning: Only the first two ports will be available after the subcard is automatically initialized. Continue? [Y/N]:y               
Warning: The subcard needs to be reset for the new port mode to take effect. Ensure that subcard is properly installed during re-ini
tialization. Otherwise, port mode switching fails. Continue? [Y/N]:y                                                                
Info: The system is executing the command. Please wait.....................................    
Info: The port mode is changed successfully.     
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >