Configuring MVR

Configuring MVR


Configuring MVR

Step1         Configure VLANs for upstream port and access port respectively.

                   set interface gigabit-ethernet <interface-name> family ethernet-switching port-mode <port-mode>

                   set interface gigabit-ethernet <interface-name> family ethernet-switching vlan members <vlan-id>

Step2         Enable IGMP snooping globally.

                   set protocols igmp-snooping enable true

Step3         Configure mrouter port.

                   set protocols igmp-snooping vlan-id <vlan-id> mrouter interface <interface-name>

Step4         Configure MVR source group.

                   set protocols igmp-snooping vlan-id <vlan-id> mvr source group <multicast-network-address>/<prefix-length>

Step5         Configure receiver VLAN list.

                   set protocols igmp-snooping vlan-id <vlan-id> mvr receiver vlan-list <vlan range string>

Step6         Enable IP routing function.

set ip routing enable true

Step7         Commit the configuration.

                   commit

Step8         View the configuration information of MVR.

                   run show igmp-snooping mvr mvlan <vlan-id>

                   run show igmp-snooping mvr receiver-vlan <vlan-id>

Configuration Example 

Networking Requirements

Switch B is one node of the ERPS ring, of which VLAN 100 is the ring instance member (Please refer to ERPS section for how to configure the ERPS ring and instance). The two ports, te-1/1/1/1 and te-1/1/2 are ring port0 and port1, both are mrouter ports as well.

Figure 1. MVR Configuration Example

Port te-1/1/10, te-1/1/11 and te-1/1/12 are the access ports with VLAN ID as 101, 102 and 103 respectively.

Procedure

Switch B

Step1         Enable IGMP snooping globally.

admin@SwitchB# set protocols igmp-snooping enable true

Step2         Configure upstream mrouter ports.

admin@SwitchB# set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 100                                            admin@SwitchB# set interface gigabit-ethernet te-1/1/2 family ethernet-switching native-vlan-id 100 admin@SwitchB# set protocols igmp-snooping vlan-id 100 mrouter interface te-1/1/1 admin@SwitchB# set protocols igmp-snooping vlan-id 100 mrouter interface te-1/1/2

Step3         Configure MVLAN and source groups.

admin@SwitchB# set protocols igmp-snooping vlan-id 100 mvr source group 225.0.0.1/32

Step4         Configure access ports.

admin@SwitchB# set interface gigabit-ethernet te-1/1/10 family ethernet-switching port-mode trunk admin@SwitchB# set interface gigabit-ethernet te-1/1/10 family ethernet-switching vlan members 101 admin@SwitchB# set interface gigabit-ethernet te-1/1/11 family ethernet-switching port-mode trunk admin@SwitchB# set interface gigabit-ethernet te-1/1/11 family ethernet-switching vlan members 102 admin@SwitchB# set interface gigabit-ethernet te-1/1/12 family ethernet-switching port-mode trunk admin@SwitchB# set interface gigabit-ethernet te-1/1/12 family ethernet-switching vlan members 103

Step5         Configure MVR receiver VLAN IDs.

admin@SwitchB# set protocols igmp-snooping vlan-id 100 mvr receiver vlan-list 101-103

Step6         Enable IP routing function.

admin@SwitchB# set ip routing enable true

Step7         Commit the configurations.

admin@SwitchB# commit

Verifying the Configuration

  • The command run show igmp-snooping mvr mvlan <vlan-id> can be used to check the MVLAN(s) of the MVR.

admin@SwitchB# run show igmp-snooping mvr mvlan 100 Mvlan     Receiver-vlan --------  ------------------ 100     101, 102, 103
  • The command run show igmp-snooping mvr receiver-vlan <vlan-id> will show the receiver VLAN and MVR VLAN information.

admin@SwitchB# run show igmp-snooping mvr receiver-vlan 101 Receiver-vlan   Mvlan -------------  ---------- 101         100
  • You can use the run show igmp-snooping groups command to show information about multicast group member ports which is used for Layer 2 forwarding, namely, the Layer 2 forwarding table.  Port List shows the egress ports for multicast packets.

admin@SwitchB# run show igmp-snooping groups Vlan      Group            Port List          Type --------  ------------------      -----------------   ---------------------- 100       225.0.0.1        te-1/1/10          Dynamic                                        te-1/1/11          Dynamic  te-1/1/1           Mrouter 



Copyright © 2026 Pica8 Inc. All Rights Reserved.