Related commands
entry-limit (IGMP-snooping view)
port (multicast-VLAN view)
Use port to assign user ports to a multicast VLAN.
Use undo port to remove user ports from a multicast VLAN.
Syntax
port interface-list
undo port { all | interface-list }
Default
A multicast VLAN does not have user ports.
Views
Multicast VLAN view
Predefined user roles
network-admin
Parameters
interface-list: Specifies a port in the form of interface-type interface-number, or a port range in the form
of interface-type interface-number to interface-type interface-number.
all: Specifies all user ports in the current multicast VLAN.
Usage guidelines
A port can belong to only one multicast VLAN.
You can assign Ethernet ports and Layer 2 aggregate interfaces as user ports of a multicast VLAN.
Examples
# Assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/5 to multicast VLAN 100.
<Sysname> system-view
[Sysname] multicast-vlan 100
[Sysname-mvlan-100] port ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/5
port multicast-vlan
Use port multicast-vlan to assign a 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 multicast VLANs.
60