Configuring PIM FRR

PIM fast reroute (FRR) is a link protection measure used to minimize service loss when link or node faults occur on PIM-SM or PIM-SSM SPTs.

Usage Scenario

If a multicast link fails, services are interrupted before unicast routes are converged. Route convergence generally takes a long time, which is unacceptable by multicast services that have high requirements on real-time data transmission. To resolve this problem, configure PIM FRR. After PIM FRR is configured, PIM sets up primary and backup MDTs based on unicast backup FRR routes, allowing multicast traffic transmission through both the primary and backup links. The device's forwarding plane permits the multicast traffic on the primary link and discards that on the backup link. However, the forwarding plane permits the multicast traffic on the backup link immediately after the primary link fails, thus minimizing traffic loss.

PIM FRR can be configured only in IPv4 multicast and Rosen MVPN scenarios. If PIM FRR is needed in a Rosen MVPN scenario, PIM FRR must be configured on both the source and receiving ends. If PIM FRR is configured only on one end, PIM FRR does not work properly.

Pre-configuration Tasks

Before configuring PIM FRR, complete the following tasks:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run pim [ vpn-instancevpn-instance-name ]

    The PIM view is displayed.

  3. Run rpf-frr [ policy { acl-number | acl-nameacl-name } ]

    PIM FRR is enabled.

  4. (Optional) Run multicast frr monitor cycle cycle-value

    The multicast FRR monitoring interval is set.

  5. (Optional) Run multicast static-frr source source-address group group-address [ mask mask-value | mask-length mask-length ] [ vpn-instance vpn-instance-name ]

    Static multicast FRR is enabled.

  6. (Optional) Run rpf-prune-delay delay-time [ policy { acl-number | acl-name acl-name } ]

    The delay in sending Prune messages to the upstream device is set.

  7. (Optional) Run backup-rpf-switchover-delay { flow-based | interval hold-time } [ policy { acl-number | acl-name acl-name } ]

    The delay in generating forwarding entries corresponding to the interface connected to the backup upstream device is set.

  8. Run commit

    The configuration is committed.

Verifying the Configuration

Run the display pim routing-table command to check the PIM routing table.

Run the display multicast frr-table command to check the (S, G) entries of the multicast groups for which multicast FRR is enabled.

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