< Home

efm holdup-timer

Function

The efm holdup-timer command sets the value of the EFM faulty-state holdup timer on an interface.

The undo efm holdup-timer command restores the default value interval of the EFM faulty-state holdup timer on an interface.

By default, the value of the EFM faulty-state holdup timer is 0s.

Format

efm holdup-timer time

undo efm holdup-timer

Parameters

Parameter Description Value

time

Specifies the value of the EFM faulty-state holdup timer on an interface.

The value is an integer that ranges from 0 to 50, in seconds. The default value is 0.

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

After the efm trigger if-down command is used to associate EFM with an interface, run the efm holdup-timer command to set the value of the EFM faulty-state holdup timer for connectivity faults detected by EFM. The faulty state remains unchanged within the value of the holdup timer. EFM does not detect whether the connectivity fault is cleared until the faulty-state holdup timer expires.

After the failed link recovers, EFM works as follows:
  • If time is not specified, EFM immediately changes the link status to Up.
  • If time is specified, EFM changes the link status to Up only after the time specified by time expires. This prevents the link from frequently alternating between Up and Down.

Prerequisites

EFM has been enabled globally and on interfaces using the efm enable command.

It is recommended that you run the efm trigger if-down command to associate EFM with an interface before running the efm holdup-timer command to set the value of EFM faulty-state holdup timer on the interface. Otherwise, the holdup timer does not take effect.

Example

# Set the value of EFM faulty-state holdup timer on GigabitEthernet0/0/1 to 10s.

<HUAWEI> system-view
[HUAWEI] efm enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] efm enable
[HUAWEI-GigabitEthernet0/0/1] efm trigger if-down
[HUAWEI-GigabitEthernet0/0/1] efm holdup-timer 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >