---
title: Multicast VLAN Configuration
slug: enterprise-v5p2/multicast-vlan-configuration
description: ip multicast
createdAt: 2025-11-14T03:58:43.763Z
---

### <font color="#1d50a2">show vlan igmp-snooping mvlan</font>

**\[Command]**
**show vlan igmp-snooping mvlan** *vlan\_id*

**\[Purpose]**
Show the binding relationship between VLAN and multicast VLAN

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show vlan igmp-snooping mvlan
+------------+-------------+
|   MVLAN ID |   UVLAN IDS |
+============+=============+
|          2 |           3 |
+------------+-------------+
```

### <font color="#1d50a2">igmp-snooping mvlan</font>

**\[Command]**
**igmp-snooping mvlan** *mvlan\_id uvlan\_id*
**no igmp-snooping mvlan** *mvlan\_id uvlan\_ids*

**\[Purpose]**
Configure the VLAN as a multicast VLAN

**\[Parameter]**

| **Parameter** | **Description**                                                                            |
| ------------- | ------------------------------------------------------------------------------------------ |
| *mvlan\_id*   | Multicast VLAN                                                                             |
| *uvlan\_ids*  | User VLAN, support multiple configurations at intervals, or connection range configuration |

**\[View]**
System configuration view

**\[Usage Scenario]**
When users from different VLANs need to receive multicast data from the same multicast source, the device needs to replicate the data for each VLAN. In this scenario, you can configure multicast VLANs, where the VLAN where users are located is configured as the user VLAN and the VLAN where the router interface is located is configured as the multicast VLAN. Data is replicated from the multicast VLAN to the user VLAN.

**\[Notes]**
IGMP Snooping needs to be enabled in both the multicast VLAN and the user VLAN for this configuration to work.

**\[Use Cases]**

```plaintext
sonic(config)# igmp-snooping mvlan 20 200,201
```

