The multicast forwarding-table route-limit command sets the limit on the number of entries in the multicast forwarding table.
The undo multicast forwarding-table route-limit command restores the default value of the limit.
Parameter | Description | Value |
---|---|---|
limit |
Specifies the limit on the number of entries in the multicast forwarding table. |
The value is an integer that ranges from 0 to The maximum number of entries allowed in the multicast forwarding table 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. |
Usage Scenario
Excessive multicast forwarding entries will exhaust the memory of the switch. To prevent this problem, use the multicast forwarding-table route-limit command to limit the number of entries in the multicast forwarding table.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
If you set the limit on the number of entries in the multicast forwarding table after multicast services are deployed on a switch, ensure that the limit is greater than or equal to the number of current forwarding entries. Otherwise, faults may occur.
It is recommended that you set this limit based on the actual network environment before deploying multicast services on the switch.