Multicast VLAN Configuration
show vlan igmp-snooping mvlan
Section titled “show vlan igmp-snooping mvlan”[Command]
show vlan igmp-snooping mvlan vlan_id
[Purpose]
Show the binding relationship between VLAN and multicast VLAN
[View]
System view
[Use Cases]
sonic# show vlan igmp-snooping mvlan+------------+-------------+| MVLAN ID | UVLAN IDS |+============+=============+| 2 | 3 |+------------+-------------+igmp-snooping mvlan
Section titled “igmp-snooping mvlan”[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]
sonic(config)# igmp-snooping mvlan 20 200,201