< Home

efm timeout

Function

The efm timeout command sets the timeout interval at which EFM OAMPDUs are received.

The undo efm timeout command restores the default timeout interval.

By default, the timeout interval at which EFM OAMPDUs are received is 5000 milliseconds.

Format

efm timeout timeout-value

undo efm timeout

Parameters

Parameter Description Value

timeout-value

Specifies the timeout interval at which an interface receives EFM OAMPDUs.

The value is an integer that ranges from 3000 to 30000, in milliseconds. The step is 1000 milliseconds. The default value is 5000 milliseconds.

Views

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

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By setting the timeout interval at which OAMPDUs are received, you can change the time required for connectivity fault detection.

Prerequisites

EFM OAM has been enabled globally but is not enabled on an interface.

Precautions

After the timeout interval expires, the EFM OAM protocol switches back to the discovery state. Ensure that interfaces on both ends of a link use the same timeout interval. Otherwise, EFM session negotiation may fail, or the EFM session may flap.

After EFM OAM is enabled on an interface, the timeout interval cannot be changed.

  • A shorter timeout interval indicates a shorter time required for connectivity fault detection.

  • A longer timeout interval indicates a longer time required for connectivity fault detection.

Example

# Set the timeout interval at which EFM OAMPDUs are received on Layer 2 interface GigabitEthernet0/0/1 to 3000 ms.

<HUAWEI> system-view
[HUAWEI] efm enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] efm timeout 3000

# Set the timeout interval at which EFM OAMPDUs are received on Layer 3 interface GigabitEthernet0/0/1 to 3000 ms.

<HUAWEI> system-view
[HUAWEI] efm enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] efm timeout 3000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >