< Home

igmp enable

Function

The igmp enable command enables IGMP on an interface.

The undo igmp enable command restores the default configuration.

Format

igmp enable

undo igmp enable

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

By default, IGMP is disabled on the interface.

You have enabled multicast using the multicast routing-enable command. Other IGMP parameters configured on the interface take effect only after this command is run.

If IGMPv1 is run on an interface, you must enable pim dm or pim sm. This is because IGMPv1 does not the querier election. In IGMPv1, the querier is specified by Protocol Independent Multicast (PIM).

If IGMPv2/v3 is run on an interface, pim dm or pim sm is recommended. Although IGMPv2/v3 supports the querier election, enabling PIM improves the system stability.

Example

# Enable IGMP on GigabitEthernet 0/0/1.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] igmp enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >