< Home

mld-snooping table limit

Function

The mld-snooping table limit command sets the maximum number of MLD snooping entries that can be learned on an interface.

The undo mld-snooping table limit command cancels the limit on the number of MLD snooping entries that can be learned on an interface.

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

Format

mld-snooping table limit limit vlan vlan-id

undo mld-snooping table limit [ limit ] vlan vlan-id

Parameters

Parameter

Description

Value

limit

Specifies the maximum number of MLD snooping entries that can be learned on an interface.

The value is an integer and the value range depends on the product model:
  • S2720-EI, S5720-LI, S5720S-LI, S5720S-SI, S5720-SI, S5731-S, S5731S-S, S5720I-SI, and S5720-EI: 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-LI, S6720S-LI, S6720-SI and S6720S-SI: 1 to 1536
  • 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-id

Specifies a VLAN ID.

The value is an integer ranging from 1 to 4094.

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

The maximum number of MLD snooping entries on an interface limits the number of programs that users on the interface can order. You can set this limit to control the multicast data traffic on an interface.

Prerequisites

MLD snooping has been enabled globally using the mld-snooping enable command.

Configuration Impact

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 mld-snooping_enable command to enable MLD snooping in the VLAN.

Example

# Set the maximum number of MLD snooping entries that can be learned on GE0/0/1 in VLAN 5 to 100. (GE0/0/1 has been added to VLAN 5, and MLD snooping has been enabled globally and in VLAN 5.)

<HUAWEI> system view
[HUAWEI] mld-snooping enable
[HUAWEI] vlan 5
[HUAWEI-vlan5] mld-snooping enable
[HUAWEI-vlan5] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] mld-snooping table limit 100 vlan 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >