(Optional) Enabling the BIERv6 S-PMSI Tunnel Function and Configuring Switching Criteria

An S-PMSI tunnel connects some PEs in the same MVPN and is used to transmit VPN data only to the PEs that require the data. To enable the S-PMSI tunnel function, perform this task.

Context

Perform this task only on the sender PE.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip vpn-instance vpn-instance-name

    The VPN instance view is displayed.

  3. Run ipv6-family

    The VPN instance IPv6 address family view is displayed.

  4. Run mvpn

    The VPN instance IPv6 address family MVPN view is displayed.

  5. (Optional) Run ipmsi-to-spmsi switch immediately

    Immediate switching from an I-PMSI tunnel to an S-PMSI tunnel is enabled.

    After immediate switching from an I-PMSI tunnel to an S-PMSI tunnel is configured, upon the generation of an (S, G) entry with an MTI as the outbound interface on the sender PE, an S-PMSI tunnel is created and traffic is immediately switched from an I-PMSI tunnel to the S-PMSI tunnel.

    Compared with the original implementation, immediate switching from an I-PMSI tunnel to an S-PMSI tunnel allows traffic corresponding to an (S, G) entry to be switched to an S-PMSI tunnel earlier, thereby reducing multicast traffic loss.

  6. (Optional) Run bier load-balance-entropy source-group

    The entropy mode is configured for MVPNv6 over BIERv6 load balancing.

    Perform this operation only if BIERv6 load balancing has been enabled using the max-load-balance number command.

  7. Run spmsi-tunnel

    The IPv6 MVPN S-PMSI view is displayed.

  8. Run group group-address group-mask-length [ source source-address source-mask-length ] [ threshold threshold-value ] { bier [ sub-domain sub-domain-val ] [ bsl { 64 | 128 | 256 } ] } [ limit number ]

    The address pool range and criteria for switching between I-PMSI and S-PMSI tunnels are configured.

  9. (Optional) Run switch-delay switch-delay

    A delay to switch multicast traffic of the VPN instance from the I-PMSI tunnel to an S-PMSI tunnel is configured.

    The device starts a switchover delay timer when using the I-PMSI tunnel to transmit multicast traffic. The device keeps monitoring the multicast traffic forwarding rate before the switchover delay timer expires. If the forwarding rate is consistently higher than the specified switchover threshold throughout the timer lifecycle, the device switches multicast traffic from the I-PMSI tunnel to an S-PMSI tunnel. If the forwarding rate is consistently lower than the specified switchover threshold throughout the timer lifecycle, the device still uses the I-PMSI tunnel to transmit multicast traffic.

  10. Run holddown-time interval

    The delay for switching traffic from an S-PMSI tunnel back to the I-PMSI tunnel is configured.

    In some cases, the multicast traffic forwarding rate may fluctuate around the specified switchover threshold. To prevent multicast data traffic from being frequently switched between S-PMSI and I-PMSI tunnels, the device starts the switchback delay timer when the forwarding rate falls below the specified threshold rather than performing an immediate switchback. The device keeps monitoring the forwarding rate before the delay timer for the switchback from the S-PMSI tunnel expires. If the rate remains consistently lower than the threshold throughout the timer period, the device switches multicast traffic back to the I-PMSI tunnel. Otherwise, the device still uses the S-PMSI tunnel to forward multicast traffic.

  11. Run quit

    Exit the IPv6 MVPN S-PMSI view.

  12. Run quit

    Exit the VPN instance IPv6 address family MVPN view.

  13. Run quit

    Exit the VPN instance IPv6 address family view.

  14. Run quit

    Exit the VPN instance view.

  15. Run commit

    The configuration is committed.

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