< Home

igmp-snooping robust-count

Function

The igmp-snooping robust-count command sets the IGMP robustness variable in a VLAN, which specifies how many times IGMP Query messages are sent.

The undo igmp-snooping robust-count command restores the default IGMP robustness variable in a VLAN.

By default, the robustness variable in a VLAN is 2.

Format

igmp-snooping robust-count robust-count

undo igmp-snooping robust-count

Parameters

Parameter

Description

Value

robust-count

Specifies the IGMP robustness variable in a VLAN.

The value is an integer that ranges from 2 to 5.

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Setting IGMP snooping parameters helps improve the multicast forwarding performance. By setting the IGMP robustness variable, you can:

  • Specify the number of times the querier sends a Group-Specific Query message, which prevents packet loss on the network.

    When receiving an IGMP Leave message for a multicast group, the switch sends a Group-Specific Query message a certain number of times (specified by the IGMP robustness variable) to check whether this group has any other members. If the quality of transmission links is low, increase the IGMP robustness variable.

  • Change the aging time of multicast group member ports.

    When receiving an IGMP Report message from a host, the switch starts the aging timer for the member port. The aging time is calculated using the following formula: Aging time = IGMP robustness variable x General query interval + Maximum response time for General Query messages. The igmp-snooping robust-count command sets the general query count.

Prerequisites

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

Follow-up Procedure

Perform the following operations to optimize multicast service performance:
  • Run the igmp-snooping query-interval command to set the interval at which General Query messages are sent.
  • Run the igmp-snooping max-response-time command to set the maximum response time for General Query messages.
  • Run the igmp-snooping lastmember-queryinterval command to set the interval at which Group-Specific Query messages are sent.

Precautions

The configuration takes effect only after you run the igmp-snooping enable (VLAN view) command to enable IGMP snooping in the VLAN.

Example

# Set the IGMP robustness variable to 5 in VLAN 3.

<HUAWEI> system-view
[HUAWEI] igmp-snooping enable
[HUAWEI] vlan 3
[HUAWEI-vlan3] igmp-snooping enable
[HUAWEI-vlan3] igmp-snooping robust-count 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >