< Home

multicast forwarding-table route-limit

Function

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.

The following lists the maximum number of entries allowed in the multicast forwarding table of each model by default:
  • S5720-LI, S5720S-LI: 1022
  • S5731-S, S5731S-S, S5720I-SI, S5720S-SI, S5720-SI: 1024
  • S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735S-S, S5735-S-I: 1500
  • S5730-SI, S5730S-EI, S6720-LI, S6720S-LI, S6720-SI, S6720S-SI: 1536
  • S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, S6730S-S: 4096

Format

multicast forwarding-table route-limit limit

undo multicast forwarding-table route-limit

Parameters

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.

Views

System view, VPN instance view, VPN IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

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.

If the configured limit is smaller than the number of existing entries, the excessive entries are not deleted immediately. The configured limit takes effect in the following cases:
  • Entries are added to the multicast forwarding table after the existing entries age out.
  • The reset multicast forwarding-table all command is run.

Example

# Set the limit on the number of the entries in the forwarding table to 60.

<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] multicast forwarding-table route-limit 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >