The mld-snooping command sets a multicast group model in a VLAN.
The undo mld-snooping command restores the default multicast group model.
By default, the multicast group model is ASM-SSM, allowing the device to support both any-source multicast (ASM) and source-specific multicast (SSM) messages in a VLAN.
Usage Scenario
Based on whether multicast messages carry source addresses, multicast messages are categorized as ASM and SSM messages. To configure the type of multicast message that the device can process in a VLAN, run the mld-snooping command.
Prerequisites
MLD snooping has been enabled both globally and in the VLAN view using the mld-snooping enable command.
Configuration Impact
If asm-only is specified, only (*, G) messages are processed, and other messages are discarded.
If ssm-only is specified, only (S, G) messages are processed, and other packets are discarded.Precautions
The mld-snooping command applies only to MLDv2.