The igmp-snooping enable command enables IGMP snooping globally.
The undo igmp-snooping enable command disables IGMP snooping globally.
By default, IGMP snooping is disabled globally.
Usage Scenario
After IGMP snooping is enabled in a VSI, IGMP snooping runs on PE devices in the VSI and maintains a multicast forwarding table by snooping IGMP messages forwarded between the PE devices. The PE devices can manage and control Layer 2 multicast forwarding based on the multicast forwarding table.
Before configuring IGMP snooping in a VSI, enable IGMP snooping globally. Other IGMP snooping configuration commands can be used only after you run the igmp-snooping enable command in the system view.
Precautions
When you run the undo igmp-snooping enable command in the system view, the system displays a message, asking you whether to disable IGMP snooping globally. When you disable IGMP snooping globally, all the IGMP snooping configurations are deleted. When you run the igmp-snooping enable command to enable IGMP snooping globally again, the device uses the default IGMP snooping configuration.