31
Configuring a multicast group policy
This feature enables the device to filter IGMP reports by using an ACL that specifies the multicast
groups and the optional sources. It is used to control the multicast groups that hosts can join.
Configuration restrictions and guidelines
When you configure a multicast group policy, follow these restrictions and guidelines:
•
This configuration takes effect only on the multicast groups that ports join dynamically.
•
You can configure a multicast group policy globally for all ports in IGMP-snooping view or for a
port in interface view. For a port, the port-specific configuration takes priority over the global
configuration.
Configuring a multicast group policy 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
policy globally.
group-policy
ipv4-acl-number
[
vlan vlan-list
]
By default, no multicast group
policies exist, and hosts can join
any multicast groups.
Configuring a multicast group policy 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.
interface
interface-type
interface-number
N/A
3.
Configure a multicast group
policy on the port.
igmp-snooping group-policy
ipv4-acl-number
[
vlan vlan-list
]
By default, no multicast group
policies exist on a port, and hosts
attached to the port can join any
multicast groups.
Enabling multicast source port filtering
This feature enables the device to discard all multicast data packets and to accept multicast protocol
packets. You can enable this feature on ports that connect only to multicast receivers.
You can enable this feature for the specified ports in IGMP-snooping view or for a port in interface
view. For a port, the configuration in interface view has the same priority as the configuration in
IGMP-snooping view, and the most recent configuration takes effect.
Enabling multicast source port filtering in IGMP-snooping view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IGMP-snooping view.
igmp-snooping
N/A
3.
Enable multicast source port
filtering.
source-deny
port interface-list
By default, multicast source port
filtering is disabled.