force-physical-mode ethernet

Function

The force-physical-mode ethernet command enables forcible FlexE-to-Ethernet mode switchover for a physical interface in FlexE mode.

The undo force-physical-mode command restores the default working mode (FlexE) for a physical interface in FlexE mode.

This command is supported only on the NetEngine 8000 F2A.

Format

force-physical-mode ethernet

undo force-physical-mode [ ethernet ]

Parameters

None

Views

FlexE-100G interface view, FlexE-400G interface view, FlexE-50G interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
interface-mgr write

Usage Guidelines

Usage Scenario

If the local interface works in FlexE mode and the connected interface works in Ethernet mode, DCN communication between the two interfaces fails, causing downstream devices to fail to be managed by the NMS. To address this problem, run the force-physical-mode Ethernet command to enable forcible FlexE-to-Ethernet mode switchover for the local interface.

Follow-up Procedure

After running this command to forcibly switch the working mode of an interface to Ethernet, the working mode is switched back to FlexE 20 minutes later if no other operations are performed. You can perform the following operations as required:

  • Run the phyautoclear forcephysicalmode enable command to change the working time of the Ethernet mode. After the time elapses, the working mode automatically switches back to FlexE.
  • If the interface needs to stay in Ethernet mode, run the phyautoclear forcephysicalmode disable command to disable the switchback from Ethernet mode to FlexE mode.

Precautions

After the command is run, the interface works in Ethernet mode temporarily, but the interface type is still FlexE.

Example

# Enable forcible FlexE-to-Ethernet mode switchover for a physical interface in FlexE mode.
<HUAWEI> system-view
[~HUAWEI] interface FlexE-50G 0/1/52
[~HUAWEI-FlexE-50G0/1/52] force-physical-mode ethernet
Warning: This operation may cause services on the port to be interrupted. Are you sure you want to continue? [Y/N]:Y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >