igmp-snooping (VSI E-Tree view)

Function

The igmp-snooping command configures a multicast group model in a VLAN/VSI/BD.

The undo igmp-snooping command restores the default configuration.

By default, the multicast group model is ASM-SSM and both ASM and SSM packets are supported in a VLAN/VSI/BD.

Format

igmp-snooping { ssm-only | asm-only | asm-ssm }

undo igmp-snooping { ssm-only | asm-only }

Parameters

Parameter Description Value
ssm-only

Indicates that entries with the group address type of SSM are learned.

-

asm-only

Indicates that entries with the group address type of ASM are learned.

-

asm-ssm

Indicates that entries with the group address type of ASM or SSM are learned.

-

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

There are two multicast group models: any-source multicast (ASM) and source-specific multicast (SSM). The igmp-snooping command can be used to configure a device to forward data only for multicast groups of the ASM or SSM model in a VLAN/VSI/BD.

Prerequisites

The igmp-snooping enable command has been run to enable IGMP snooping globally and in a VLAN/VSI/BD.

Configuration Impact

If asm-only is specified in the igmp-snooping command, only (*, G) messages are processed, and other packets are discarded.

Example

# Set the multicast group address model to asm-only in VSI vsia auto.
<HUAWEI> system-view
[~HUAWEI] igmp-snooping enable
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsia auto
[*HUAWEI-vsi-vsia] pwsignal ldp
[*HUAWEI-vsi-vsia-ldp] vsi-id 1
[*HUAWEI-vsi-vsia-ldp] quit
[*HUAWEI-vsi-vsia] igmp-snooping asm-only
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >