efm timeout

Function

The efm timeout command sets a timeout period for waiting for EFM OAM PDUs.

The undo efm timeout command restores the default setting.

By default, the timeout period for waiting for EFM OAM PDUs is 5000 milliseconds.

Format

efm timeout timeout-value

undo efm timeout

Parameters

Parameter Description Value
timeout-value

Specifies a timeout period for waiting for OAM PDUs.

The value is an integer ranging from 300 to 30000, in milliseconds. The step is 100 milliseconds.

Views

Layer 2 100GE interface view, 100GE interface view, Layer 2 10GE interface view, 10GE interface view, 25GE-L2 view, 25GE interface view, 400GE-L2 view, 400GE interface view, Layer 2 40GE interface view, 40GE interface view, Layer 2 50GE interface view, 50GE interface view, FlexE interface view, Layer 2 GE interface view, GE optical interface view, GE interface view, GE electrical interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
efm write

Usage Guidelines

Usage Scenario

By setting a timeout period for waiting for EFM OAM PDUs, you can change the time required for connectivity fault detection. The timeout period specified by the efm timeout command is usually used together with the interval at which OAM PDUs are sent. The timeout period set for the local interface must be three times the interval at which the remote interface sends OAM PDUs or even longer.

Prerequisites

EFM OAM has been globally enabled using the efm enable command in the system view.

Configuration Impact

  • The shorter the timeout period for waiting for EFM OAM PDUs, the shorter the time required for connectivity fault detection.
  • The longer the timeout period for waiting for EFM OAM PDUs, the longer the time required for connectivity fault detection.

Precautions

After the timeout period for waiting for EFM OAM PDUs expires, the EFM session state returns to discovery. When setting a timeout period for waiting for EFM OAM PDUs, ensure that the same timeout period is set for interfaces on both ends of a link. Otherwise, EFM session negotiation may fail, or the EFM session may flap.

The configured timeout period for waiting for EFM OAM PDUs must be greater than the interval at which EFM OAM PDUs are sent. Otherwise, EFM session negotiation may fail, or the EFM session may flap.

Example

# Set a timeout period for waiting for EFM OAM PDUs to 3000 milliseconds on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] efm enable
[*HUAWEI] interface GigabitEthernet0/1/0
[*HUAWEI-GigabitEthernet0/1/0] efm timeout 3000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >