< Home

igmp-snooping group-limit

Function

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

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

By default, the number of multicast entries that an interface can learn is not limited.

Format

igmp-snooping group-limit group-limit vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>

undo igmp-snooping group-limit group-limit vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>

undo igmp-snooping group-limit vlan { all | { vlan-id1 [ to vlan-id2 ] } &<1-10> }

Parameters

Parameter

Description

Value

group-limit

Specifies the maximum number of multicast groups that an interface can learn.

The value is an integer and the value range depends on the product model:
  • S2720-EI, S5720-LI, S5720S-LI, S6720-LI, S6720S-LI, S5720S-SI, S5731-S, S5731S-S, S5720I-SI, and S5720-SI: 1 to 1024
  • S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S: 1 to 1500
  • S5730-SI, S5730S-EI, S6720-SI and S6720S-SI: 1 to 1536
  • S5720-EI: 1 to 2048
  • S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S: 1 to 4096

vlan vlan-id1 [ to vlan-id2 ]

Specifies the ID of a VLAN. vlan-id1 and vlan-id2 identify a range of VLAN IDs.

The values of vlan-id1 and vlan-id2 are integers that range from 1 to 4094.

all

Cancels the limit on the number of multicast groups that interfaces in all VLANs can learn.

-

Views

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

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can use the igmp-snooping group-limit command to limit the number of multicast programs that a user can request. This configuration limits the multicast data traffic volume on the interface.

Prerequisites

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

Configuration Impact

During the configuration, if the number of multicast entries on the interface already exceeds the configured threshold, the number of multicast entries on the interface does not change and the interface cannot learn new multicast entries.

Precautions

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

Example

# Configure GE0/0/1 to learn a maximum of 10 IGMP snooping entries in VLAN 10, and IGMP snooping is enabled globally and in VLAN 10.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] igmp-snooping group-limit 10 vlan 10

# Configure GE0/0/1 to learn a maximum of 50 IGMP snooping entries in VLANs 20 to 30, and IGMP snooping is enabled globally and in these VLANs.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] igmp-snooping group-limit 50 vlan 20 to 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >