The multicast-vlan send-query prune-source-port command disables a multicast VLAN from sending General Query messages back through the source interface in the user VLAN.
The undo multicast-vlan send-query prune-source-port command allows a multicast VLAN to send General Query messages back through the source interface in the user VLAN.
By default, after a multicast VLAN receives a General Query message, the multicast VLAN forwards the message back from the source interface through the user VLAN.
Usage Scenario
When the multicast VLAN and the user VLAN are configured on the same interface, general query packets are forwarded back through the interface by default. The source MAC address of the packet is not changed during the forwarding process. Therefore, the upstream device learns the MAC address table of the interface as the source MAC address. If the upstream device has learned the source MAC address from another interface, MAC address flapping occurs on the upstream device. To prevent MAC address flapping, run the pruning command to prune the Query messages sent from the source interface.
Prerequisites
Before running this command, create a VLAN, enable IGMP snooping in the system and LAN views, and run the mulitcast-vlan enable command in the VLAN.
Precautions
Before you run this command, run the multicast-vlan enable command in the VLAN view.
Before deleting the configuration of the multicast-vlan enable command, delete the configuration of this command.<HUAWEI> system-view [~HUAWEI] igmp-snooping enable [*HUAWEI] vlan 200 [*HUAWEI-vlan200] vlan 100 [*HUAWEI-vlan100] igmp-snooping enable [*HUAWEI-vlan100] multicast-vlan enable [*HUAWEI-vlan100] multicast-vlan user-vlan 200 [*HUAWEI-vlan100] multicast-vlan send-query prune-source-port