The reset igmp-snooping group command deletes dynamic group memberships learned by IGMP snooping.
reset igmp-snooping group { all | vlan { all | vlan-id [ [ source-address source-address ] group-address group-address ] } }
Parameter |
Description |
Value |
---|---|---|
all |
Deletes all dynamic group memberships learned by IGMP snooping. |
- |
vlan { all | vlan-id } |
Deletes the dynamic group memberships of a specified VLAN. If all is specified, the system deletes IGMP dynamic group memberships of all VLANs. |
The value of vlan-id is an integer that ranges from 1 to 4094. |
source-address source-address | Deletes the dynamic group memberships of a specified source address. |
The multicast source address is a Class A, Class B, or Class C IP address on a nature network segment. The value is in dotted decimal notation. |
group-address group-address | Deletes the dynamic group memberships of a specified group address. |
The value of group-address ranges from 224.0.1.0 to 239.255.255.255 in dotted decimal notation. |
Usage Scenario
When multicast groups on a network change, the switch generates new Layer 2 multicast forwarding entries until the aging time of member ports expire. To enable the switch to generate new multicast forwarding entries immediately, use the reset igmp-snooping group command to delete existing group memberships.
Precautions
Deleting group memberships in a VLAN temporarily interrupts multicast forwarding in the VLAN. The switch generates new forwarding entries only when receiving IGMP Report messages from hosts in the VLAN. The hosts can then receive multicast data.
This command cannot delete static group memberships.
This command is valid only for VLANs with IGMP snooping enabled and is invalid for a VLAN if IGMP is enabled on the corresponding VLANIF interface.