source-deny (MLD-snooping view)
Use source-deny to enable IPv6 multicast source port filtering on ports to discard all IPv6 multicast data packets.
Use undo source-deny to disable IPv6 multicast source port filtering on ports.
Syntax
source-deny port interface-list
undo source-deny port interface-list
Default
IPv6 multicast source port filtering is disabled.
Views
MLD-snooping view
Predefined user roles
network-admin
Parameters
port interface-list: Specifies a space-separated list of port items. Each item specifies a port by its port type and number or a range of ports in the form of start-interface-type interface-number to end-interface-type interface-number.
Usage guidelines
You can enable this feature for the specified ports in MLD-snooping view or for a port in interface view. For a port, the configuration in MLD-snooping view has the same priority as the configuration in interface view, and the most recent configuration takes effect.
Examples
# Enable source port filtering for IPv6 multicast data on ports HundredGigE 1/0/1 through HundredGigE 1/0/4.
<Sysname> system-view [Sysname] mld-snooping [Sysname-mld-snooping] source-deny port hundredgige 1/0/1 to hundredgige 1/0/4
Related commands
mld-snooping source-deny