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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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).
Adjusting BFD Parameters

Adjusting BFD Parameters

You can adjust BFD time parameters as needed.

Pre-configuration Tasks

Before adjusting BFD parameters, complete the following task:

  • Creating a BFD session

Adjusting the BFD Detection Time

Context

When you set up a BFD session, you can adjust the minimum interval for sending BFD packets, minimum interval for receiving BFD packets, and local detection multiplier based on the network situation and performance requirements.

To reduce usage of system resources, when a BFD session is detected in Down state, the system adjusts the minimum interval for receiving BFD packets and the minimum interval for sending BFD packets to random values greater than 1000 ms. When the BFD session becomes Up, the configured intervals are restored.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    bfd session-name

    The BFD session view is displayed.

  3. Run:

    min-tx-interval interval

    The minimum interval for sending BFD packets is set.

    By default, the minimum interval for sending BFD packets is 1000 ms.

  4. Run:

    min-rx-interval interval

    The minimum interval for receiving BFD packets is set.

    By default, the minimum interval for receiving BFD packets is 1000 ms.

  5. Run:

    detect-multiplier multiplier

    The local detection multiplier is set.

    By default, the local detection multiplier is 3.

    NOTE:

    It is recommended that the detection interval be set not smaller than 50 ms x 5 or 100 ms x 3.

  6. Run:

    commit

    The configuration is committed.

Setting the WTR Time of a BFD Session

Context

If a BFD session flaps, an active/standby switchover is frequently performed on the application associated with the BFD session. To prevent the problem, set the WTR time of the BFD session. When the BFD session changes from Down to Up, BFD reports the change to the upper layer application only after the WTR timer times out.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    bfd session-name

    The BFD session view is displayed.

  3. Run:

    wtr wtr-value

    The WTR time is set.

    By default, the WTR time is 0, indicating that the status change of a BFD session is reported immediately.

    NOTE:

    If the WTR time is set, set the same WTR time at both ends. Otherwise, when the BFD session status changes at one end, applications at both ends detect different BFD session statuses.

  4. Run:

    commit

    The configuration is committed.

Configuring the Description for a BFD Session

Context

To differentiate BFD sessions, configure the description for BFD sessions.

NOTE:

The description (BFD session view) command is valid for only static BFD sessions, and is invalid for dynamic BFD sessions and BFD sessions with automatically negotiated parameters.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    bfd session-name

    The BFD session view is displayed.

  3. Run:

    description description

    The description of the BFD session is configured.

    By default, the description of a BFD session is empty.

  4. Run:

    commit

    The configuration is committed.

Setting the Delay Before a BFD Session Becomes Up

Context

In practice, some devices determine whether to switch traffic based on the BFD session status. Because the routing protocol becomes Up after the interface becomes Up, routes may be not found when services are switched back, causing traffic loss. Therefore, the interval between the time when the routing protocol becomes Up and the time when the interface becomes Up must be eliminated.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    bfd

    Global BFD is enabled and the BFD view is displayed.

  3. Run:

    delay-up time

    A delay before a BFD session is set.

    By default, the delay before a BFD session becomes Up is 0.

  4. Run:

    commit

    The configuration is committed.

Setting the Priority of BFD Packets

You can change the priority of BFD packets to:

  • Detect whether packets with different priorities on a link can be forwarded.

  • Ensure that BFD packets with a higher priority are forwarded first.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    bfd session-name

    The BFD session view is displayed.

  3. Run:

    tos-exp tos-value

    The priority of BFD packets is set.

    By default, the priority of BFD packets is 7, representing the highest priority. The value 0 is the lowest priority.

    The tos-exp dynamiccommand can be used to set a priority value for a dynamic BFD session.

  4. Run:

    commit

    The configuration is committed.

Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 59786

Downloads: 3623

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