R3303-HP HSR6800 Routers IP Multicast Command Reference
82
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] igmp group-limit 128
Related commands
• igmp static-group
• igmp-snooping group-limit
• reset igmp group
igmp group-policy
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.
Syntax
igmp group-policy acl-number [ version-number ]
undo igmp group-policy
Default
No multicast group filter is configured, and a host can join any valid multicast group.
Views
Interface view
Default command level
2: System level
Parameters
acl-number: Specifies a basic or advanced ACL number in the range of 2000 to 3999. A host can join
only the multicast groups that match the permit statement in the specified ACL. 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: Specifies an 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.
Usage guidelines
For a device that supports both IGMP snooping and IGMP, 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.
Examples
# Configure an ACL rule so that hosts on GigabitEthernet 2/1/1 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