H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Multicast
H3C S7500 Series Ethernet Switches Chapter 5
IGMP Configuration Commands
5-6
Description
Use the igmp group-policy command to set the filter of multicast groups on the VLAN
interface to control the access to IP multicast groups.
Use undo igmp group-policy command to remove the filter configured.
By default, no filter is configured, that is, a host can join any multicast group.
If you do not want the hosts on the network that the VLAN interface is on to join some
multicast groups and receive packets from the multicast groups, use this command to
limit the range of the multicast groups serviced by the VLAN interface.
Related commands: igmp host-join.
Caution:
Ethernet ports must belong to the igmp-group-policy-enabled VLAN interfaces only.
Examples
# Configure the access-list 2000.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] acl number 2000
[H3C-acl-basic-2000] rule permit source 225.0.0.0 0.255.255.255
[H3C-acl-basic-2000] quit
# Configure that only the hosts matching ACL 2000 rules on VLAN-interface10 can be
added to the multicast group whose IGMP version is specified to 2.
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] igmp group-policy 2000 2
5.1.6 igmp group-policy vlan
Syntax
igmp group-policy acl-number vlan vlan-id
undo igmp group-policy vlan vlan-id
View
Port view