Configuring Static BFD for RIP

BFD provides link failure detection featuring light load and high speed. Static BFD for RIP is a mode to implement the BFD function.

Context

Establishing BFD sessions between RIP neighbors can rapidly detect faults on links and speed up response to network topology changes. You can configure static BFD on devices that require timely response to faults to implement basic BFD functions.

Static BFD must be enabled and session parameters must be set to implement static BFD for RIP.

Pre-configuration Tasks

Before configuring static BFD for RIP, complete the following tasks:

Data Preparation

To complete the configuration, you need the following data:

No.

Data

1

ID of a RIP process

2

Type and number of the interface to be enabled with BFD

Procedure

  1. Enable BFD globally.
    1. Run system-view

      The system view is displayed.

    2. Run bfd

      BFD is enabled globally.

    3. Run quit

      Return to the system view.

  2. Configure static BFD for RIP.
    1. Run bfd session-name bind peer-ip peer-ip [ interface interface-type interface-number ] [ source-ip source-ip ]

      BFD is bound to the interface.

      If both a peer IP address and a local interface are specified, BFD detects only a single-hop link (the route with the local interface as the outbound interface and with the peer IP address as the next hop address).

    2. Set discriminators.

      • Run discriminator local discr-value

        The local discriminator is set.

      • Run discriminator remote discr-value

        The remote discriminator is set.

      The local discriminator must be the remote discriminator of the device on the other end; otherwise, a BFD session cannot be established.

      local discr-value set on the local device must be the same as remote discr-value set on the remote device. remote discr-value set on the local device must be the same as local discr-value set on the remote device.

    3. Run quit

      Return to the system view.

  3. Enable static BFD on an interface.
    1. Run interface interface-type interface-number

      The view of the specified interface is displayed.

    2. Run rip bfd static

      Static BFD is enabled on the interface.

  4. Run commit

    The configuration is committed.

Checking the Configurations

After configuring static BFD for RIP, run the display rip process-id interface [ interface-type interface-number ] verbose command to check BFD for RIP configurations on the specified interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >