H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Multicast
H3C S7500 Series Ethernet Switches Chapter 5
IGMP Configuration Commands
5-7
Parameters
acl-number: Basic IP ACL number, defining a multicast group range. The value ranges
from 2000 to 2999.
vlan-id: ID of the VLAN to which the port belongs.
Description
Use the igmp group-policy vlan command to set the filter of multicast groups on the
port to control the access to the IP multicast groups.
Use the undo igmp group-policy vlan command to remove the configured filter.
By default, no filter is configured, that is, a host can join any multicast group.
This command has the same function with the igmp group-policy command. Note that
the port with the igmp group-policy command enabled must belong to the specified
VLAN, and IGMP must be enabled on this port; otherwise, the configuration does not
function.
Related commands: igmp group-policy, igmp host-join vlan, gmp host-join port.
Examples
# Configure that only the hosts matching ACL 2000 rules on Ethernet1/0/1 in
VLAN-interface10 can be added to the multicast group.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] igmp enable
[H3C-Vlan-interface10] quit
[H3C] interface Ethernet 0/1
[H3C-Ethernet0/1] port access vlan 10
[H3C-Ethernet0/1] igmp group-policy 2000 vlan 10
5.1.7 igmp host-join port
Syntax
igmp host-join group-address port interface-list
undo igmp host-join group-address port interface-list
View
VLAN interface view
Parameters
group-address: Multicast address of the multicast group that an interface will join.
port: Specifies the port in the VLAN interface.