The igmp limit command sets the maximum number of IGMP group memberships allowed on an interface.
The undo igmp limit command restores the maximum number of IGMP group memberships allowed on an interface to the default value.
Parameter | Description | Value |
---|---|---|
number |
Specifies the maximum number of IGMP group memberships allowed on an interface. |
The value is an integer that ranges from 1 to The maximum number of IGMP group memberships allowed on an interface by default. NOTE:
The value range of S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-HI, S6730S-H, and S6730-H are expanded after the high specification mode is configured for multicast forwarding using the set multicast forwarding-table super-mode command. The actual value range depends on the specification of the device. |
except |
Specifies the range of multicast groups whose IGMP entries are not limited by the IGMP limit. |
- |
acl-number |
Specifies a basic ACL or an advanced ACL. |
The value is an integer. The basic ACL number ranges from 2000 to 2999. A basic ACL filters group addresses only. The advanced ACL number ranges from 3000 to 3999. An advanced ACL filters (S, G) entries as well as group addresses. |
GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, GE sub-interface view, XGE sub-interface view, MultiGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view, Eth-Trunk sub-interface view, VLANIF interface view, loopback interface view
Usage Scenario
When the number of IGMP entries reaches the limit, the system does not create any IGMP entries. To allow the switch to create more IGMP entries, delete useless entries or increase the limit. Alternatively, you can configure static IGMP entries.
Each (*, G) entry is counted as one entry.
Each (S, G) entry is counted as one entry.
Each (*, G) entry for SSM mapping is counted as one entry.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
If except is not specified in the command, the maximum number of all dynamic IGMP (*, G) or (S, G) entries is the configured IGMP limit. Before setting except, configure the associated ACL. The interface then uses the ACL to filter the received IGMP Report messages. The number of entries corresponding to the multicast groups that match the ACL is not limited.
In the advanced ACL view, specify the source parameter in the rule command to set the range of sources that send multicast data to the multicast groups. Specify the destination parameter to set the range of multicast groups whose IGMP entries are not limited.
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] igmp limit 220
<HUAWEI> system-view [HUAWEI] multicast routing-enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] igmp limit 220