Command Manual – Multicast Protocol
Quidway S8500 Series Routing Switches Chapter 4 IGMP Configuration Commands
Huawei Technologies Proprietary
4-8
4.1.7 igmp group-policy
Syntax
igmp group-policy acl-number
undo igmp group-policy
View
VLAN view
Parameter
acl-number: Number of basic ACL, in the range of 2,000 to 2,999.
Description
Use the igmp group-policy command to configure the filtering rule of multicast groups
on a specified VLAN so as to control the access to IP multicast groups. You can
configure only one ACL rule for each VLAN, and the new configured rule will replace
the old one.
Use the undo igmp group-policy command to cancel the configuration.
By default, no filtering rule is set in a VLAN. In this case, a host can join any multicast
group.
Example
# Create ACL2001 and configure the flow rule for basic ACL, using the source IP
address serves as the destination multicast address.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway]acl number 2001
[Quidway-acl-basic-2001]rule 0 permit source 224.1.1.1 0
[Quidway-acl-basic-2001]quit
# Create VLAN 2.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway]vlan 2
# Configure the filtering rule of multicast groups on VLAN2.
[Quidway-vlan2]igmp group-policy 2001
# Cancel the filtering rule in VLAN2.
[Quidway-vlan2]undo igmp group-policy