31
Configuring a 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 a multicast group
policy on the port.
igmp-snooping
group-policy
ipv4-acl-number
[
vlan vlan-list
]
By default, no multicast group
policies exist on a port, and hosts
attached to the port can join any
multicast groups.
Enabling multicast source port filtering
This feature enables the device to discard all multicast data packets and to accept multicast protocol
packets. You can enable this feature on ports that connect only to multicast receivers.
You can enable this feature for the specified ports in IGMP-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
IGMP-snooping view, and the most recent configuration takes effect.
Enabling multicast source port filtering in IGMP-snooping view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IGMP-snooping view.
igmp-snooping
N/A
3.
Enable multicast source port
filtering.
source-deny
port interface-list
By default, multicast source port
filtering is disabled.
Enabling 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 multicast source port
filtering.
igmp-snooping source-deny
By default, multicast source port
filtering is disabled.
Enabling dropping unknown multicast data
Unknown multicast data refers to multicast data for which no forwarding entries exist in the IGMP
snooping forwarding table. This feature enables the device only to forward unknown multicast data to
the router port. If the device does not have a router port, unknown multicast data will be dropped.
If you do not enable this feature, the unknown multicast data is flooded in the VLAN to which the data
belongs.
To enable dropping unknown multicast data in a VLAN or VSI:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A