Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


clear pim join


Syntax (EX Series Switch and the QFX Series)


Clear the Protocol Independent Multicast (PIM) join and prune states.



To clear PIM join and prune states for all groups and family addresses in the master instance, you must specify “all”..


(Optional) Clear the PIM join and prune states for a group address.

bidirectional | dense | sparse

(Optional) Clear PIM bidirectional mode, dense mode, or sparse and source-specific multicast (SSM) mode entries.


(Optional) Clear only the group that exactly matches the specified group address.

inet | inet6

(Optional) Clear the PIM entries for IPv4 or IPv6 family addresses, respectively.

instance instance-name

(Optional) Clear the entries for a specific PIM-enabled routing instance.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

rp ip-address/prefix | source ip-address/prefix

(Optional) Clear the PIM entries with a specified rendezvous point (RP) address and prefix or with a specified source address and prefix. You can omit the prefix.

sg | star-g

(Optional) Clear PIM (S,G) or (*,G) entries.

Additional Information

The clear pim join command cannot be used to clear the PIM join and prune state on a backup Routing Engine when nonstop active routing is enabled.

Required Privilege Level


Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

clear pim join all

clear pim join inet6 all

clear pim join inet6 star-g all

Release Information

Command introduced before Junos OS Release 7.4.

inet6 and instance options introduced in Junos OS Release 10.0 for EX Series switches.

Multiple new filter options introduced in Junos OS Release 13.2.