74
Parameters
acl-number
: Basic or advanced ACL number, in the range of 2000 to 3999. The source address or
address range specified in the advanced ACL rule matches the multicast source address or addresses
specified in IGMPv3 reports, rather than the source address in the IP packets. The system assumes that an
IGMPv1 or IGMPv2 report or an IGMPv3 IS_EX and TO_EX report that does not carry a multicast source
address carries a multicast source address of 0.0.0.0.
version-number
: IGMP version, in the range of 1 to 3. If you do not specify an IGMP version, the
configured group filter applies to IGMP reports of all versions.
Description
Use
igmp group-policy
to configure a multicast group filter on the current interface to control the multicast
groups that the hosts on the current interface can join.
Use
undo
igmp group-policy
to remove the configured multicast group filter.
By default, no multicast group filter is configured, and a host can join any valid multicast group.
You can also use the
group-policy
(IGMP-snooping view) command to control the multicast groups that
hosts in a VLAN can join, achieving the same result as
igmp group-policy
. If you have configured a
multicast group filter on a VLAN interface to control the multicast groups that the hosts on the interface
can join, HP recommends you to configure the same multicast group filter in the corresponding VLAN.
Related commands:
group-policy
(IGMP-snooping view).
Examples
# Configure an ACL rule so that hosts on VLAN-interface 100 can join multicast group 225.1.1.1 only.
<Sysname> system-view
[Sysname] acl number 2005
[Sysname-acl-basic-2005] rule permit source 225.1.1.1 0
[Sysname-acl-basic-2005] quit
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] igmp group-policy 2005
igmp host-tracking
Syntax
igmp host-tracking
undo igmp host-tracking
View
Interface view
Default level
2: System level
Parameters
None
Description
Use
igmp host-tracking
to enable the IGMP host tracking function on an interface.
Use
undo igmp host-tracking
to disable the IGMP host tracking function on an interface
By default, this function is disabled.