multicast-vlan send-query prune-source-port

Function

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.

Format

multicast-vlan send-query prune-source-port

undo multicast-vlan send-query prune-source-port

Parameters

None

Views

VLAN view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

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.

Example

# Configure VLAN 100 to perform pruning for the query messages sent by the source port.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >