- Table of Contents
-
- 07-IP Multicast Command Reference
- 00-Preface
- 01-IGMP Snooping Commands
- 02-PIM Snooping Commands
- 03-Multicast VLAN Commands
- 04-Multicast Routing and Forwarding Commands
- 05-IGMP Commands
- 06-PIM Commands
- 07-MSDP Commands
- 08-MBGP Commands
- 09-Multicast VPN Commands
- 10-MLD Snooping Commands
- 11-IPv6 PIM Snooping Commands
- 12-IPv6 Multicast VLAN Commands
- 13-IPv6 Multicast Routing and Forwarding Commands
- 14-MLD Commands
- 15-IPv6 PIM Commands
- 16-IPv6 MBGP Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
12-IPv6 Multicast VLAN Commands | 61.69 KB |
IPv6 multicast VLAN configuration commands
multicast-vlan ipv6 entry-limit
subvlan (IPv6 multicast VLAN view)
display multicast-vlan ipv6
Syntax
display multicast-vlan ipv6 [ vlan-id ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
vlan-id: VLAN ID of an IPv6 multicast VLAN, in the range of 1 to 4094. If this argument is not provided, the information about all IPv6 multicast VLANs will be displayed.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display multicast-vlan ipv6 command to view information about the specified IPv6 multicast VLAN.
Examples
# View information about IPv6 multicast VLANs.
<Sysname> display multicast-vlan ipv6
Total 1 IPv6 multicast-vlan(s)
IPv6 Multicast vlan 100
subvlan list:
vlan 2 4-6
Table 1 Output description
Field |
Description |
Total 1 IPv6 multicast-vlan(s) |
Total number of IPv6 multicast VLANs |
IPv6 Multicast vlan |
An IPv6 multicast VLAN |
subvlan list |
List of sub-VLANs 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: Clears all IPv6 multicast VLANs.
Description
Use the multicast-vlan ipv6 command to configure the specified VLAN as an IPv6 multicast VLAN and enter IPv6 multicast VLAN view.
Use the undo multicast-vlan ipv6 command to remove the specified VLAN as an IPv6 multicast VLAN.
By default, no VLAN is an IPv6 multicast VLAN.
The specified VLAN to be configured as an IPv6 multicast VLAN must exist.
You cannot enable IPv6 multicast VLAN on a device with IPv6 multicast routing enabled in the public instance or VPN instance.
MLD snooping must be enabled in the multicast VLAN before the IPv6 multicast VLAN feature can be implemented, while it is not necessary to enable MLD snooping in the sub-VLANs of the IPv6 multicast VLAN.
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]
multicast-vlan ipv6 entry-limit
Syntax
multicast-vlan ipv6 entry-limit limit
undo multicast-vlan ipv6 entry-limit
View
System view
Default level
2: System level
Parameters
limit: Maximum number of entries in the MLD snooping forwarding table of IPv6 multicast VLANs. The value ranges from 0 to 1024.
Description
Use the multicast-vlan ipv6 entry-limit command to configure the maximum number of MLD snooping forwarding entries of IPv6 multicast VLANs.
Use the undo multicast-vlan ipv6 entry-limit command to restore the default.
By default, the upper limit is 1024.
Related commands: entry-limit.
Examples
# Configure the MLD snooping forwarding table of the IPv6 multicast VLANs to contain 512 entries at most.
<Sysname> system-view
[Sysname] multicast-vlan ipv6 entry-limit 512
subvlan (IPv6 multicast VLAN view)
Syntax
subvlan vlan-list
undo subvlan { all | vlan-list }
View
IPv6 multicast VLAN view
Default level
2: System level
Parameters
vlan-list: Defines one or multiple VLANs as sub-VLANs. You can provide up to 10 VLAN lists, by each of which you can specify an individual 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: Removes all sub-VLANs of the current IPv6 multicast VLAN.
Description
Use the subvlan command to configure sub-VLAN(s) for the current IPv6 multicast VLAN.
Use the undo multicast-vlan ipv6 subvlan command to remove the specified sub-VLAN(s) from the current IPv6 multicast VLAN.
By default, an IPv6 multicast VLAN has no sub-VLANs.
The VLANs to be configured as the sub-VLANs of the IPv6 multicast VLAN must exist and must not be IPv6 multicast VLANs or sub-VLANs of another IPv6 multicast VLAN.
Examples
# Configure VLANs 10 through 15 as sub-VLANs of IPv6 multicast VLAN 100.
<Sysname> system-view
[Sysname] multicast-vlan ipv6 100
[Sysname-ipv6-mvlan-100] subvlan 10 to 15