Related commands: mld-snooping router-aging-time.
Examples
# Set the aging time for dynamic router ports to 100 seconds globally.
<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] router-aging-time 100
source-deny (MLD snooping view)
Syntax
source-deny port interface-list
undo source-deny port interface-list
View
MLD snooping view
Default level
2: System level
Parameters
interface-list: Specifies a list of ports. You can specify multiple ports or port ranges by providing the this
argument in the form of interface-list = { interface-type interface-number [ to interface-type interface-
number ] }, where interface-type is the port type and interface-number is the port number.
Description
Use the source-deny command to enable IPv6 multicast source port filtering, namely, to filter out all the
received IPv6 multicast packets.
Use the undo source-deny command to disable IPv6 multicast source port filtering.
By default, IPv6 multicast source port filtering is disabled.
This command works only on MLD snooping–enabled VLANs.
Examples
# Enable source port filtering for IPv6 multicast data on interfaces GigabitEthernet 1/0/1 through
GigabitEthernet 1/0/4.
<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] source-deny port gigabitethernet 1/0/1 to gigabitethernet 1/0/4
68