Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Multicast Protocols User Guide
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

Disabling PIM

date_range 10-Aug-24

By default, when you enable the PIM protocol it applies to the specified interface only. To enable PIM for all interfaces, include the all parameter (for example, set protocol pim interface all). You can disable PIM at the protocol, interface, or family hierarchy levels.

The hierarchy in which you configure PIM is critical. In general, the most specific configuration takes precedence. However, if PIM is disabled at the protocol level, then any disable statements with respect to an interface or family are ignored.

For example, the order of precedence for disabling PIM on a particular interface family is:

  1. If PIM is disabled at the [edit protocols pim interface interface-name family] hierarchy level, then PIM is disabled for that interface family.

  2. If PIM is not configured at the [edit protocols pim interface interface-name family] hierarchy level, but is disabled at the [edit protocols pim interface interface-name] hierarchy level, then PIM is disabled for all families on the specified interface.

  3. If PIM is not configured at either the [edit protocols pim interface interface-name family] hierarchy level or the [edit protocols pim interface interface-name] hierarchy level, but is disabled at the [edit protocols pim] hierarchy level, then the PIM protocol is disabled globally for all interfaces and all families.

The following sections describe how to disable PIM at the various hierarchy levels.

Disabling the PIM Protocol

You can explicitly disable the PIM protocol. Disabling the PIM protocol disables the protocol for all interfaces and all families. This is accomplished at the [edit protocols pim] hierarchy level:

content_copy zoom_out_map
[edit protocols]
pim { 
    disable;
}

To disable the PIM protocol:

  1. Include the disable statement.
    content_copy zoom_out_map
    user@host# set protocols pim disable
  2. (Optional) Verify your configuration settings before committing them by using the show protocols pim command.
    content_copy zoom_out_map
    user@host# run show protocols pim

Disabling PIM on an Interface

You can disable the PIM protocol on a per-interface basis. This is accomplished at the [edit protocols pim interface interface-name] hierarchy level:

content_copy zoom_out_map
[edit protocols]
pim { 
    interface interface-name {
        disable;
    }
}

To disable PIM on an interface:

  1. Include the disable statement.
    content_copy zoom_out_map
    user@host# set protocols pim interface fe-0/1/0 disable
  2. (Optional) Verify your configuration settings before committing them by using the show protocols pim command.
    content_copy zoom_out_map
    user@host# run show protocols pim

Disabling PIM for a Family

You can disable the PIM protocol on a per-family basis. This is accomplished at the [edit protocols pim family] hierarchy level:

content_copy zoom_out_map
[edit protocols]
pim { 
    family inet {
        disable;
    }
    family inet6 {
        disable;
    }
}

To disable PIM for a family:

  1. Include the disable statement.
    content_copy zoom_out_map
    user@host# set protocols pim family inet disable
    user@host# set protocols pim family inet6 disable
  2. (Optional) Verify your configuration settings before committing them by using the show protocols pim command.
    content_copy zoom_out_map
    user@host# run show protocols pim

Disabling PIM for a Rendezvous Point

You can disable the PIM protocol for a rendezvous point (RP) on a per-family basis. This is accomplished at the [edit protocols pim rp local family] hierarchy level:

content_copy zoom_out_map
[edit protocols]
pim { 
    rp {
        local {
            family inet {
                disable;
            }
            family inet6 {
                disable;
            }
        }
    }
}

To disable PIM for an RP family:

  1. Use the disable statement.
    content_copy zoom_out_map
    user@host# set protocols pim rp local family inet disable
    user@host# set protocols pim rp local family inet6 disable
  2. (Optional) Verify your configuration settings before committing them by using the show protocols pim command.
    content_copy zoom_out_map
    user@host# run show protocols pim
footer-navigation