< Home

igmp-snooping ssm-mapping

Function

The igmp-snooping ssm-mapping command configures the mapping between a multicast group and a multicast source in a VSI.

The undo igmp-snooping ssm-mapping command deletes the mapping between a multicast group and a multicast source in a VSI.

By default, no mappings between multicast groups and multicast sources exist in a VSI.

Format

igmp-snooping ssm-mapping ip-group-address { ip-group-mask | mask-length } ip-source-address

undo igmp-snooping ssm-mapping ip-group-address { ip-group-mask | mask-length } ip-source-address

Parameters

Parameter

Description

Value

ip-group-address

Specifies the IP address of a multicast group.

The value is in dotted decimal notation, and the value range is specified by the igmp-snooping ssm-policy command.

ip-group-mask

Specifies the mask of the multicast group address.

The value is in dotted decimal notation.

mask-length

Specifies the mask length of the multicast group address.

The value is an integer that ranges from 4 to 32.

ip-source-address

Specifies the IP address of a multicast source.

The value is in dotted decimal notation.

Views

VSI view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The SSM mapping mechanism converts IGMPv1 and IGMPv2 Report messages into messages with (S, G) information. This mechanism enables hosts that do not support IGMPv3 to work with SSM. To use this mechanism, enable SSM mapping and configure mappings between a multicast group G and multicast sources such as S1, S2 on the switch connected to user hosts. When the switch receives IGMPv1 and IGMPv2 Report messages for a multicast group, it checks the group address of the messages. If the group address is in the SSM group range, the switch converts the messages into one or more IGMPv3 IS_IN (S1, S2...) messages with the group address G.

Prerequisites

  • IGMP snooping has been enabled for VPLS using the igmp-snooping over-vpls enable command.
  • The IGMP message version is set to IGMPv3 using the igmp-snooping version command in the VSI.
  • An SSM group policy has been configured using the igmp-snooping ssm-policy command in the VSI to add the multicast group address to the SSM group range. This prerequisite is required when the multicast group address is an any-source multicast (ASM) address.
  • SSM mapping is enabled using the igmp-snooping ssm-mapping enable command.

Precautions

The configuration takes effect only when IGMP snooping is enabled in the VSI using the igmp-snooping enable (VSI view) command.

Example

# Map multicast group 238.0.0.1 to multicast source 10.1.1.1 in VSI company1.

<HUAWEI> system-view
[HUAWEI] igmp-snooping enable
[HUAWEI] igmp-snooping over-vpls enable
[HUAWEI] vsi company1
[HUAWEI-vsi-company1] igmp-snooping enable
[HUAWEI-vsi-company1] igmp-snooping version 3
[HUAWEI-vsi-company1] igmp-snooping ssm-mapping enable
[HUAWEI-vsi-company1] igmp-snooping ssm-mapping 238.0.0.1 32 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >