The display error-down recovery command displays information about the port in Error-Down state, including the interface name, cause of the Error-Down event, delay for the interface to change from Down to Up, and remaining time for the Up event.
An interface enters the error-down state after being shut down due to an error. Currently, errors include the auto-defend protection, threshold crossing event, remote failure event, MAC address flapping, link flapping, low optical power, error packets exceeding the alarm threshold, and BPDU protection.
Parameter |
Description |
Value |
---|---|---|
interface-type interface-number |
Displays the specified port in Error-Down state.
|
- |
Usage Scenario
The auto recovery function is configured and the delay for the an interface to change from Down to Up is set using the error-down auto-recovery command. If the interface is in the Error-Down state, you can run the display error-down recovery command to view the remaining time for the Up event.
Prerequisites
The auto recovery function has been configured on an interface using the error-down auto-recovery command.
Precautions
If interface is not specified in this command, the system displays information about all interfaces in error-down state.
# Display the delay for the interface to change from Down to Up and the remaining time for the Up event.
<HUAWEI> display error-down recovery
interface error-down cause recovery remainder time(sec) time(sec) ---------------------------------------------------------------------------- GigabitEthernet0/0/1 bpdu-protection 30 10
Item |
Description |
---|---|
interface |
Interface name. |
error-down cause |
Cause of the Error-Down event, including:
|
recovery time(sec) |
Delay for the interface to change from Down to Up, in seconds. If no automatic recovery time is configured, you need to run the shutdown and undo shutdown commands in the interface view. Alternatively, run the restart command in the interface view to make the interface go Up and the recovery time is displayed as --. |
remainder time(sec) |
Remaining time for the Up event, in seconds. If no automatic recovery time is configured, you need to run the shutdown and undo shutdown commands in the interface view. Alternatively, run the restart command in the interface view to make the interface go Up and the remaining time is displayed as --. |