port multicast-vlan
Use port multicast-vlan to assign a user port to a multicast VLAN.
Use undo port multicast-vlan to restore the default.
Syntax
port multicast-vlan vlan-id
undo port multicast-vlan
Default
A port does not belong to a multicast VLAN.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
vlan-id: Specifies a multicast VLAN by its VLAN ID in the range of 1 to 4094.
Usage guidelines
You can assign a port to only one multicast VLAN.
For a port to be assigned to a multicast VLAN, you must enable IGMP snooping for the VLAN to which the port belongs.
Examples
# Assign HundredGigE 1/0/1 as a user port to multicast VLAN 100.
<Sysname> system-view [Sysname] interface hundredgige 1/0/1 [Sysname-HundredGigE1/0/1] port multicast-vlan 100