Command Manual – Multicast Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 5 IGMP Configuration Commands
Huawei Technologies Proprietary
5-6
number. For the meanings and ranges of the two arguments, refer to the parameter
descriptions in part “Port Basic Configuration” in this manual.
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 to use this command to
limit the range of the multicast groups serviced by the VLAN interface.
Related command:
igmp host-join
.
Caution:
Ethernet ports must belong to the igmp-group-policy-enabled VLAN interfaces only.
Example
# Configure the access-list 2000.
<Quidway>system-view
System View: return to User View with Ctrl+Z.
[Quidway] acl number 2000
[Quidway-acl-basic-2000] rule permit source 225.0.0.0 0.255.255.255
[Quidway-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.
[Quidway-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