igmp on-demand

Function

The igmp on-demand command configures entries of dynamically joined IGMP groups not to age on a specified interface.

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

By default, entries of dynamically joined IGMP groups age periodically on a specified interface

Format

igmp on-demand

undo igmp on-demand

Parameters

None

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, Loopback interface view, PW-VE sub-interface view, Tunnel interface view, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
igmp write

Usage Guidelines

Usage Scenario

igmp on-demand enables a host to become a static data receiver of a multicast group on a multicast device's interface connected to an access device, thus reducing packet exchanges and workloads of the multicast and access devices. To enable this function, run the igmp on-demand command, so that entries of dynamically joined IGMP groups will not age on a specified interface.

This command applies only to IGMPv2 and IGMPv3 interfaces connected to access devices, not to user hosts.

Configuration Impact

The igmp on-demand command configuration does not take effect for existing entries of dynamically joined IGMP groups.

Precautions

After the igmp on-demand command is used on a multicast device directly connected to an IGMP proxy-capable access device, the following situations occur:

  • The multicast device interface connected to the access device sends only one IGMP general query message to the access device.
  • The multicast device interface connected to the access device directly deletes the entry for a group after it receives an IGMP Leave message for the group.

Example

# Configure entries of dynamically joined IGMP groups not to age on GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] multicast routing-enable
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] undo portswitch
[*HUAWEI-GigabitEthernet0/1/0] igmp on-demand
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >