252
Table 51
Command output
Field Description
subvlan list
List of sub-VLANs of the IPv6 multicast VLAN
port list
Port list of the IPv6 multicast VLAN
multicast-vlan ipv6
Syntax
multicast-vlan ipv6
vlan-id
undo multicast-vlan ipv6
{
all
|
vlan-id
}
View
System view
Default level
2: System level
Parameters
vlan-id
: Specifies a VLAN by its ID, in the range of 1 to 4094.
all
: Specifies all IPv6 multicast VLANs.
Description
Use
multicast-vlan ipv6
to configure the specified VLAN as an IPv6 multicast VLAN and enter IPv6
multicast VLAN view.
Use
undo multicast-vlan ipv6
to remove the specified VLAN as an IPv6 multicast VLAN.
No VLAN is an IPv6 multicast VLAN by default.
The specified VLAN to be configured as an IPv6 multicast VLAN must exist.
The IPv6 multicast VLAN feature cannot be enabled on a device with IPv6 multicast routing enabled.
For a sub-VLAN-based IPv6 multicast VLAN, you must enable MLD snooping only in the IPv6 multicast
VLAN. For a port-based IPv6 multicast VLAN, you must enable MLD snooping in both the IPv6 multicast
VLAN and all the user VLANs.
Related commands:
mld-snooping enable
and
multicast ipv6 routing-enable
.
Examples
# Enable MLD snooping in VLAN 100. Configure it as an IPv6 multicast VLAN and enter IPv6 multicast
VLAN view.
<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] quit
[Sysname] vlan 100
[Sysname-vlan100] mld-snooping enable
[Sysname-vlan100] quit
[Sysname] multicast-vlan ipv6 100
[Sysname-ipv6-mvlan-100]