The multicast-vlan enable command configures a VLAN as a multicast VLAN.
The undo multicast-vlan enable command restores the default configuration.
By default, a VLAN is a common VLAN.
Usage Scenario
Generally, a switch needs to replicate multicast packets for each VLAN when users in different VLANs need to receive multicast data from the same multicast source. If a multicast VLAN is configured and the VLANs that users belong to are configured as the user VLANs of the multicast VLAN, the switch only needs to replicate the multicast data for the multicast VLAN. Multicast data is then replicated to the user VLANs by the multicast VLAN. This reduces load on the upstream router and separates the multicast source from the users.
Prerequisites
IGMP snooping or MLD snooping has been enabled in a VLAN using the igmp-snooping enable (VLAN view) or mld-snooping enable command.
Follow-up Procedure
Run the multicast-vlan user-vlan command to bind user VLANs to the multicast VLAN.
Precautions