46
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Set the maximum number of
multicast VLAN forwarding
entries.
multicast-vlan entry-limit limit The default setting is 4000.
Displaying and maintaining multicast VLANs
Execute display commands in any view and reset commands in user view.
Task Command
Display information about multicast
VLANs.
display multicast-vlan [ vlan-id ]
Display information about multicast
VLAN forwarding entries.
display multicast-vlan group [ source-address | group-address | slot
slot-number | verbose | vlan vlan-id ] *
Display information about multicast
VLAN forwarding tables.
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 VLAN forwarding
entries.
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 the multicast group 2 2 4 .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.