Configuring SBFD for SR-MPLS TE Policy

This section describes how to configure seamless bidirectional forwarding detection (SBFD) for SR-MPLS TE Policy.

Usage Scenario

SBFD for SR-MPLS TE Policy can quickly detect segment list faults. If all the segment lists of a candidate path are faulty, SBFD triggers a candidate path switchover to reduce impacts on services.

Pre-configuration Tasks

Before configuring SBFD for SR-MPLS TE Policy, complete the following tasks:

  • Configure an SR-MPLS TE Policy.

  • Run the mpls lsr-id lsr-id command to configure an LSR ID and ensure that the route from the peer end to the local address specified using lsr-id is reachable.

Procedure

  • Configure an SBFD initiator.
    1. Run system-view

      The system view is displayed.

    2. Run bfd

      BFD is enabled globally.

      BFD can be configured only after this function is enabled globally using the bfd command.

    3. Run quit

      Return to the system view.

    4. Run sbfd

      SBFD is enabled globally.

    5. Run quit

      Return to the system view.

    6. Run segment-routing

      SR is enabled globally and the Segment Routing view is displayed.

    7. Configure SBFD for SR-MPLS TE Policy.

      SBFD for SR-MPLS TE Policy supports both global configuration and single-policy configuration. You can select either of the two modes.

      • Global configuration

        1. Run sr-te-policy seamless-bfd enable

          SBFD is enabled for all SR-MPLS TE Policies.

        2. (Optional) Run sr-te-policy seamless-bfd { min-rx-interval receive-interval | min-tx-interval transmit-interval | detect-multiplier multiplier-value } *

          SBFD parameters are set for the SR-MPLS TE Policies.

          In the SBFD scenario, the min-rx-interval receive-interval parameter will not take effect.

      • Single-policy configuration

        1. Run sr-te policy policy-name

          The SR-MPLS TE Policy view is displayed.

        2. Run seamless-bfd { enable | disable }

          SBFD is enabled or disabled for the SR-MPLS TE Policy.

        3. Run quit

          Return to the SR view.

      If an SR-MPLS TE Policy has both global configuration and single-policy configuration, the single-policy configuration takes effect.

    8. (Optional) Run sr-te-policy delete-delay delete-delay-value
    9. Run commit

      The configuration is committed.

  • Configure an SBFD reflector.
    1. Run system-view

      The system view is displayed.

    2. Run bfd

      BFD is enabled globally.

      BFD can be configured only after this function is enabled globally using the bfd command.

    3. Run quit

      Return to the system view.

    4. Run sbfd

      SBFD is enabled globally.

    5. Run reflector discriminator { unsigned-integer-value | ip-address-value }

      A discriminator is configured for the SBFD reflector.

    6. Run commit

      The configuration is committed.

Verifying the Configuration

After SBFD for SR-MPLS TE Policy is configured, run the display sr-te policy [ endpoint ipv4-address color color-value | policy-name name-value ] command to check SBFD status.

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