beautypg.com

Configuring ipv6 multicast source port filtering – H3C Technologies H3C S10500 Series Switches User Manual

Page 288

background image

273

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Layer 2 Ethernet interface
view, Layer 2 aggregate

interface view, or port group

view

Enter Layer 2 Ethernet interface
view or Layer 2 aggregate

interface view:
interface interface-type
interface-number

Enter port group view:
port-group manual
port-group-name

Required
Use either command

Configure an IPv6 multicast
group filter

mld-snooping group-policy
acl6-number [ vlan vlan-list ]

Required
By default, no IPv6 group filter is
configured on an interface. That is, the

hosts on the interface can join any

valid multicast group.

NOTE:

When you configure a multicast group filter in an IPv6 multicast VLAN, be sure to configure the filter in
the sub-VLANs of the IPv6 multicast VLAN. Otherwise, the configuration does not take effect.

In MLDv2, when a host is enabled to join multiple multicast groups, the multicast group filter cannot
correctly filter multicast groups because the host that runs MLDv2 sends multiple multicast groups that it

wants to join in one membership report.

Configuring IPv6 multicast source port filtering

When the IPv6 multicast source port filtering feature is enabled on a port, the port can connect only to

IPv6 multicast receivers rather than multicast sources. The reason is that the port blocks all IPv6 multicast

data packets but it permits multicast protocol packets to pass.
If this feature is disabled on a port, the port can connect to both multicast sources and IPv6 multicast

receivers.

Configuring IPv6 multicast source port filtering globally

Follow these steps to configure IPv6 multicast source port filtering:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter MLD-snooping view

mld-snooping

Enable IPv6 multicast source port
filtering

source-deny port interface-list

Required
Disabled by default.

Configuring IPv6 multicast source port filtering on a port or a group of ports

Follow these steps to configure IPv6 multicast source port filtering on a port or a group of ports:

To do...

Use the command...

Remarks

Enter system view

system-view