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

NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access
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 Port Parameters

Configuring Port Parameters

Port parameters that may affect Multiple Spanning Tree Protocol (MSTP) topology convergence include the link type and maximum number of sent Bridge Protocol Data Units (BPDUs). Configure proper port parameters to implement rapid topology convergence.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the Ethernet interface participating in STP calculation is displayed.

    NOTE:
    The following configurations can be configured both on a Layer 2 interface and a Layer 3 interface.

  3. (Optional) Run stp point-to-point { auto | force-false | force-true }

    The link type is configured for a port.

    • If the Ethernet port works in full-duplex mode, the port is connected to a P2P link. In this case, force-true can be configured to implement rapid network convergence.

    • If the Ethernet port works in half-duplex mode, you can configure stp point-to-point force-true to forcibly set the link type to P2P to implement rapid network convergence.

  4. Run stp mcheck

    MCheck is enabled.

    On a switching device running MSTP, if an interface is connected to a device running STP, the interface automatically transitions to the STP mode.

    Enabling MCheck on the interface is required because the interface may fail to automatically transition to the MSTP mode in the following situations:

    • The switching device running STP is shut down or moved.

    • The switching device running STP transitions to the MSTP mode.

  5. Run stp transmit-limit packet-number

    The maximum number of BPDUs that an interface sends per second is set.

    NOTE:

    If the same maximum number of BPDUs need to be sent by each interface on a device, run the stp transmit-limit (system view) command. The stp transmit-limit (interface view) command takes precedence over the stp transmit-limit (system view) command. If the stp transmit-limit (interface view) command is run on an interface, the stp transmit-limit (system view) command does not take effect on the interface.

  6. (Optional) Run stp edged-port enable

    The port is configured as an edge port.

    If a device port is connected to a terminal, you can run this command to configure the port as an edge port.

    If the current port has been configured as an edge port, the port is still be able to send BPDUs. This may cause BPDUs to be sent to other networks, leading to network flapping. To prevent this problem, run the stp bpdu-filter command to configure the edge port as a BPDU filter port and disable the port from processing or sending BPDUs.

    NOTE:

    After the stp bpdu-filter command is run on a port, the port no longer processes or sends BPDUs. The port will not negotiate with the directly-connected port to establish an STP connection. Therefore, exercise caution when running this command.

  7. Run quit

    Return to the system view.

  8. (Optional) Run error-down auto-recovery cause { bpdu-protection | l2-loop-occured } interval interval-value

    The auto recovery function on an edge port is configured. This function enables a port in the error-down state to automatically go Up after the specified delay.

    There is no default value for the recovery time. Therefore, you must specify a delay when using this command.

  9. Run commit

    The configuration is committed.

Follow-up Procedure

When the topology of a spanning tree changes, the forwarding paths to associated VLANs are changed. The ARP entries corresponding to those VLANs on the switching device need to be updated. STP/RSTP processes ARP entries in either fast or normal mode.

  • In fast mode, ARP entries to be updated are directly deleted.

  • In normal mode, ARP entries to be updated are rapidly aged.

    The remaining lifetime of ARP entries to be updated is set to 0. The switching device rapidly processes these aged entries. If the number of ARP aging probe attempts is not set to 0, ARP implements aging probe for these ARP entries.

    In either fast or normal mode, MAC entries are directly deleted.

You can run the stp converge { fast | normal } command in the system view to configure the STP/RSTP convergence mode.

Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055378

Views: 16947

Downloads: 35

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