Use undo igmp-snooping group-policy to remove the multicast group policy on a port.
Syntax
Default
to the port can join
roups.
Views
Predefine
Parameters
L
0 VLAN items. Each item specifies a VLAN by its
LAN ID is 1
Usage gu
IGMP reports. In an
urce address and
s is considered to be
Pv2 reports.
IGMPv3 IS_EX and IGMPv3 TO_EX reports that do not carry multicast source addresses.
ord in the ACL rules are ignored.
ACL rules on a port in different VLANs. However, for a given VLAN, a newly
e existing one.
oins dynamically.
P-snooping view have the same function but
y command in IGMP-snooping view takes effect on all ports.
y command takes effect on the current port.
For a port, the igmp-snooping group-policy command takes priority over the group-policy command in
Examples
<Sysname> system-view
[Sysname] acl number 2000
igmp-snooping group-policy acl-number [ vlan vlan-list ]
undo igmp-snooping group-policy [ vlan vlan-list ]
Multicast group policies are not configured on a port, and the hosts attached
multicast g
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
d user roles
network-admin
acl-number: Specifies an IPv4 basic or advanced ACL by its number in the range of 2000 to 3999.
Receiver hosts can join only the multicast groups that the ACL permits. If the ACL does not exist or the AC
does not contain valid rules, receiver hosts cannot join multicast groups.
vlan vlan-list: Specifies a space-separated list of up to 1
ID or a range of VLANs in the form of start-vlan-id to end-vlan-id. The value range for the V
to 4094. If you do not specify a VLAN, the command takes effect on all VLANs.
idelines
In an IPv4 basic ACL, the source keyword matches the multicast group address in
IPv4 advanced ACL, the source and destination keywords match the multicast so
multicast group address in IGMP reports, respectively. The multicast source addres
0.0.0.0 for the following IGMP reports:
• IGMPv1 and IGM
•
If you specify the vpn-instance keyword in an ACL rule, the rule does not take effect. The other optional
parameters except the time-range keyword and the fragment keyw
You can configure different
configured ACL rule overrides th
This command takes effect only on the multicast groups that a port j
This command and the group-policy command in IGM
different effective ranges:
• The group-polic
• The igmp-snooping group-polic
IGMP-snooping view.
# Configure a multicast group policy for VLAN 2 on Ten-GigabitEthernet 1/0/1 so that hosts attached
to the port in VLAN 2 can join only the multicast group 225.1.1.1.
24