< Home

Configuring PIM BFD

Pre-configuration Tasks

Before configuring PIM BFD, complete the following tasks:

  • Configuring a unicast routing protocol to ensure normal unicast routing on the network
  • Enabling BFD globally using the bfd command
  • Enabling PIM-SM

Context

On a PIM network, changes of link status between PIM neighbors will restart some PIM mechanisms, such as DR election or Assert winner election. For example, when the designated router (DR) on a shared network segment fails, PIM neighbors on the network segment trigger DR re-election only when the PIM neighbor relationships time out. Multicast data transmission is interrupted before a new DR is elected. The multicast service interruption time is longer than or equal to the neighbor relationship timeout interval, and is usually several seconds.

PIM Bidirectional Forwarding Detection (BFD) can detect link status changes on a shared network segment in milliseconds, enabling PIM devices to rapidly respond to failures of PIM neighbors. If a PIM BFD-capable interface does not receive any BFD packets from the DR within the detection interval, it considers that the DR has failed. Then BFD rapidly reports the session status to the route management (RM) module, which then reports the link status change to the PIM module. After receiving the notification, the PIM module triggers DR re-election immediately, without waiting for timeout of the neighbor relationship. This mechanism reduces the multicast service interruption time and improves reliability of multicast data transmission.

PIM BFD is applicable to the assert election on the shared network segment. In addition, it quickly responds to faults on the assert winner interface.

Default Settings

Table 1 lists the default settings of control parameters for PIM BFD messages.

Table 1 Default settings of control parameters for PIM BFD messages

Parameter

Default Setting

Minimum sending interval

1000 ms

Minimum receiving interval

1000 ms

Local detection multiplier

3

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. (Optional) On an Ethernet interface, run undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

    Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

  4. Run pim bfd enable

    PIM BFD is enabled.

  5. (Optional) Run pim bfd { min-tx-interval tx-value | min-rx-interval rx-value | detect-multiplier multiplier-value } *

    The parameters of PIM BFD are set.

    This operation is performed to set the minimum interval for sending the PIM BFD messages, the minimum interval for receiving the PIM BFD messages, and the local detection multiplier.

Verifying the Configuration

After PIM BFD is configured, you can run the following commands to check information about the PIM BFD session.

  • display pim [ vpn-instance vpn-instance-name | all-instance ] bfd session statistics

  • display pim [ vpn-instance vpn-instance-name | all-instance ] bfd session [ interface interface-type interface-number | neighbor neighbor-address ] *

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