3com S7906E Guide De Référence

Page de 2327
 
1-12 
Examples 
# Enable IPv6 multicast routing and enable MLD on VLAN-interface 100. 
<Sysname> system-view 
[Sysname] multicast ipv6 routing-enable 
[Sysname] interface vlan-interface 100 
[Sysname-Vlan-interface100] mld enable 
mld group-policy 
Syntax 
mld group-policy acl6-number version-number ] 
undo mld group-policy 
View 
Interface view  
Default Level 
2: System level 
Parameters 
acl6-number: Number of a basic or advanced IPv6 ACL, in the range of 2000 to 3999. The source 
address or address range specified in the advanced IPv6 ACL rule is the IPv6 multicast source 
address(es) specified in MLDv2 reports, rather than the source address in the IPv6 packets. The 
system assumes that an MLDv1 report or an MLDv2 IS_EX or TO_EX report that does not carry an IPv6 
multicast source address carries a IPv6 multicast source address of 0::0.  
version-number: MLD version number, 1 or 2. If you do not specify an MLD version, the configured 
group filter will be effective for MLD reports of both version 1 and version 2. 
Description 
Use the mld group-policy command to configure an IPv6 multicast group filter on the current interface 
to limit access to the IPv6 multicast group. 
Use the undo mld group-policy command to remove the configured IPv6 multicast group filter. 
By default, no IPv6 multicast group filter is configured by default, that is, a host can join any valid IPv6 
multicast group. 
Examples 
# Configure an IPv6 ACL so that hosts on the subnet attached to Vlan-interface1 can join the IPv6 
multicast group FF03::101 only. 
<Sysname> system-view 
[Sysname] acl ipv6 number 2005 
[Sysname-acl6-basic-2005] rule permit source ff03::101 128 
[Sysname-acl6-basic-2005] quit 
[Sysname] interface Vlan-interface 1 
[Sysname-Vlan-interface1] mld group-policy 2005