clear igmp static

Use this command to delete a static IGMP entry, or to remove one or more ports from an existing entry.

Syntax

clear igmp static group vlan-list [modify] [include-ports] [exclude-ports]

Parameters

group Specifies a group IP address for the entry.
vlan-list Specifies the VLAN(s) on which to configure the entry.
modify (Optional) Removes ports from an existing entry.
include-ports (Optional) Port or range of ports in the include-ports list to be removed from this entry.
exclude-ports (Optional) Port or range of ports in the exclude-ports list to be removed from this entry.

Defaults

If the modify option is not specified, all configuration for this entry is removed.

If the include-ports option is not specified, all members of the include-ports list are removed for this option.

If the exclude-ports option is not specified, all members of the exclude-ports list are removed for this option.

Mode

All command modes.

Usage

You must include the modify option when removing a part of the entry configuration using the include-ports or exclude-ports option.

Examples

This example shows how to remove port tg.1.5 from the IGMP group at 10.10.50.1 (VLAN 100) leaving the remaining configuration unchanged:

System(rw)->show igmp static
--------------------------------------------------------------------------------
Multicast Group Address = 10.10.50.1
Vlan Id                 = 100
Source IP Address       = Any
Include List            = tg.1.1-5
Exclude List            = tg.1.6-10
System(rw)->clear igmp static 10.10.50.1 100 modify include-ports tg.1.5
System(rw)->show igmp static
--------------------------------------------------------------------------------
Multicast Group Address = 10.10.50.1
Vlan Id                 = 100
Source IP Address       = Any
Include List            = tg.1.1-4
Exclude List            = tg.1.6-10
System(rw)->

This example shows how to remove the static IGMP entry for IGMP group at 10.10.50.1 on VLAN 100:

System(rw)->clear igmp static group 10.10.50.1 vlan-list 100