Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

pim

date_range 06-Jun-24

Syntax

content_copy zoom_out_map
pim {
    disable;
    assert-timeout seconds;
    dense-groups {
        addresses;
    }
    dr-election-on-p2p;
    export;
    family (inet | inet6) {
        disable;
    }
    graceful-restart {
        disable;
        no-bidirectional-mode;
        restart-duration seconds;
    }
    import [ policy-names ];
    interface (Protocols PIM)  interface-name {
        family  (inet | inet6) {
            disable;
            }
            bfd-liveness-detection {
                    authentication {
                        algorithm algorithm-name;
                        key-chain key-chain-name;
                    loose-check;
                    detection-time {
                        threshold milliseconds;
                    }
                minimum-interval milliseconds;
                    minimum-receive-interval milliseconds;
                    multiplier number;
                    no-adaptation;
                    transmit-interval {
                        minimum-interval milliseconds;
                        threshold milliseconds;
                    }
                version (0 | 1 | automatic);
            }
            
            accept-join-always-from [ policy-name ... ];
            accept-remote-source;
            disable;
            bidirectional {
                df-election {
                    backoff-period milliseconds;
                    offer-period milliseconds;
                    robustness-count number;
                }
            }
            family (inet | inet6) {
                disable;
            }
            hello-interval seconds;
            mode (bidirectional-sparse | bidirectional-sparse-dense | dense | sparse | sparse-dense);
            neighbor-policy [ policy-names ];
            override-interval milliseconds;
            priority number;
            propagation-delay milliseconds;
            reset-tracking-bit;
            version version;
        }
        join-load-balance;
        join-prune-timeout;
        mdt {
            data-mdt-reuse;
            group-range multicast-prefix;
            threshold {
                group group-address {
                    source source-address {
                        rate threshold-rate;
                    }
                }
                tunnel-limit limit;
            }
        }
        mvpn {
            autodiscovery {
                inet-mdt;
            }
        }
        nonstop-routing;
        override-interval milliseconds;
        propagation-delay milliseconds;
        reset-tracking-bit;
        rib-group group-name;
        rp {
            auto-rp {
                (announce | discovery | mapping);
                (mapping-agent-election | no-mapping-agent-election);
            }
            bidirectional {
                address address {
                    group-ranges {
                        destination-ip-prefix</prefix-length>;
                    }
                    hold-time seconds;
                    priority number;
                    }
                }
            bootstrap {
                family (inet | inet6) {
                    export [ policy-names ];
                    import [ policy-names ];
                    priority number;
                }
            }
            bootstrap-import [ policy-names ];
            bootstrap-export [ policy-names ];
            bootstrap-priority number;
            dr-register-policy [ policy-names ];
            embedded-rp {
                group-ranges {
                    destination-ip-prefix</prefix-length>;
                }
                maximum-rps limit;
            }
            group-rp-mapping {
                family (inet | inet6) {
                    log-interval seconds;
                    maximum limit;
                    threshold value;
                    }
                }
                log-interval seconds;
                maximum limit;
                threshold value;
                }
            }
            local {
                family (inet | inet6) {
                    address address;
                    anycast-pim {
                        rp-set {
                            address address <forward-msdp-sa>;
                        }
                        disable;
                        local-address address;
                    }
                    group-ranges {
                        destination-ip-prefix</prefix-length>;
                    }
                    hold-time seconds;
                    override;
                    priority number;
                }
            }
            register-limit {
                family (inet | inet6) {
                    log-interval seconds;
                    maximum limit;
                    threshold value;
                    }
                }
                log-interval seconds;
                maximum limit;
                threshold value;
                }
            }
            rp-register-policy [ policy-names ];
            spt-threshold {
                infinity [ policy-names ];
            }
            static {
                address address {
                    override;
                    version version;
                    group-ranges {
                        destination-ip-prefix</prefix-length>;
                    }
                }
            }
        }
        rpf-selection {
            group group-address{
                sourcesource-address{
                    next-hop next-hop-address;
                }
                wildcard-source {
                    next-hop next-hop-address;
                }
            }
            prefix-list prefix-list-addresses {
                source source-address {
                    next-hop next-hop-address;
                }
                wildcard-source {
                    next-hop next-hop-address;
                }
            }
        sglimit {
            family (inet | inet6) {
                log-interval seconds;
                maximum limit;
                threshold value;
                }
            }
            log-interval seconds;
            maximum limit;
            threshold value;
            }
        }
        traceoptions {
            file filename <files number> <size size> <world-readable | no-world-readable>;
            flag flag <flag-modifier> <disable>;
        }
        tunnel-devices [ mt-fpc/pic/port ];
    }

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name protocols],
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols],
[edit protocols],
[edit routing-instances routing-instance-name protocols]

Description

Enable PIM on the routing device.

The remaining statements are explained separately. See CLI Explorer.

Default

PIM is disabled on the routing device.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

family statement introduced in Junos OS Release 9.6.

external-footer-nav