- Table of Contents
- Related Documents
-
| Title | Size | Download |
|---|---|---|
| 04-IPv6 Multicast VLAN Commands | 44.47 KB |
IPv6 multicast VLAN configuration commands································ 1
display multicast-vlan ipv6······························································································· 1
multicast-vlan ipv6·········································································································· 2
port (IPv6 multicast VLAN view)························································································ 3
port multicast-vlan ipv6···································································································· 3
IPv6 multicast VLAN configuration commands
display multicast-vlan ipv6
Use display multicast-vlan ipv6 to display information about the specified IPv6 multicast VLANs.
Syntax
display multicast-vlan ipv6 [ vlan-id ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
vlan-id: Specifies 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.
Usage guidelines
Support for the IPv6 multicast VLAN configuration methods depends on your device model. The command output is different from model to model:
· If your device supports only sub-VLAN-based IPv6 multicast VLAN, this command displays only the sub-VLAN information.
· If your device supports only port-based IPv6 multicast VLAN, this command displays only the port information.
· If your device supports both methods, this command displays both the sub-VLAN information and port information.
Examples
# Display information about all IPv6 multicast VLANs.
<Sysname> display multicast-vlan ipv6
Total 3 IPv6 multicast-vlan(s)
IPv6 Multicast vlan 100
port list:
no port
IPv6 Multicast vlan 200
port list:
GE1/0/1 GE1/0/2
IPv6 Multicast vlan 300
port list:
no port
Table 1 Command output
|
Field |
Description |
|
Total 3 IPv6 multicast-vlan(s) |
Total number of IPv6 multicast VLANs. |
|
port list |
Port list of the IPv6 multicast VLAN. |
multicast-vlan ipv6
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.
Syntax
multicast-vlan ipv6 vlan-id
undo multicast-vlan ipv6 { all | vlan-id }
Default
No VLAN is configured as an IPv6 multicast VLAN.
Views
System view
Default command 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.
Usage guidelines
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 port-based IPv6 multicast VLAN, you need to enable MLD snooping in both the IPv6 multicast VLAN and all user VLANs.
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]
Related commands
mld-snooping enable
port (IPv6 multicast VLAN view)
Use port to assign ports to the current IPv6 multicast VLAN.
Use undo port to delete ports from the current IPv6 multicast VLAN.
Syntax
port interface-list
undo port { all | interface-list }
Default
An IPv6 multicast VLAN has no member ports.
Views
IPv6 multicast VLAN view
Default command level
2: System level
Parameters
interface-list: Specifies a space-separated list of interface items. Each item specifies an interface or an interface list in the format of start-interface-type interface-number to end-interface-type interface-number. The interface-type interface-number argument specifies an interface by its type and number.
all: Specifies all ports in the current IPv6 multicast VLAN.
Usage guidelines
A port can belong to only one IPv6 multicast VLAN.
You can assign only Ethernet ports, WLAN-ESS interfaces, and WLAN-MESH interfaces to a multicast VLAN.
Examples
# Assign ports WLAN-ESS 2 through WLAN-ESS 3 to IPv6 multicast VLAN 100.
<Sysname> system-view
[Sysname] multicast-vlan ipv6 100
[Sysname-ipv6-mvlan-100] port WLAN-ESS 2 to WLAN-ESS 3
port multicast-vlan ipv6
Use port multicast-vlan ipv6 to assign the current port to the specified IPv6 multicast VLAN.
Use undo port multicast-vlan ipv6 to restore the default.
Syntax
port multicast-vlan ipv6 vlan-id
undo port multicast-vlan ipv6
Default
A port does not belong to any IPv6 multicast VLAN.
Views
Ethernet interface view, WLAN-ESS interface view, Layer 2 aggregate interface view, port group view.
Default command level
2: System level
Parameters
vlan-id: Specifies an IPv6 multicast VLAN, in the range of 1 to 4094.
Usage guidelines
Configuration views for this command vary by device models. For more information, see About the H3C Access Controllers Command References.
A port can belong to only one IPv6 multicast VLAN.
Examples
# Assign WLAN-ESS 1 to IPv6 multicast VLAN 100.
<Sysname> system-view
[Sysname] interface WLAN-ESS 1
[Sysname-WLAN-ESS1] port multicast-vlan ipv6 100
