< Home

igmp on-demand

Function

The igmp on-demand command configures the IGMP group records on an interface not to time out.

The undo igmp on-demand command restores the default configuration.

Format

igmp on-demand

undo igmp on-demand

Parameters

None

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

By default, the dynamic IGMP group records on an interface age.

When using the igmp on-demand command, note the following:

  • This command applies to IGMPv2 and IGMPv3 only.

  • This command can be used on the querier only.

  • If there are records about dynamic join to multicast groups, first run the reset igmp group command to clear all the IGMP group records, and then run the igmp on-demand command.

After the igmp on-demand command is used, the following situations occur:

  • The records about dynamic join to multicast groups on the interface never time out.

  • The interface does not send any IGMP Query message to the network.

  • If the interface receives an IGMP Leave message, the interface deletes the related group record immediately.

  • Before running the undo igmp on-demand command, run the reset igmp group command to clear the IGMP group records.

You must run the multicast routing-enable command to enable the multicast function before using the command.

Example

# Configure the dynamic IGMP group records on GigabitEthernet 0/0/1 not to time out.

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