mld-snooping ssm-mapping (VSI view)

Function

The mld-snooping ssm-mapping command configures the mapping between an any-source multicast group address in the source-specific multicast (SSM) range and a multicast source address.

The undo mld-snooping ssm-mapping command deletes a configured mapping.

By default, no mapping is configured between an any-source multicast group address in the SSM range and a multicast source address.

Format

mld-snooping ssm-mapping group-address mask-length source-address

undo mld-snooping ssm-mapping group-address mask-length source-address

Parameters

Parameter Description Value
group-address

Specifies an IPv6 multicast group address in the SSM range.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. And the value must be within the group address range defined in the SSM policy.

mask-length

Specifies the mask length of an IPv6 multicast group address.

The value is an integer ranging from 16 to 128.

source-address

Specifies an IPv6 multicast source address.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

VSI-AUTO view, VSI-BD view, VSI-DEFAULT view, VSI-STATIC view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

The SSM mapping mechanism is used to convert MLDv1 Report messages into messages with (S, G) information. This mechanism enables hosts that do not support MLDv2 to enjoy SSM services. After a mapping is configured between a multicast group G and multicast source addresses such as S1 and S2, the device checks the group addresses of received MLDv1 Report messages. If the group addresses are in the SSM group address range, the device converts the messages into one or multiple MLDv2 IS_IN (S1, S2......) messages with the group address being G.

Precautions

SSM mapping has been enabled using the mld-snooping ssm-mapping enable command.

If an SSM mapping policy is configured using the mld-snooping ssm-mapping enable [ policy <POLICY-NAME>] command, the mld-snooping ssm-mapping command cannot be run to configure SSM source/group address mapping entries.

Example

# In VSI vsi1, configure a mapping between the multicast group address FF33::1 and source address 2::2.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[~HUAWEI] mld-snooping enable
[*HUAWEI] vsi vsi1
[*HUAWEI-vsi-vsi1] pwsignal ldp
[*HUAWEI-vsi-vsi1-ldp] vsi-id 1
[*HUAWEI-vsi-vsi1-ldp] quit
[*HUAWEI-vsi-vsi1] mld-snooping ssm-mapping FF33::1 64 2::2
# In VLAN10, configure a mapping between the multicast group address FF32::1 and the source address 1::1.
<HUAWEI> system-view
[~HUAWEI] mld-snooping enable
[*HUAWEI] vlan 10
[*HUAWEI-vlan10] mld-snooping ssm-mapping FF32::1 64 1::1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >