port (multicast VLAN view)
Syntax
port interface-list
undo port { all | interface-list }
View
Multicast VLAN view
Default level
2: System level
Parameters
interface-list: Specifies a port in the form of interface-type interface-number, or a port range in the form
of interface-type start-interface-number to interface-type end-interface-number, where the end interface
number must be greater than the start interface number.
all: Specifies all the ports in the current multicast VLAN.
Description
Use port to assign the specified ports to the current multicast VLAN.
Use undo port to delete the specified ports or all ports from the current multicast VLAN.
By default, a multicast VLAN has no ports.
A port can belong to only one multicast VLAN.
You can assign only Ethernet ports, and Layer 2 aggregate interfaces as multicast VLAN ports.
Examples
# Assign ports GigabitEthernet 1/0/1 through GigabitEthernet 1/0/5 to multicast VLAN 100.
<Sysname> system-view
[Sysname] multicast-vlan 100
[Sysname-mvlan-100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/5
port multicast-vlan
Syntax
port multicast-vlan vlan-id
undo port multicast-vlan
View
Ethernet interface view, Layer 2 aggregate interface view.
Default level
2: System level
Parameters
vlan-id: Specifies a multicast VLAN by its ID, in the range of 1 to 4094.
Description
Use port multicast-vlan to assign the current port to the specified multicast VLAN.
39