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
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

clear pim join

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear pim join 
<all>
<group-address>
<bidirectional | dense | sparse>
<exact>
<inet | inet6> 
<instance instance-name>
<logical-system (all | logical-system-name)>
<rp ip-address/prefix | source ip-address/prefix>
<sg | star-g>

Syntax (EX Series Switch and the QFX Series)

content_copy zoom_out_map
clear pim join 
<all>
<group-address>
<dense | sparse>
<exact>
<inet | inet6> 
<instance instance-name>
<rp ip-address/prefix | source ip-address/prefix>
<sg | star-g>

Description

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

Options

all

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

group-address

(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.

exact

(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

clear

Output Fields

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

Sample Output

clear pim join all

content_copy zoom_out_map
user@host> clear pim join all 
Cleared 8 Join/Prune states

clear pim join inet6 all

content_copy zoom_out_map
user@host> clear pim join inet6 all 
Cleared 4 Join/Prune states

clear pim join inet6 star-g all

content_copy zoom_out_map
user@host> clear pim join inet6 star-g all 
Cleared 1 Join/Prune states

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.

footer-navigation