< Home

igmp-snooping enable (VLAN view)

Function

The igmp-snooping enable command enables IGMP snooping in a VLAN.

The undo igmp-snooping enable command disables IGMP snooping in a VLAN.

By default, IGMP snooping is disabled in a VLAN.

Format

igmp-snooping enable

undo igmp-snooping enable

Parameters

None

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, IGMP snooping is not enabled in a VLAN after being enabled in the system view. To enable IGMP snooping in a VLAN, run the igmp-snooping enable command in the VLAN view.

Prerequisites

IGMP snooping has been enabled globally using the igmp-snooping enable (system view) command.

After IGMP snooping is enabled globally, it is recommended that you enable IGMP snooping in all other VLANs. This prevents IGMP messages in this VLAN from being broadcast to access switches in the other VLANs.

Configuration Impact

After IGMP snooping is enabled in a VLAN, this function takes effect only on interfaces in this VLAN.

Precautions

The igmp snooping enable command in a VLAN and the igmp on-demand configuration of the VLANIF interface are mutually exclusive.

Example

# Enable IGMP snooping in VLAN 2.

<HUAWEI> system-view
[HUAWEI] igmp-snooping enable
[HUAWEI] vlan 2
[HUAWEI-vlan2] igmp-snooping enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >