subvlan (multicast-VLAN view)

Use subvlan to assign VLANs as sub-VLANs to a multicast VLAN.

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

Syntax

subvlan vlan-list

undo subvlan { all | vlan-list }

Default

A multicast VLAN does not have sub-VLANs.

Views

Multicast VLAN view

Predefined user roles

network-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 multicast VLANs.

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

Usage guidelines

You must enable IGMP snooping for VLANs to be configured as sub-VLANs.

Examples

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

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