Configuring echo packet mode

Restrictions and guidelines

To avoid echo packet loss, do not configure the echo packet mode on a device with uRPF enabled. For more information about uRPF, see Security Configuration Guide.

Procedure

  1. Enter system view.

    system-view

  2. Configure the source IP address of echo packets.

    • Configure the source IP address of echo packets.

      bfd echo-source-ip ip-address

      By default, no source IPv4 address is configured for echo packets.

      As a best practice, do not configure the source IPv4 address to be on the same network segment as any local interface's IPv4 address. If you configure such a source IPv4 address, a large number of ICMP redirect packets might be sent from the peer, resulting in link congestion.

    • Configure the source IPv6 address of echo packets.

      bfd echo-source-ipv6 ipv6-address

      By default, no source IPv6 address is configured for echo packets.

      The source IPv6 address of echo packets can only be a global unicast address.

  3. (Optional.) Set the echo packet mode parameters.

    1. Enter interface view.

      interface interface-type interface-number

    2. Set the minimum interval for receiving BFD echo packets.

      bfd min-echo-receive-interval interval

      The default setting is 400 milliseconds.

    3. Set the detection time multiplier.

      bfd detect-multiplier value

      The default setting is 5.