40
Use
undo
port multicast-vlan
to restore the default.
By default, a port does not belong to any multicast VLAN.
A port can belong to only one multicast VLAN.
Examples
# Assign GigabitEthernet 1/0/1 to multicast VLAN 100.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port multicast-vlan 100
subvlan (multicast VLAN view)
Syntax
subvlan
vlan-list
undo
subvlan
{
all
|
vlan-list
}
View
Multicast VLAN view
Default level
2: System level
Parameters
vlan-list
: Specifies a VLAN in the form of
vlan-id
, or a VLAN range in the form of
start-vlan-id
to
end-vlan-id
, where the end VLAN ID must be greater than the start VLAN ID. The value range of a VLAN
ID is 1 to 4094.
all
: Specifies all the sub-VLANs of the current multicast VLAN.
Description
Use
subvlan
to configure sub-VLANs for the current multicast VLAN.
Use
undo
subvlan
to remove the specified sub-VLANs or all sub-VLANs from the current multicast VLAN.
A multicast VLAN has no sub-VLANs by default.
The VLANs to be configured as sub-VLANs of the multicast VLAN must have existed and must not be
multicast VLANs or sub-VLANs of another multicast VLAN.
The number of sub-VLANs of the multicast VLAN must not exceed the system-defined limit.
Examples
# Configure VLAN 10 through VLAN 15 as sub-VLANs of multicast VLAN 100.
<Sysname> system-view
[Sysname] multicast-vlan 100
[Sysname-mvlan-100] subvlan 10 to 15