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.
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. |
Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, port group view
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.
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.
# 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