< Home

efm threshold-event trigger error-down

Function

The efm threshold-event trigger error-down command associates an EFM threshold crossing event with an interface.

The undo efm threshold-event trigger error-down command disassociates an EFM threshold crossing event from an interface.

By default, a threshold crossing event is not associated with an interface.

Format

efm threshold-event trigger error-down

undo efm threshold-event trigger error-down

Parameters

None

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

When link monitoring is configured for an interface on a link, the link is considered unavailable, if the number of errored frames, errored codes, or errored frame seconds detected by the interface reaches or exceeds the threshold within a period. In this case, you can run the efm threshold-event trigger error-down command to associate a threshold crossing event with an interface so that the system sets the administrative state of the interface to Down. As a result, all services on the interface are interrupted.

Prerequisites

EFM has been enabled on an interface using the efm enable command.

Follow-up Procedure

Configure the interface to go administratively Up by using either of the following methods:
  • Run the error-down auto-recovery command to set the auto-recovery delay before an interface goes administratively Up.

  • Run the shutdown command and then the undo shutdown command to restore the administrative state of the interface to Up.

Example

# Associate a threshold crossing event with Layer 2 interface GigabitEthernet0/0/1.

<HUAWEI> system-view
[HUAWEI] efm enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] efm enable
[HUAWEI-GigabitEthernet0/0/1] efm threshold-event trigger error-down

# Associate a threshold crossing event with Layer 3 interface GigabitEthernet0/0/1.

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