< Home

igmp-snooping send-query enable

Function

The igmp-snooping send-query enable command enables the switch to send IGMP General Query messages to non-router ports when receiving topology change events.

The undo igmp-snooping send-query enable command disables the switch from sending IGMP General Query messages to non-router ports.

By default, the switch does not send IGMP General Query messages to non-router ports when receiving topology change events.

Format

igmp-snooping send-query enable

undo igmp-snooping send-query enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the network topology changes, the switch receives a topology change event. By default, the switch does not send IGMP General Query messages in this case. A network topology change triggers recalculation of the ring network protocol used (such as STP, MSTP, RRPP, SEP, and Smart Link), but multicast data packets cannot be switched to the new path immediately. To enable multicast data flows to be switched to the new forwarding path immediately after a network topology change, configure the switch to send IGMP General Query messages upon topology changes.

Prerequisites

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

Follow-up Procedure

This command is used on a ring network. When the ring network topology changes, the switch sends IGMP General Query messages with source IP address 192.168.0.1. When this address has been occupied by another device on the network, run the igmp-snooping send-query source-address command to change the source IP address.

Precautions

Use this command only when a ring network protocol is enabled on the switch.

Example

# Configure the switch to send IGMP General Query messages upon topology changes.

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