< Home

error-shutdown auto-recovery cause efm-threshold-event (upgrade-compatible command)

Function

The error-shutdown auto-recovery cause efm-threshold-event command enables an interface in error-shutdown state to go Up.

An interface enters the error-shutdown state after being shut down due to an error.

Format

error-shutdown auto-recovery cause efm-threshold-event

Parameters

Parameter

Description

Value

cause

Indicates the cause for an interface in error-down state.

-

efm-threshold-event

Indicates that a threshold crossing event occurs.

-

Views

System 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. You can associate an EFM crossing event with an interface. Then the system sets the administrative status of the interface to Down. In this manner, all services on the interface are interrupted.

By default, an interface can only be resumed by a network administrator after being shut down. To configure the interface to restore to the Up state automatically, run the error-down auto-recovery command to set an auto recovery.

Example

# Set the auto recovery after an EFM threshold crossing event is associated with an interface.

<HUAWEI> system-view
[HUAWEI] error-shutdown auto-recovery cause efm-threshold-event
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >