< Home

set multicast forwarding-table optimization-mode

Function

The set multicast forwarding-table optimization-mode command configures the multicast optimization mode in which the Layer 3 forwarding entries are stored on a switch.

The undo set multicast forwarding-table optimization-mode command restores the default storage mode.

By default, a switch uses the normal storage mode.

Only the S5720-EI, S6720-EI, and S6720S-EI support this command.

Format

set multicast forwarding-table optimization-mode [ slot slot-id ]

undo set multicast forwarding-table optimization-mode [ slot slot-id ]

Parameters

Parameter Description Value
slot slot-id

slot-id specifies the slot that uses the multicast optimization mode. If no slot ID is specified, storage modes of all slots are configured to be the multicast optimization mode.

The value is an integer and must be the slot ID of a running slot.

Views

System view

Default Level

3: Management level

Usage Guidelines

Applicable Environment

In most cases, the Layer 3 forwarding entries are stored in normal mode. The ARP cache table, ND cache table, and multicast forwarding table share hardware resources, without affecting hardware resources allocated to the routing table.

This command optimizes storage resources of Layer 3 forwarding entries through preferential allocation of hardware resources preferentially to the multicast forwarding table. The ARP cache table, ND cache table, and routing table share hardware resources. Run this command if either of the following situations occurs:
  • A large number of ARP prefix entries and multicast forwarding entries exist in the system at the same time.
  • A large number of ND prefix entries and multicast forwarding entries exist in the system at the same time.

Precautions

Note the following points when running this command:
  • If the multicast optimization modes on a switch are configured or deleted, the system prompts the user to save the configurations and then restart the device. If the device configuration is not saved, the new storage mode does not take effect after the restart.
  • This function can be implemented on an IPv6 network only when a switch with an extended entry register is available. In addition, the storage mode of the register must be set to IPv6 mode. For details on how to configure the extended entry register, see assign resource-mode in "Device Management Commands > Hardware Configuration Commands".
When the user configures this mode or restores the default mode, the system will prompt the user to restart the device or a specified slot. If the system receives no response, the configuration times out, and the system view is displayed. The system does not restart. The restart can cause the network to crash for a short period. In most cases, this command is not recommended.

Example

# Configure the storage mode to be the multicast optimization mode for a switch.

<HUAWEI> system-view
[HUAWEI] set multicast forwarding-table optimization-mode
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >