The simplest type of SPT threshold policy uses a route filter and source address filter to specify the multicast group and source addresses and to set the SPT threshold for that pair of addresses to infinity. The policy is applied to the main PIM instance.
- protocols {
-
- pim {
- ...
-
- spt-threshold {
- infinity spt-threshold-infinity-policy;
- }
- ...
- }
- ...
-
- policy-options {
-
- policy-statement spt-threshold-infinity-policy {
-
- term one {
-
- from {
- router-filter 224.1.1.1/32 exact;
- source-address-filter 10.10.10.1/32 exact;
- then accept;
-
- term two {
- then reject;
- }
- }
- }
- }
- }
- }
This example sets the SPT transition value for the source-group pair 10.10.10.1 and 224.1.1.1 to infinity. When the policy is applied to the last-hop router, multicast traffic from this source-group pair will never transition to a direct SPT to the source. Traffic will continue to arrive through the RP. However, traffic for any other source-group address combination at this router will transition to a direct SPT to the source.