48
Task Command
Display information about multicast
groups in multicast VLANs.
display multicast-vlan
group
[ source-address | group-address |
slot
slot-number |
verbose
|
vlan
vlan-id ] *
Display information about multicast
VLAN forwarding entries.
display multicast-vlan forwarding-table
[ group-address [
mask
{ mask-length | mask } ] | source-address [
mask
{ mask-length |
mask } ] |
slot
slot-number |
subvlan
vlan-id |
vlan
vlan-id ] *
Clear multicast groups in multicast
VLANs.
reset
multicast-vlan
group
[ source-address [
mask
{ mask-length |
mask } ] | group-address [
mask
{ mask-length | mask } ] |
vlan
vlan-id ] *
Multicast VLAN configuration examples
Sub-VLAN-based multicast VLAN configuration example
Network requirements
As shown in Figure 20:
• IGMPv2 runs on Layer 3 device Switch A, and IGMPv2 snooping runs on Layer 2 device Switch
B.
• Switch 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. They belong to VLAN 2 through VLAN 4, respectively.
Configure a sub-VLAN-based multicast VLAN on Switch B to meet the following requirements:
• Switch A sends the multicast data to Switch B through the multicast VLAN.
• Switch B forwards the multicast data to the receivers in different user VLANs.
Figure 20 Network diagram
Configuration procedure
1. Configure Switch A:
# Enable IP multicast routing.
Source
Receiver
Host A
VLAN 2
GE1/0/2
GE1/0/3
GE1/0/4
Switch B
IGMP querier
Switch A
1.1.1.1/24
Receiver
Host B
VLAN 3
Receiver
Host C
VLAN 4
GE1/0/1
GE1/0/1
Vlan-int10
10.110.1.1/24
GE1/0/2
Vlan-int20
1.1.1.2/24