port (multicast-VLAN view)

Use port to assign user ports to a multicast VLAN.

Use undo port to delete 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

You can assign only Layer 2 Ethernet ports or Layer 2 aggregate interfaces to multicast VLANs. Additionally, you can assign a port to only one multicast VLAN.

For ports to be assigned to a multicast VLAN, you must enable IGMP snooping for the VLANs to which the ports belong.

Examples

# Assign HundredGigE 1/0/1 through HundredGigE 1/0/3 as user ports to multicast VLAN 100.

<Sysname> system-view
[Sysname] multicast-vlan 100
[Sysname-mvlan-100] port hundredgige 1/0/1 to hundredgige 1/0/3