< Home

single-fiber enable

Function

The single-fiber enable command enables the single-fiber communication function on an optical interface.

The undo single-fiber enable command disables the single-fiber communication function on an optical interface.

By default, the single-fiber communication function is disabled on an optical interface.

Format

single-fiber enable

undo single-fiber enable

Parameters

None

Views

XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

During network management and maintenance, the administrator may need to send traffic from users to a specified server for analysis and processing. If a server can receive and send packets, there is a possibility that the server forwards user traffic to other devices, causing a security risk. The unidirectional single-fiber communication function can address this issue. A single fiber means that two optical modules are connected by only one fiber, and unidirectional communication means that packets can be sent in only one direction. With this function, a switch can only send but cannot receive packets, and an analysis server can only receive but cannot send packets. Data security on the analysis server is ensured.

Precautions

S5720-HI does not support unidirectional single-fiber communication.

The remote interface also works in non-auto negotiation mode and the rate of the peer interface is the same as the rate of the local interface.

The single-fiber enable command and Configuring Internal Loopback Detection and MAC SWAP loopback test cannot be configured on the same interface.

An XGE optical interface supports the single-fiber enable command only when it has no optical module installed or has an XGE optical module installed, and no license is required. Particularly, XGE optical interfaces on the S5720-EI, S6720-EI, and S6720S-EI also support the single-fiber enable command after GE optical modules are installed, and no license is required.

A 25GE optical interface supports the single-fiber enable command only when it has no optical module installed or has a GE/XGE/25GE optical module installed.

A 40GE optical interface supports the single-fiber enable command only when it has no optical module installed or has a 40GE optical module installed.

A 100GE optical interface supports the single-fiber enable command only when it has no optical module installed or has a 40GE/100GE optical module installed.

On an interface with the single-fiber enable command configured, the command is deleted by the system in the following situations:
  • The XGE interface is connected to a cable or has a GE optical module installed.
  • The 25GE interface is connected to a cable.
  • The 40GE interface is connected to a cable.
  • The 40GE interface is connected to a cable.

Example

# Enable XGigabitEthernet0/0/1 to send packets through a single fiber.
<HUAWEI> system-view
[HUAWEI] interface XGigabitEthernet 0/0/1
[HUAWEI-XGigabitEthernet0/0/1] single-fiber enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >