59
To do... Use the command... Remarks
Specify the user VLAN that
comprises the current user ports
as the default VLAN
port hybrid pvid vlan vlan-id
Required
VLAN 1 by default
Configure the current user ports to
permit packets of the specified
multicast VLANs to pass and
untag the packets
port hybrid vlan vlan-id-list
untagged
Required
By default, a hybrid port permits
only packets of VLAN 1 to pass.
NOTE:
For more information about the port link-type, port hybrid pvid vlan, and port hybrid vlan
commands, see the
Layer 2—LAN Switching Command Reference
.
Configuring multicast VLAN ports
In this approach, you configure a VLAN as a multicast VLAN and assign user ports to it. You can do this
by either adding the user ports in the multicast VLAN or specifying the multicast VLAN on the user ports.
These two methods provide the same result.
Configuring multicast VLAN ports in multicast VLAN view
Follow these steps to configure multicast VLAN ports in multicast VLAN view:
To do... Use the command... Remarks
Enter system view
system-view
—
Configure the specified VLAN as a
multicast VLAN and enter multicast
VLAN view
multicast-vlan vlan-id
Required
Not a multicast VLAN by default
Assign ports to the multicast VLAN
port interface-list
Required
By default, a multicast VLAN has
no ports.
Configuring multicast VLAN ports in interface view or port group view
Follow these steps to configure multicast VLAN ports in interface view or port group view:
To do… Use this command… Remarks
Enter system view system-view —
Configure the specified VLAN as
a multicast VLAN and enter
multicast VLAN view
multicast-vlan vlan-id
Required
Not a multicast VLAN by default.
Return to system view quit —
Enter interface view or port group
view
interface interface-type interface-
number
Required
Use either command.