No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Interface Management

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides the basic concepts, configuration procedures, and configuration examples of the interfaces supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring an Interface to Transit to the Error-Down State When the Number of Received Error Packets Exceeds the Threshold

Configuring an Interface to Transit to the Error-Down State When the Number of Received Error Packets Exceeds the Threshold

Context

When an Ethernet interface receives excessive error packets, faults such as packet loss occur. As the interface is still Up, services cannot be immediately switched to the standby link even if the standby link is configured for the interface. To ensure normal service running, you can configure the interface to transit to the Error-Down state when the number of received error packets exceeds the threshold. When the threshold is exceeded, the system disables the interface and records its status as ERROR DOWN(error-statistics). In this way, services can be switched to the standby link in real time.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run trap-threshold error-statistics threshold-value interval interval-value

    The alarm threshold of error packets and the alarm interval are configured.

    By default, the alarm threshold of error packets is 3 and the alarm interval is 10 seconds.

  4. Run error-statistics threshold-event trigger error-down

    The interface is configured to transit to the Error-Down state when the number of received error packets exceeds the threshold.

    By default, an interface does not transit to the Error-Down state when the number of received error packets exceeds the threshold.

Verifying the Configuration

Run the display error-down recovery [ interface interface-type interface-number ] command in any view to check information about the interfaces in Error-Down state.

Follow-up Procedure

The interface can be recovered from the Error-Down state in either of the following ways:
  • Manual recovery: When there are a few interfaces in Error-Down state and the interfaces must be forcibly enabled, you can run the shutdown and undo shutdown commands in the interface view, or run the restart command to restart the interface.
  • Automatic recovery: When there are many interfaces in Error-Down state, one-by-one configuration on each interface may result in errors and a large amount of duplicated workload. To configure the interface to restore to the Up state automatically, run the error-down auto-recovery cause error-statistics interval interval-value command in the system view to set a recovery delay. After the delay, the interface goes Up automatically.
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069331

Views: 21163

Downloads: 95

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next