Examples
# Configure a multicast group filter on VLAN-interface 10 so that the hosts on the subnet attached to the
interface can join only multicast group 225.1.1.1 and the interface accepts only IGMPv2 reports.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 225.1.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] interface Vlan-interface 10
[Sysname-Vlan-interface10] igmp group-policy 2000 2
igmp group-policy vlan
Syntax
igmp group-policy acl-number vlan vlan-id
undo igmp group-policy vlan vlan-id
View
Ethernet port view
Parameters
acl-number: Basic ACL number, defining a multicast group range. The value ranges from 2,000 to
2,999.
vlan vlan-id: Specifies the VLAN to which the current port belongs. The effective range for vlan-id is 1 to
4094.
Description
Use the igmp group-policy vlan command to configure a multicast group filter on the current port to
control the access to the multicast groups in the defined group range.
Use the undo igmp group-policy vlan command to remove the configured multicast group filter.
By default, no filter is configured; that is, a host can join any multicast group.
To restrict the hosts attached to a port from joining certain multicast groups, you can use this command
to limit the range of multicast groups that the port serves. This command delivers the same result as the
igmp group-policy command.
Note that the port on which the command is configured must belong to the specified VLAN and be IGMP
enabled; otherwise, the configuration does not take effect.
Related commands: igmp group-policy.
Examples
# Allow hosts attached to Ethernet 1/0/1 in VLAN 10 to join only multicast group 225.1.1.1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 225.1.1.1 0
[Sysname-acl-basic-2000] quit
2-6
Need help?
Do you have a question about the s3600 series and is the answer not in the manual?
Questions and answers