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

Command Reference

S7700 and S9700 V200R011C10

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
Interface Management Compatible Commands

Interface Management Compatible Commands

Ethernet Interface Compatible Commands

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.

NOTE:

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

error-shutdown auto-recovery interval (upgrade-compatible command)

Function

The error-shutdown auto-recovery interval command sets the auto recovery delay.

NOTE:

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

Format

error-shutdown auto-recovery interval interval-value

Parameters

Parameter

Description

Value

interval interval-value

Specifies the auto recovery delay.

The value is an integer that ranges from 30 to 86400, in seconds.
  • A smaller value indicates a higher frequency at which an interface alternates between Up and Down states.
  • A larger value indicates longer traffic interruption.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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-shutdown auto-recovery interval command to set an auto recovery delay. After the delay, the interface goes Up automatically.

Example

# Set the auto recovery delay to 50s.

<HUAWEI> system-view
[HUAWEI] error-shutdown auto-recovery interval 50

port-down holdoff-timer (upgrade-compatible command)

Function

Using the port-down holdoff-timer command, you can set the delay in reporting a port status change event.

Format

port-down holdoff-timer interval

Parameters

Parameter

Description

Value

interval

Specifies the delay timer.

The value is an integer. The value can be 0 or in the range of 50 to 50000, in milliseconds.

Views

Ethernet interface view, GE interface view, XGE interface view, 40GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the cable connected to an interface is faulty, the interface status may change frequently. When this occurs, the system frequently updates the matching entries. If link backup is configured on the interface, active/standby switchovers occur frequently. To prevent frequent status change, you can use the port-down holdoff-timer command to set the delay in reporting a port status change event.

If an interface is connected to a wavelength division multiplexing device, the interface becomes Down when a protective switchover occurs on the wavelength division multiplexing device, and services are interrupted. To prevent service interruption, you can set the delay in reporting a port Down event.

Configuration Impact

If you run the port-down holdoff-timer command multiple times in the same interface view, only the latest configuration takes effect.

It is replaced by the carrier { up-hold-time | down-hold-time } interval command.

Example

# Set the delay in reporting a port status change event to 1000 milliseconds on GigabitEthernet1/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet1/0/1
[HUAWEI-GigabitEthernet1/0/1] port-down holdoff-timer 1000

snmp-agent trap enable interface-name-change (upgrade-compatible command)

Function

Using the snmp-agent trap enable interface-name-change command, you can enable the trap function of interface-name-change.

By default, no trap messages are sent to a device.

Format

snmp-agent trap enable interface-name-change

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

After running the snmp-agent trap enable interface-name-change command, you can view trap messages of system on a device.

Example

None

snmp-agent trap enable port (upgrade-compatible command)

Function

The snmp-agent trap enable port command enables the system to generate an alarm when the inbound or outbound bandwidth usage on all Ethernet sub-interfaces exceeds the threshold.

Format

snmp-agent trap enable port { input-rate | output-rate }

Parameters

Parameter Description Value
input-rate Enables the system to generate an alarm when the inbound bandwidth usage on all Ethernet sub-interfaces exceeds the threshold. -
output-rate Enable the system to generate an alarm when the outbound bandwidth usage on all Ethernet sub-interfaces exceeds the threshold. -

Views

System review

Default Level

3: Management level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

If the threshold for the inbound or outbound bandwidth usage has been configured on an Ethernet sub-interface, you can enable the system to generate an alarm when the threshold is exceeded. This allows you to determine whether the device is functioning normally.

After the configuration is complete, the system generates an alarm when the bandwidth usage exceeds or falls below the threshold.

Example

None

Translation
Download
Updated: 2019-10-18

Document ID: EDOC1000178288

Views: 26603

Downloads: 109

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