(Optional) Configuring Switching Between I-PMSI and S-PMSI Tunnels

Context

On an NG MVPN, multicast data traffic is transmitted through an inclusive-provider multicast service interface (I-PMSI) tunnel to multicast users. The I-PMSI tunnel transmits multicast traffic to all PEs on the same MVPN, regardless of whether these PEs have receivers. If some PEs do not have receivers, this implementation causes traffic redundancy, wastes bandwidth resources, and increases PEs' burdens. Selective-PMSI (S-PMSI) tunnels can address the preceding issue. After multicast traffic data is switched from an I-PMSI tunnel to an S-PMSI tunnel, only PEs that have receivers can receive the traffic. Therefore, S-PMSI tunnels can prevent redundant traffic, reduce bandwidth consumption, and relieve the workload of PEs.

Procedure

  • Perform the following steps on a PE to be configured as a sender PE:
    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 ipv4-family

      The VPN instance IPv4 address family view is displayed.

    4. Run multicast routing-enable

      Multicast routing is enabled in the VPN instance IPv4 address family view.

    5. Run mvpn

      The VPN instance IPv4 address family MVPN view is displayed.

    6. (Optional) Run the ipmsi-to-spmsi switch immediately command to enable immediate switching from an I-PMSI tunnel to an S-PMSI tunnel.

      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.

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

      The MVPN BIER load balancing entropy mode is configured.

    8. Run spmsi-tunnel

      The MVPN S-PMSI view is displayed.

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

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

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

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

      The sender PE starts a switchover delay timer when using an I-PMSI tunnel to transmit multicast traffic. The sender PE 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 sender PE 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 sender PE still uses the I-PMSI tunnel to transmit multicast traffic.

    11. Run holddown-time interval

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

      In some cases, the multicast data forwarding rate may fluctuate around the specified switching threshold. To prevent frequent switchovers between S-PMSI and I-PMSI tunnels, the device does not perform a switchback immediately when the multicast traffic forwarding rate falls below the specified threshold. Instead, the device starts the hold timer. Before the hold timer expires, the device keeps monitoring the multicast traffic forwarding rate. 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 continues to use the S-PMSI tunnel to forward multicast traffic.

    12. Run commit

      The configuration is committed.

  • (Optional) Perform the following steps on each receiver PE:
    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 ipv4-family

      The VPN instance IPv4 address family view is displayed.

    4. Run multicast routing-enable

      Multicast routing is enabled in the VPN instance IPv4 address family view.

    5. Run mvpn

      The VPN instance IPv4 address family MVPN view is displayed.

    6. (Optional) Run tunnel-detect-delay tunnel-detect-delay

      A delay for checking tunnel status when the bearer tunnel of VPN instance multicast data changes is configured.

    7. Run commit

      The configuration is committed.

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