3com S7906E Guide De Référence

Page de 2327
 
1-12 
Examples 
# Enable IP multicast routing, and then enable IGMP on VLAN-interface 100.  
<Sysname> system-view 
[Sysname] multicast routing-enable 
[Sysname] interface vlan-interface 100 
[Sysname-Vlan-interface100] igmp enable 
igmp group-policy 
Syntax 
igmp group-policy acl-number [ version-number ] 
undo igmp group-policy 
View 
Interface 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 and TO_EX report that does not carry a 
multicast source address carries a multicast source address of 0.0.0.0..  
version-number: IGMP version, in the range of 1 to 3. If you do not specify an IGMP version, the 
configured group filter will apply to IGMP reports of all versions.  
Description 
Use the igmp group-policy command to configure a multicast group filter on the current interface to 
control joins to specific multicast groups.  
Use the undo igmp group-policy command to remove the configured multicast group filter.  
By default, no multicast group filter is configured, namely a host can join any valid multicast group.  
Examples 
# Configure an ACL rule so that hosts on the subnet attached to VLAN-interface 1 can join multicast 
group 225.1.1.1 only.  
<Sysname> system-view 
[Sysname] acl number 2005 
[Sysname-acl-basic-2005] rule permit source 225.1.1.1 0 
[Sysname-acl-basic-2005] quit 
[Sysname] interface Vlan-interface 1 
[Sysname-Vlan-interface1] igmp group-policy 2005