Group-Policy (Igmp-Snooping View) - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

[Sysname] igmp-snooping
[Sysname-igmp-snooping] fast-leave vlan 2

group-policy (IGMP-Snooping view)

Syntax
group-policy acl-number [ vlan vlan-list ]
undo group-policy [ vlan vlan-list ]
View
IGMP-Snooping view
Default Level
2: System level
Parameters
acl-number: Basic or advanced ACL number, in the range of 2000 to 3999. The source address or
address range specified in the advanced ACL rule is used to match the multicast source address(es)
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 or TO_EX report that does not carry a multicast
source address carries a multicast source address of 0.0.0.0.
vlan vlan-list: Defines one or multiple VLANs. You can provide up to 10 VLAN lists, by each of which
you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to
end-vlan-id, where the end VLAN ID must be greater than the start VLAN ID. The effective range of a
VLAN ID is 1 to 4094.
Description
Use the group-policy command to configure a global multicast group filter, namely to control the
multicast groups a host can join.
Use the undo group-policy command to remove the configured global multicast group filter.
By default, no global multicast group filter is configured, namely a host can join any valid multicast
group.
Note that:
If you do not specify any VLAN, the command will take effect for all VLANs; if you specify a VLAN or
multiple VLANs, the command will take effect for the specified VLAN(s) only.
If the specified ACL does not exist or the ACL rule is null, all multicast groups will be filtered out.
You can configure different ACL rules for a port in different VLANs; for a given VLAN, a newly
configured ACL rule will override the existing one.
Related commands: igmp-snooping group-policy.
Examples
# Apply ACL 2000 as a multicast group filter in VLAN 2 so that hosts in this VLAN can join 225.1.1.1
only.
<Sysname> system-view
[Sysname] acl number 2000
1-5

Advertisement

Table of Contents
loading

Table of Contents