subvlan (IPv6 multicast VLAN view)

Use subvlan to assign VLANs as sub-VLANs to an IPv6 multicast VLAN.

Use undo subvlan to delete sub-VLANs from an IPv6 multicast VLAN.

Syntax

subvlan vlan-list

undo subvlan { all | vlan-list }

Default

An IPv6 multicast VLAN does not have sub-VLANs.

Views

IPv6 multicast VLAN view

Predefined user roles

network-admin

mdc-admin

Parameters

vlan-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN by its ID or a range of VLANs in the form of start-vlan-id to end-vlan-id. The value range for the VLAN ID is 1 to 4094. The specified VLANs must exist and cannot be multicast VLANs or sub-VLANs of other IPv6 multicast VLANs.

all: Specifies all sub-VLANs of the current IPv6 multicast VLAN.

Usage guidelines

You must enable MLD snooping for VLANs to be configured as sub-VLANs of an IPv6 multicast VLAN.

Examples

# Assign VLAN 10 through VLAN 15 as sub-VLANs to multicast VLAN 100.

<Sysname> system-view
[Sysname] ipv6 multicast-vlan 100
[Sysname-ipv6-mvlan-100] subvlan 10 to 15