< Home

igmp-snooping enable (system view)

Function

The igmp-snooping enable command enables IGMP snooping globally.

The undo igmp-snooping enable command disables IGMP snooping globally.

By default, IGMP snooping is disabled globally.

Format

igmp-snooping enable

undo igmp-snooping enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After IGMP snooping is enabled in a VSI, IGMP snooping runs on PE devices in the VSI and maintains a multicast forwarding table by snooping IGMP messages forwarded between the PE devices. The PE devices can manage and control Layer 2 multicast forwarding based on the multicast forwarding table.

Before configuring IGMP snooping in a VSI, enable IGMP snooping globally. Other IGMP snooping configuration commands can be used only after you run the igmp-snooping enable command in the system view.

Precautions

When you run the undo igmp-snooping enable command in the system view, the system displays a message, asking you whether to disable IGMP snooping globally. When you disable IGMP snooping globally, all the IGMP snooping configurations are deleted. When you run the igmp-snooping enable command to enable IGMP snooping globally again, the device uses the default IGMP snooping configuration.

Example

# Enable IGMP snooping globally.
<HUAWEI> system-view
[HUAWEI] igmp-snooping enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >