igmp-snooping source-deny

Use igmp-snooping source-deny to enable multicast source port filtering on a port to discard all multicast data packets.

Use undo igmp-snooping source-deny to disable multicast source port filtering on a port.

Syntax

igmp-snooping source-deny

undo igmp-snooping source-deny

Default

Multicast source port filtering is disabled.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Usage guidelines

You can enable this feature for a port in interface view or for the specified ports in IGMP-snooping 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.

Examples

# Enable source port filtering for multicast data on HundredGigE 1/0/1.

<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] igmp-snooping source-deny

Related commands

source-deny (IGMP-snooping view)