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. |