54
Configuration procedure
To configure multicast VLAN ports in multicast VLAN view:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the specified VLAN
as a multicast VLAN and enter
multicast VLAN view.
multicast-vlan
vlan-id
By default, a VLAN is not a
multicast VLAN.
3.
Assign ports to the multicast
VLAN.
port
interface-list
By default, a multicast VLAN has
no ports.
To configure multicast VLAN ports in interface view or port group view:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the specified VLAN
as a multicast VLAN and enter
multicast VLAN view.
multicast-vlan
vlan-id
By default, a VLAN is not a
multicast VLAN.
3.
Return to system view.
quit
N/A
4.
Enter interface view or port
group view.
•
Enter Layer 2 Ethernet interface
view or Layer 2 aggregate
interface view:
interface
interface-type
interface-number
•
Enter port group view:
port-group
manual
port-group-name
Use either command.
5.
Configure the current port as
a member port of the multicast
VLAN.
port multicast-vlan
vlan-id
By default, a user port does not
belong to any multicast VLAN.
Displaying and maintaining multicast VLAN
Task Command
Remarks
Display information about a
multicast VLAN.
display multicast-vlan
[
vlan-id
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Multicast VLAN configuration examples
Network requirements
As shown in
, IGMPv2 runs on Router A. IGMPv2 Snooping runs on Switch A. Router A acts as
the IGMP querier. The multicast source sends multicast data to multicast group 224.1.1.1. Host A, Host B,
and Host C are receivers of the multicast group, and the hosts belong to VLAN 2 through VLAN 4
respectively.