mld-snooping querier enable

Function

The mld-snooping querier enable command enables the querier function for a VLAN/VSI.

The undo mld-snooping querier enable disables the querier function for a VLAN/VSI.

By default, the querier is disabled for a VLAN/VSI.

Format

mld-snooping querier enable

undo mld-snooping querier enable

Parameters

None

Views

VLAN view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

After the querier function is enabled using the mld-snooping querier enable command on a Layer 2 device, this device will send MLD Query messages, freeing its interworking upstream device from doing this. The Layer 2 device will then also create and maintain multicast forwarding entries to forward data at the link layer.

Before running the

mld-snooping querier enable command, note the following points:

  • Static multicast groups have been configured on the upstream device. Otherwise, user join messages cannot be sent to the upstream device, and multicast data flows cannot be sent to receivers.
  • If the links from a multicast source to user hosts are on the same Layer 2 network, the querier function can be enabled on a Layer 2 device. This does not affect the normal receiving of multicast data packets.

Precautions

The mld-snooping querier enable command fails to be run in a VLAN view in any of the following conditions:

  • The VLAN is bound to a VSI.
  • IPv6 PIM is enabled for Layer 3 VLANIF interfaces of the VLAN.
  • The proxy function is enabled for the VLAN using the mld-snooping proxy command.

    The

    mld-snooping querier enable command fails to be run in a VSI view in any of the following conditions:
  • The VSI is bound to a BD.
  • The proxy function is enabled for the VSI using the mld snooping proxy command.

Example

# Enable the querier function for VSI vsi0.
<HUAWEI> system-view
[~HUAWEI] mld-snooping enable
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsi0
[*HUAWEI-vsi-vsi0] pwsignal ldp
[*HUAWEI-vsi-vsi0-ldp] vsi-id 1
[*HUAWEI-vsi-vsi0-ldp] quit
[*HUAWEI-vsi-vsi0] mld-snooping querier enable
# Enable the querier function for VLAN 10.
<HUAWEI> system-view
[~HUAWEI] mld-snooping enable
[*HUAWEI] vlan 10
[*HUAWEI-vlan10] mld-snooping querier enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >