igmp-snooping enable (Bridge domain view)

Function

The igmp-snooping enable command enables IGMP snooping.

The undo igmp-snooping enable command disables IGMP snooping.

By default, IGMP snooping is disabled.

Format

igmp-snooping enable

undo igmp-snooping enable

Parameters

None

Views

Bridge domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

IGMP snooping runs on a Layer 2 device that is deployed between a Layer 3 device and user hosts. It maintains multicast forwarding entries by listening to multicast protocol packets transmitted between the upstream device and hosts, thereby controlling multicast data packet forwarding. Enabling IGMP snooping is the prerequisite for implementing Layer 2 multicast. The igmp-snooping enable command can be used to enable IGMP snooping.

After the igmp-snooping enable or undo igmp-snooping enable command is run in the BD view, IGMP snooping will be enabled or disabled in a specified BD. IGMP snooping can be enabled in a BD only after IGMP snooping is enabled globally. By default, IGMP snooping is still disabled in a BD though IGMP snooping is enabled in the system view.

Precautions

IGMP snooping cannot be enabled in a BD configured with a VXLAN VNI.

Example

# Enable IGMP snooping in BD 10.
<HUAWEI> system-view
[~HUAWEI] igmp-snooping enable
[*HUAWEI] bridge-domain 10
[*HUAWEI-bd10] igmp-snooping enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >