303
•
You can configure an IPv6 multicast group policy globally for all ports in MLD-snooping view or
for a port in interface view. For a port, the port-specific configuration takes priority over the
global configuration.
Configuring an IPv6 multicast group policy globally
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MLD-snooping view.
mld-snooping
N/A
3.
Configure an IPv6 multicast
group policy globally.
group-policy
ipv6-acl-number
[
vlan vlan-list
]
By default, no IPv6 multicast
group policies exist. Hosts can
join any IPv6 multicast groups.
Configuring an IPv6 multicast group policy on a port
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
interface interface-type interface-
number
N/A
3.
Configure an IPv6 multicast
group policy on the port.
mld-snooping
group-policy
ipv6-acl-number
[
vlan vlan-list
]
By default, no IPv6 multicast
group policies exist on a port.
Hosts attached to the port can join
any IPv6 multicast groups.
Enabling IPv6 multicast source port filtering
This feature enables the device to discard all IPv6 multicast data packets and to accept IPv6
multicast protocol packets. You can enable this feature on ports that connect to only IPv6 multicast
receivers.
You can enable multicast source port filtering for the specified ports in MLD-snooping view or for a
port in interface view. For a port, the configuration in interface view has the same priority as the
configuration in MLD-snooping view, and the most recent configuration takes effect.
Enabling IPv6 multicast source port filtering in MLD-snooping view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MLD-snooping view.
mld-snooping
N/A
3.
Enable IPv6 multicast source
port filtering globally.
source-deny
port interface-list
By default, IPv6 multicast source
port filtering is disabled globally.
Enabling IPv6 multicast source port filtering in interface view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view.
interface interface-type
interface-number
N/A
3.
Enable IPv6 multicast source
port filtering on the port.
mld-snooping source-deny
By default, IPv6 multicast source
port filtering is disabled on the
port.