pim bfd

Function

The pim bfd command enables BFD for IPv4 PIM on an interface and adjusts PIM BFD parameters on the interface.

The undo pim bfd command disables BFD for IPv4 PIM on an interface and restores the default PIM BFD parameter settings on the interface.

By default, BFD for IPv4 PIM is not enabled on an interface.

Format

pim bfd enable

pim bfd { min-tx-interval tx-value | min-rx-interval rx-value | detect-multiplier multiplier-value } *

undo pim bfd enable

undo pim bfd { min-tx-interval tx-value | min-rx-interval rx-value | detect-multiplier multiplier-value } *

undo pim bfd { min-tx-interval | min-rx-interval | detect-multiplier } *

Parameters

Parameter Description Value
min-tx-interval tx-value

Specifies the minimum interval for transmitting BFD packets.

The value is an integer ranging from 3 to 20000. The default value is 10.

min-rx-interval rx-value

Specifies the minimum interval for receiving BFD packets.

The value is an integer ranging from 3 to 20000. The default value is 10.

detect-multiplier multiplier-value

Specifies the local multiplier of BFD packets.

The value is an integer ranging from 3 to 50. The default value is 3.

enable

Enables BFD for IPv4 PIM.

-

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, PW-VE sub-interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pim write

Usage Guidelines

Usage Scenario

When using the pim bfd enable command, note the following:

  • This command applies to non-broadcast multiple access (NBMA) interfaces and broadcast interfaces, not point-to-point (P2P) interfaces.
  • Before configuring this command on an interface, you must run the pim sm command on the interface to enable PIM-SM. Running the undo pim sm command also disables BFD for IPv4 PIM on an interface.
  • BFD for IPv4 PIM depends on the BFD protocol. If the bfd command is not run to enable global BFD, the session status is BFD global disable though PIM BFD sessions can be set up.

    NOTE:

    The pim bfd enable command is mutually exclusive with the pim silent command.

Configuration Impact

You can configure one or more parameters. Parameters that are not configured use their original values.

Precautions

Two PIM BFD ends negotiate the sending interval, receiving interval, and detection period for BFD packets based on the following mechanism:

  • Actual sending interval and receiving interval for PIM BFD packets:
  • Actual sending interval = max (local min-tx-interval, remote min-rx-interval)
  • Actual receiving interval = max (remote min-tx-interval, local min-rx-interval)Actual detection period = remote detect-multiplier x max (remote min-tx-interval, local min-rx-interval)
  • PIM BFD parameters can be configured on both the receive and transmit ends, and the configurations on the two ends are both effective.

Example

# Enable BFD for IPv4 PIM on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] multicast routing-enable
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] undo portswitch
[*HUAWEI-GigabitEthernet0/1/0] pim sm
[*HUAWEI-GigabitEthernet0/1/0] pim bfd enable
# Set the minimum interval for transmitting BFD packets on GE .
<HUAWEI> system-view
[~HUAWEI] multicast routing-enable
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] pim bfd min-tx-interval 200
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >