< Home

igmp-snooping group-limit

Function

The igmp-snooping group-limit command sets the maximum number of Layer 2 multicast entries that an AC-side interface can learn.

The undo igmp-snooping group-limit command cancels the limit on the number of Layer 2 multicast entries that an AC-side interface can learn.

By default, the number of Layer 2 multicast entries that an AC-side interface can learn is not limited.

Format

igmp-snooping group-limit group-limit vsi vsi-name

undo igmp-snooping group-limit [ group-limit ] vsi vsi-name

Parameters

Parameter

Description

Value

group-limit

Specifies the maximum number of Layer 2 multicast entries that an AC-side interface can learn.

The value is an integer ranging from 1 to 2048 on S5720-EI, and 4096 on S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S.

vsi vsi-name

Limits the number of Layer 2 multicast entries that can be learned in a VSI.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

GE interface view, 100GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By limiting the number of Layer 2 multicast entries learned on an interface, you can control the number of programs users connected to the interface can order. This configuration limits the multicast data traffic volume on the interface.

On a VPLS network, the maximum number of Layer 2 multicast entries can only be configured on an AC-side interface. The configuration method varies according to the type of the AC-side interface:
  • If the AC-side interface bound to a VSI is a VLANIF interface, configure the maximum number of Layer 2 multicast entries on the Layer 2 interface in the corresponding VLAN. For details, see the igmp-snooping group-limit command in "VLAN-based IGMP Snooping Configuration Commands."
  • If the AC-side interface bound to a VSI is a physical interface that has been switched to Layer 3 mode using the undo portswitch command, run the igmp-snooping group-limit group-limit vsi vsi-name command on this interface.

Prerequisites

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

Configuration Impact

If the number of Layer 2 multicast entries on the interface already exceeds the configured limit, the number of Layer 2 multicast entries on the interface does not change and the interface cannot learn new Layer 2 multicast entries.

Precautions

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

Example

# Set the maximum number of Layer 2 multicast entries on the AC-side interface GE0/0/1 bound to the VSI company1 to 10. (IGMP snooping has been enabled globally and in the VSI.)

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] igmp-snooping group-limit 10 vsi company1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >