
85
To do...
Use the command...
Remarks
IPv6 multicast VLAN view
configured by default
Assign port(s) to the IPv6
multicast VLAN
port
interface-list
Required
By default, an IPv6 multicast
VLAN has no ports.
Configure IPv6 multicast VLAN ports in interface view or port group view
Follow these steps to configure IPv6 multicast VLAN ports in interface view or port group view:
To do…
Use this command…
Remarks
Enter system view
system-view
—
Configure the specified VLAN
as an IPv6 multicast VLAN
and enter IPv6 multicast
VLAN view
multicast-vlan ipv6
vlan-id
Required
Not an IPv6 multicast VLAN
by default.
Return to system view
quit
—
Enter Layer 2 Ethernet
interface/Layer 2 aggregate
interface view or port group
view
interface
interface-type interface-number
Required
Use either command.
port-group manual
port-group-name
Configure the port(s) as
port(s) of the IPv6 multicast
VLAN
port multicast-vlan ipv6
vlan-id
Required
By default, a user port does
not belong to any IPv6
multicast VLAN.
NOTE:
•
Do not configure IPv6 multicast VLAN on a device with multicast routing enabled.
•
The VLAN to be configured as an IPv6 multicast VLAN must exist.
•
A port can belong to only one IPv6 multicast VLAN.
Displaying and maintaining IPv6 multicast VLAN
To do…
Use the command…
Remarks
Display information about an IPv6
multicast VLAN
display multicast-vlan ipv6
[
vlan-id
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
IPv6 multicast VLAN configuration examples
Network requirements
•
As shown in
, Router A connects to an IPv6 multicast source—Source—through
GigabitEthernet 1/0/1, and to Switch A through GigabitEthernet 1/0/2.
•
MLDv1 runs on Router A. MLDv1 snooping runs on Switch A. Router A acts as the MLD querier.
•
Switch A's GigabitEthernet 1/0/1 belongs to VLAN 10, GigabitEthernet 1/0/2 through
GigabitEthernet 1/0/4 belong to VLAN 2 through VLAN 4 respectively, and Host A through Host
C are attached to GigabitEthernet 1/0/2 through GigabitEthernet 1/0/4 of Switch A.