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

Fat AP and Cloud AP V200R010C00 Command Reference

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).
stp transmit-limit (system view)

stp transmit-limit (system view)

Function

The stp transmit-limit command configures the maximum number of Bridge Protocol Data Units (BPDUs) that each interface of the local device can send per second.

The undo stp transmit-limit command restores the maximum number of BPDUs, which can be sent by each interface of the local device per second, to the default value.

By default, each interface can send a maximum of 6 BPDUs per second.

Format

stp transmit-limit packet-number

undo stp transmit-limit

Parameters

Parameter Description Value
packet-number Maximum number of BPDUs that each interface of the local device can send per second The value is an integer ranging from 1 to 255.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a network running the Spanning Tree Protocol (STP), a switch sends BPDUs to other devices in the same spanning tree at the interval of the Hello time, to maintain the spanning tree stability. If a number of BPDUs are sent every second, system and bandwidth resources will be greatly consumed.

You can configure the Hello time by using the stp timer hello command. The Hello time is the length of the Hello timer and specifies the interval at which the switch sends BPDUs.

To prevent excessive usage of system and bandwidth resources, you can run the stp transmit-limit command to configure the maximum number of BPDUs that each interface of the local device can send per second. This configuration controls the BPDU sending rate and prevents the Multiple Spanning Tree Protocol (MSTP) from consuming too many system and bandwidth resources when topology flapping occurs.

Precautions

After the stp transmit-limit command is executed, packet-number controls the maximum number of BPDUs that each interface can send per second.

You can also configure the maximum number of BPDUs that a specific interface can send per second by running the stp transmit-limit (interface view) command in the view of this interface. The stp transmit-limit (interface view) command configuration in the interface view takes precedence over the stp transmit-limit command configuration in the system view. That is, if the stp transmit-limit (interface view) command is configured in the view of an interface, the stp transmit-limit command configuration in the system view does not take effect for this interface.

Example

# Configure the maximum number of BPDUs that each interface of the local device can send per second to 5.
<Huawei> system-view
[Huawei] stp transmit-limit 5
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 212539

Downloads: 122

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