< Home

igmp-snooping version

Function

The igmp-snooping version command configures the version of IGMP messages that can be processed by IGMP snooping in a VSI.

The undo igmp-snooping version command restores the default IGMP snooping version.

By default, IGMP snooping can process IGMPv1 and IGMPv2 messages in a VSI.

Format

igmp-snooping version version

undo igmp-snooping version

Parameters

Parameter

Description

Value

version

Specifies the version of IGMP messages that can be processed in a VSI.

The value is an integer that ranges from 1 to 3.
  • 1: indicates that IGMP snooping processes only IGMPv1 messages.
  • 2: indicates that IGMP snooping processes IGMPv1 and IGMPv2 messages.
  • 3: indicates that IGMP snooping processes IGMPv1, IGMPv2, and IGMPv3 messages.

Views

VSI view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When hosts in a VSI run different IGMP versions, run the igmp-snooping version command to enable the switch to process IGMP message from all the hosts.

Prerequisites

IGMP snooping has been enabled for VPLS using the igmp-snooping over-vpls enable command in the system view.

Precautions

The configuration takes effect only when IGMP snooping is enabled in the VSI using the igmp-snooping enable (VSI view) command.

Example

# Set the IGMP snooping version to IGMPv1 in VSI company1.

<HUAWEI> system-view
[HUAWEI] igmp-snooping enable
[HUAWEI] igmp-snooping over-vpls enable
[HUAWEI] vsi company1
[HUAWEI-vsi-company1] igmp-snooping enable
[HUAWEI-vsi-company1] igmp-snooping version 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >