2-15 
Table 2-19 Configure multicast VLAN on the Layer 2 switch 
Operation  Command  Remarks 
Enter system view 
system-view 
—
 
Enable IGMP Snooping  
igmp-snooping enable 
—
 
Enter VLAN view 
vlan vlan-id 
—
 
Enable IGMP Snooping  
igmp-snooping enable 
Required 
Enable multicast VLAN 
service-type multicast 
Required 
Return to system view 
quit 
—
 
Enter Ethernet port view for the 
Layer 3 switch  
interface interface-type 
interface-number 
—
 
Define the port as a trunk or 
hybrid port 
port link-type { trunk | 
hybrid } 
Required 
port hybrid vlan vlan-list 
{ tagged | untagged } 
Specify the VLANs to be 
allowed to pass the Ethernet 
port 
port trunk permit vlan vlan-list
Required 
The multicast VLAN must be 
included, and the port must be 
configured to forward tagged 
packets for the multicast VLAN 
if the port type is hybrid. 
Enter Ethernet port view for a 
user device 
interface interface-type 
interface-number 
—
 
Define the port as a hybrid port 
port link-type hybrid 
Required 
Specify the VLANs to be 
allowed to pass the port 
port hybrid vlan vlan-id-list 
{ tagged | untagged } 
Required 
The multicast VLAN must be 
included, and the port must be 
configured to forward tagged 
packets for the multicast VLAN.
 
 
z  One port can belong to only one multicast VLAN. 
z  The port connected to a user terminal must be a hybrid port. 
z  The multicast member ports must be in the same VLAN with the router port. Otherwise, the 
multicast member port cannot receive multicast packets. 
z  If a router port is in a multicast VLAN, the router port must be configured as a trunk port or a hybrid 
port that allows tagged packets to pass for the multicast VLAN. Otherwise, all the multicast 
member ports in this multicast VLAN cannot receive multicast packets. 
z  The multicast VLAN function and the VLAN mapping function cannot be configured at the same 
time.  
 
Displaying and Maintaining IGMP Snooping 
After the configuration above, you can execute the following display commands in any view to verify 
the configuration by checking the displayed information.