29
multicast data for the multicast group is not sent to this port, and the user cannot retrieve the
program.
Configuration guidelines
•
When you configure a multicast group filter in a multicast VLAN, be sure to configure the filter in
the sub-VLANs of the multicast VLAN. Otherwise, the configuration does not take effect.
•
In IGMPv3, when a host is enabled to join multiple multicast groups, the multicast group filter
cannot correctly filter multicast groups because the host that runs IGMPv3 sends multiple
multicast groups that it wants to join in one membership report.
Configuration procedure
To configure a multicast group filter globally:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IGMP-snooping view.
igmp-snooping
N/A
3.
Configure a multicast group
filter globally.
group-policy
acl-number
[
vlan
vlan-list
]
By default, no group filter is
globally configured. That is, a host
can join any valid multicast group.
To configure a multicast group filter on a port:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view, or
enter 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.
3.
Configure a multicast group
filter on a port.
igmp-snooping group-policy
acl-number
[
vlan
vlan-list
]
By default, no group filter is
configured on the current port.
That is, the hosts on this port can
join any valid multicast group.
Configuring multicast source port filtering
When the multicast source port filtering feature is enabled on a port, the port can connect to only
multicast receivers rather than to multicast sources, because the port blocks all multicast data
packets but it permits multicast protocol packets to pass.
If this feature is disabled on a port, the port can connect to both multicast sources and multicast
receivers.
Configuring multicast source port filtering globally
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IGMP-snooping view.
igmp-snooping
N/A