Switching from I-PMSI to S-PMSI

A source PE switches a multicast stream from an I-PMSI to an S-PMSI when the rate for a customer group (C-S, C-G) within the specified group-range exceeds a configurable data-rate-threshold. You can configure the data-rate-threshold parameter under the network-instance <name> protocols bgp-multicast-vpn multicast-vpn-instance <id> provider-tunnel selective context.

The data-rate-threshold parameter can range from 0 to 4 294 967 294 kbps where a value of 0 causes the switch to SPMSI as soon as any traffic is detected. While higher values trigger the switch only after the traffic for that pair (C-S, C-G) exceeds the configured rate.

The following example configures an IP-VRF named srl-ipvrf that uses BGP-MVPN for multicast signaling and enables mLDP for both an inclusive (I-PMSI) and a selective (S-PMSI) provider tunnel. The inclusive tunnel carries all multicast traffic by default, while the selective tunnel is activated on-demand for any (C-S, C-G) pair whose group falls within 239.0.0.0/8 and whose data-rate exceeds 50000 kbps, which switches the flow from the shared I-PMSI to a dedicated S-PMSI.

--{ + running }--[  ]--
# info with-context network-instance srl-ipvrf protocols bgp-multicast-vpn
    network-instance srl-ipvrf {
        protocols {
            bgp-multicast-vpn {
                multicast-vpn-instance 1 {
                    bgp-instance 1
                    import-route-target-unicast
                    export-route-target-unicast
                    provider-tunnel {
                        inclusive {
                            mldp {
                                admin-state enable
                            }
                        }
                        selective {
                            mldp {
                                admin-state enable
                            }
                            data-rate-threshold {
                                group-range 239.0.0.0/8 {
                                    rate-threshold 50000
                                }
                            }
                        }
                    }
                }
            }
        }
    }