The igmp-snooping command configures a multicast group model in a VLAN/VSI/BD.
The undo igmp-snooping command restores the default configuration.
By default, the multicast group model is ASM-SSM and both ASM and SSM packets are supported in a VLAN/VSI/BD.
Usage Scenario
There are two multicast group models: any-source multicast (ASM) and source-specific multicast (SSM). The igmp-snooping command can be used to configure a device to forward data only for multicast groups of the ASM or SSM model in a VLAN/VSI/BD.
Prerequisites
The igmp-snooping enable command has been run to enable IGMP snooping globally and in a VLAN/VSI/BD.
Configuration Impact
If asm-only is specified in the igmp-snooping command, only (*, G) messages are processed, and other packets are discarded.
<HUAWEI> system-view [~HUAWEI] igmp-snooping enable [*HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsia auto [*HUAWEI-vsi-vsia] pwsignal ldp [*HUAWEI-vsi-vsia-ldp] vsi-id 1 [*HUAWEI-vsi-vsia-ldp] quit [*HUAWEI-vsi-vsia] igmp-snooping asm-only