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

Configuration Guide - IP Routing 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - IP Routing
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 BFD for BGP

Configuring BFD for BGP

BFD for BGP speeds up fault detection and therefore increases the route convergence speed.

Usage Scenario

Currently, voice and video services are widely applied. These services are quite sensitive to the packet loss and delay.BGP periodically sends Keepalive packets to its peers to detect the status of its peers. The detection mechanism, however, takes more than one second. When the data transmission rate reaches the level of Gbit/s, such slow detection will cause a large amount of data to be lost. As a result, the requirement for high reliability of carrier-class networks cannot be met.

BFD for BGP can be used to reduce packet loss and delay. BFD for BGP detects faults on links between BGP peers within milliseconds. The fast detection speed ensures fast BGP route convergence and minimizes traffic loss.

Pre-configuration Tasks

Before configuring BFD for BGP, complete the following task:

  • Configuring parameters of the link layer protocol and IP addresses for interfaces to ensure that the link layer protocol on the interfaces is Up

  • Configuring Basic BGP Functions

Data Preparation

To configure BFD for BGP, you need the following data.

No.

Data

1

IP address of the BGP peer or name of the peer group for which BFD needs to be configured

2

BFD parameters, including the minimum and maximum intervals for receiving BFD packets, Wait-to-Restore (WTR) time of a BFD session, and the detection multiplier

3

Name of the VPN instance for which BFD needs to be configured

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bfd

    BFD is enabled globally.

  3. Run quit

    Return to the system view.

  4. Run bgp as-number

    The BGP view is displayed.

  5. (Optional) Run ipv4-family vpn-instance vpn-instance-name

    The BGP-VPN instance IPv4 address family view is displayed.

    NOTE:

    BFD for BGP can be configured for the VPN in this view. To configure BFD for BGP for the public network, skip this step.

  6. Run peer { group-name | ipv4-address } bfd enable [ single-hop-prefer ] [ compatible ]

    BFD is enabled for the peer or peer group and a BFD session is established using default parameters.

    After BFD is enabled for a peer group, BFD sessions will be created on the peers that belong to this peer group and are not configured with the peer bfd block command.

  7. (Optional) Run peer { group-name | ipv4-address } bfd { min-tx-interval min-tx-interval | min-rx-interval min-rx-interval | detect-multiplier multiplier } *

    BFD session parameters are modified.

    NOTE:

    The BFD parameters of peers take precedence over those of peer groups. If BFD parameters are configured on peers, they will be used in BFD session establishment.

    The default interval for transmitting BFD packets and the default detection multiplier are recommended. When changing the default values, pay attention to the network status and the network reliability requirement. A short interval for transmitting BFD packets can be configured for a link that has a higher reliability requirement. A long interval for transmitting BFD packets can be configured for a link that has a lower reliability requirement.

    NOTE:

    There are three formulas: Actual interval for the local device to send BFD packets = max {Locally configured interval for transmitting BFD packets, Remotely configured interval for receiving BFD packets}, Actual interval for the local device to receive BFD packets = max {Remotely configured interval for transmitting BFD packets, Locally configured interval for receiving BFD packets}, and Local detection period = Actual interval for receiving BFD packets x Remotely configured BFD detection multiplier.

    For example:

    • On the local device, the configured interval for transmitting BFD packets is 200 ms, the interval for receiving BFD packets is 300 ms, and the detection multiplier is 4.

    • On the peer device, the configured interval for transmitting BFD packets is 100 ms, the interval for receiving BFD packets is 600 ms, and the detection multiplier is 5.

    Then:

    • On the local device, the actual interval for transmitting BFD packets is 600 ms calculated by using the formula max {200 ms, 600 ms}; the interval for receiving BFD packets is 300 ms calculated by using the formula max {100 ms, 300 ms}; the detection period is 1500 ms calculated by multiplying 300 ms by 5.

    • On the peer device, the actual interval for transmitting BFD packets is 300 ms calculated by using the formula max {100 ms, 300 ms}; the interval for receiving BFD packets is 600 ms calculated by using the formula max {200 ms, 600 ms}; the detection period is 2400 ms calculated by multiplying 600 ms by 4.

  8. (Optional) Run peer ipv4-address bfd block

    A peer is prevented from inheriting the BFD function of the peer group to which it belongs.

    If a peer joins a peer group enabled with BFD, the peer inherits the BFD configuration of the group and creates a BFD session. To prevent the peer from inheriting the BFD function of the peer group, perform this step.

    NOTE:

    The peer bfd block command and the peer bfd enable command are mutually exclusive. After the peer bfd block command is run, the BFD session is automatically deleted.

  9. Run commit

    The configuration is committed.

Checking the Configurations

After configuring BFD for BGP, you can run the following command to check the configurations.

  • Run the display bgp bfd session { [ vpnv4 vpn-instance vpn-instance-name ] peer ipv4-address | all } command to check information about the BFD session between BGP peers.

# View information about the BFD session between BGP peers.

<HUAWEI> display bgp bfd session peer 10.1.1.2
  Local_Address      Peer_Address       LD/RD       Interface
  10.1.1.1           10.1.1.2           8192/8192   GigabitEthernet0/1/2
  Tx-interval(ms)    Rx-interval(ms)    Multiplier  Session-State
  100                100                3           Up
  Wtr-interval(m)
  0
Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058916

Views: 35549

Downloads: 53

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