< Home

multicast mac-ip check enable

Function

The multicast mac-ip check enable command enables the function of checking the mapping between multicast IP and MAC addresses.

The undo multicast mac-ip check enable command disables the function of checking the mapping between multicast IP and MAC addresses.

By default, the function of checking the mapping between multicast IP and MAC addresses is disabled.

Product

Support

S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S

Supported

S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI

Not supported

The S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S check the mapping between multicast IP and MAC addresses for received packets by default. Packets that fail the check cannot be forwarded based on IP addresses, but can be forwarded based on MAC addresses. Other switch models do not perform this check, but instead forward the received packets normally.

Format

multicast mac-ip check enable

undo multicast mac-ip check enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To enable multicast sources and group members to communicate, network-layer multicast services must be provided using multicast IP addresses. To enable multicast data to be correctly transmitted on the local physical network, link-layer multicast services must be provided using multicast MAC addresses. The destination address of a multicast data packet is a group with unknown members but not a specific receiver. Therefore, multicast IP addresses must be mapped to multicast MAC addresses. For the detailed mapping between multicast IP and MAC addresses, see Multicast Addresses under IP Multicast Configuration Guide > Understanding IP Multicast in the S2720, S5700, and S6700 V200R019C10 Configuration Guide.

By default, the function of checking the mapping between multicast IP and MAC addresses is disabled. Therefore, packets with incorrect mapping will be processed normally. After the mapping between multicast IP and MAC addresses is enabled, different products process multicast packets in different modes. The following table provides the details.

Table 1 Methods used by different products to process multicast packets

Product

How Multicast Packets Are Processed

S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S

Packets with incorrect IP and MAC address mapping are discarded.

S5720-EI, S6720-EI, and S6720S-EI

If no MAC address entries are available for the packets with incorrect IP and MAC address mapping, the packets are forwarded as unknown multicast packets. For the forwarding process of unknown multicast packets, see multicast drop-unknown.

Example

# Enable the function of checking the mapping between multicast IP and MAC addresses.

<HUAWEI> system-view
[HUAWEI] multicast mac-ip check enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic