The reset mld-snooping group command deletes dynamic group memberships learned by MLD snooping.
reset mld-snooping group { all | vlan vlan-id [ [ source-address source-ipv6-address ] group-address group-ipv6-address ] }
Parameter |
Description |
Value |
---|---|---|
all |
Deletes dynamic group memberships learned by MLD snooping. |
- |
vlan vlan-id |
Deletes dynamic group memberships in a specified VLAN. |
The value of vlan-id is an integer that ranges from 1 to 4094. |
group-ipv6-address |
Deletes the dynamic group memberships of a specified source address. |
The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. An IPv6 multicast address starts with FF. |
source-address source-ipv6-address | Deletes the dynamic group memberships of a specified source address. |
The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. |
Usage Scenario
When multicast groups change on a network, 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 mld-snooping group command to delete old memberships.
Precautions
Deleting group memberships in a VLAN temporarily interrupts multicast forwarding in the VLAN. The switch generates new forwarding entries only when receiving MLD 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 MLD snooping enabled and is invalid for a VLAN if MLD is enabled on the corresponding VLANIF interface.