27-15
To do...
Use the command...
Remarks
Create a multicast VLAN and
enter VLAN view
vlan vlan-id
—
Return to system view
quit
—
Enter VLAN interface view
interface Vlan-interface
vlan-id
—
Enable IGMP
igmp enable
Required
By default, the IGMP feature is
disabled.
Return to system view
quit
—
Enter Ethernet port view for the
Layer 2 switch to be configured
interface
interface-type
interface-number
—
Define the port as a trunk or
hybrid port
port link-type
{
trunk
|
hybrid
}
Required
port hybrid vlan
vlan-id-list
{
tagged
|
untagged
}
Specify the VLANs to be
allowed to pass the Ethernet
port
port trunk permit vlan vlan-list
Required
The multicast VLAN defined on
the Layer 2 switch must be
included, and the port must be
configured to forward tagged
packets for the multicast VLAN
if the port type is hybrid.
Follow these steps to configure multicast VLAN on the Layer 2 switch:
To do...
Use the 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