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

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear igmp membership 
<all>
<group address-range>
<interface interface-name>
<logical-system (all | logical-system-name)>

Syntax (EX Series Switch and the QFX Series)

content_copy zoom_out_map
clear igmp membership 
<group address-range>
<interface interface-name>

Description

Clear Internet Group Management Protocol (IGMP) group members.

Options

all

Clear IGMP members for groups and interfaces in the master instance.

group address-range

(Optional) Clear all IGMP members that are in a particular address range. An example of a range is 233.252/16. If you omit the destination prefix length, the default is /32.

interface interface-name

(Optional) Clear all IGMP group members on an interface.

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

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

Required Privilege Level

clear

Output Fields

See show igmp group for an explanation of output fields.

Sample Output

clear igmp membership all

The following sample output displays IGMP group information before and after the clear igmp membership command is entered:

content_copy zoom_out_map
user@host> show igmp group
Interface        Group           Last Reported   Timeout
so-0/0/0         198.51.100.253   203.0.113.1          186
so-0/0/0         198.51.100.254   203.0.113.1          186
so-0/0/0         198.51.100.255   203.0.113.1          187
so-0/0/0         198.51.100.240   203.0.113.1          188
local            198.51.100.6     (null)                0
local            198.51.100.5     (null)                0
local            198.51.100.25    (null)                0
local            198.51.100.22    (null)                0
local            198.51.100.2     (null)                0
local            198.51.100.13    (null)                0


user@host> clear igmp membership all
Clearing Group Membership Info for so-0/0/0
Clearing Group Membership Info for so-1/0/0
Clearing Group Membership Info for so-2/0/0


user@host> show igmp group
Interface        Group           Last Reported   Timeout
local            198.51.100.6             (null)                0
local            198.51.100.5             (null)                0
local            198.51.100.254           (null)                0
local            198.51.100.255           (null)                0
local            198.51.100.2             (null)                0
local            198.51.100.13            (null)                0

clear igmp membership interface

The following sample output displays IGMP group information before and after the clear igmp membership interface command is issued:

content_copy zoom_out_map
user@host> show igmp group
Interface        Group           Last Reported   Timeout
so-0/0/0         198.51.100.253   203.0.113.1          210
so-0/0/0         198.51.100.200   203.0.113.1          210
so-0/0/0         198.51.100.255   203.0.113.1          215
so-0/0/0         198.51.100.254   203.0.113.1          216
local            198.51.100.6     (null)                0
local            198.51.100.5     (null)                0
local            198.51.100.254   (null)                0
local            198.51.100.255   (null)                0
local            198.51.100.2     (null)                0
local            198.51.100.13    (null)                0


user@host> clear igmp membership interface so-0/0/0
Clearing Group Membership Info for so-0/0/0


user@host> show igmp group
Interface        Group           Last Reported   Timeout
local            198.51.100.6       (null)                0
local            198.51.100.5       (null)                0
local            198.51.100.254     (null)                0
local            198.51.100.255     (null)                0
local            198.51.100.2       (null)                0
local            198.51.100.13      (null)                0

clear igmp membership group

The following sample output displays IGMP group information before and after the clear igmp membership group command is entered:

content_copy zoom_out_map
user@host> show igmp group
Interface        Group           Last Reported   Timeout
so-0/0/0         198.51.100.253   203.0.113.1          210
so-0/0/0         198.51.100.25    203.0.113.1          210
so-0/0/0         198.51.100.255   203.0.113.1          215
so-0/0/0         198.51.100.254   203.0.113.1          216
local            198.51.100.6     (null)                0
local            198.51.100.5     (null)                0
local            198.51.100.254   (null)                0
local            198.51.100.25    (null)                0
local            198.51.100.2     (null)                0
local            198.51.100.13    (null)                0


user@host> clear igmp membership group 233.252/16
Clearing Group Membership Range 198.51.100.0/16 on so-0/0/0
Clearing Group Membership Range 198.51.100.0/16 on so-1/0/0
Clearing Group Membership Range 198.51.100.0/16 on so-2/0/0


user@host> show igmp group
Interface        Group           Last Reported   Timeout
so-0/0/0         198.51.100.255   203.0.113.1          231
so-0/0/0         198.51.100.254   203.0.113.1          233
so-0/0/0         198.51.100.253   203.0.113.1          236
local            198.51.100.6     (null)                0
local            198.51.100.5     (null)                0
local            198.51.100.254   (null)                0
local            198.51.100.255   (null)                0
local            198.51.100.2     (null)                0
local            198.51.100.13    (null)                0

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation