ipv6 multicast-vlan

Use ipv6 multicast-vlan to configure an IPv6 multicast VLAN and enter its view, or enter the view of an existing IPv6 multicast VLAN.

Use undo ipv6 multicast-vlan to remove the configuration of IPv6 multicast VLANs.

Syntax

ipv6 multicast-vlan vlan-id

undo ipv6 multicast-vlan { all | vlan-id }

Default

No IPv6 multicast VLANs exist.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

vlan-id: Specifies an existing VLAN ID in the range of 1 to 4094.

all: Specifies all IPv6 multicast VLANs.

Usage guidelines

The total number of IPv6 multicast VLANs on a device cannot exceed the system upper limit.

You must enable MLD snooping for the VLAN to be configured as an IPv6 multicast VLAN.

As a best practice, do not configure an IPv6 multicast VLAN on a device that is enabled with IPv6 multicast routing.

Examples

# Enable MLD snooping for VLAN 100. Configure VLAN 100 as an IPv6 multicast VLAN and enter its view.

<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] quit
[Sysname] vlan 100
[Sysname-vlan100] mld-snooping enable
[Sysname-vlan100] quit
[Sysname] ipv6 multicast-vlan 100
[Sysname-ipv6-mvlan-100]

Related commands

ipv6 multicast routing

mld-snooping enable