The igmp-snooping ssm-mapping command configures a mapping between a multicast group address within the Source Specific Multicast Mapping (SSM) group address range and a multicast source address.
The undo igmp-snooping ssm-mapping command cancels the configuration.
By default, there is no mapping between a group address within the SSM group address range and a multicast source address.
Parameter | Description | Value |
---|---|---|
ip-group-address |
Specifies a multicast group address. |
The value ranges from 224.0.1.0 to 239.255.255.255, in dotted decimal notation. |
ip-group-mask |
Specifies the mask of a multicast group address. |
The value ranges from 240.0.0.0 to 255.255.255.255, in dotted decimal notation. |
mask-length |
Specifies the mask length of a multicast group address. |
The value is an integer ranging from 4 to 32. |
ip-source-address |
Specifies a multicast source address to be mapped to a multicast group. |
The address is in dotted decimal notation and ranges from 1.0.0.0 to 223.255.255.255. |
Usage Scenario
The SSM mapping mechanism is used to convert IGMPv1 and IGMPv2 Report messages into (S, G) Report messages. This mechanism enables hosts that do not support IGMPv3 to enjoy SSM services. After a mapping between a multicast group G and multicast source addresses such as S1 and S2 is configured on a device, the device checks the group addresses of received IGMPv1 and IGMPv2 messages. If the group addresses are in the SSM group address range, the device converts the messages into an IGMPv3 IS_IN (S1, S2......) messages with the group address being G.
Prerequisites
The igmp-ssm mapping enable command has been run to enable SSM mapping.
Precautions
After an SSM mapping policy is configured using the igmp-snooping ssm-mapping enable policy command, the command cannot be run to configure SSM source/group address mapping entries.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsi1 [*HUAWEI-vsi-vsi1] pwsignal ldp [*HUAWEI-vsi-vsi1-ldp] vsi-id 200 [*HUAWEI-vsi-vsi1-ldp] quit [*HUAWEI-vsi-vsi1] igmp-snooping ssm-mapping 237.0.0.1 30 10.1.1.1