244
Description
Use
mld-snooping source-deny
to enable IPv6 multicast source port filtering.
Use
undo mld-snooping source-deny
to disable IPv6 multicast source port filtering.
By default, IPv6 multicast source port filtering is disabled.
This command works in both MLD snooping–enabled VLANs and VLANs with MLD enabled on their
VLAN interfaces.
Examples
# Enable source port filtering for IPv6 multicast data on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mld-snooping source-deny
mld-snooping special-query source-ip
Syntax
mld-snooping special-query source-ip
{
ipv6-address
|
current-interface
}
undo mld-snooping special-query source-ip
View
VLAN view
Default level
2: System level
Parameters
ipv6-address
: Specifies an IPv6 link-local address as the source IPv6 address of MLD
multicast-address-specific queries.
current-interface
: Specifies the source IPv6 link-local address of the VLAN interface of the current VLAN
as the source IPv6 address of MLD multicast-address-specific queries. If the current VLAN interface does
not have an IPv6 address, the default IPv6 address FE80::02FF:FFFF:FE00:0001 is used as the source
IPv6 address of MLD multicast-address-specific queries.
Description
Use
mld-snooping special-query source-ip
to configure the source IPv6 address of MLD
multicast-address-specific queries.
Use
undo mld-snooping special-query source-ip
to restore the default.
By default, the source IPv6 address of MLD multicast-address-specific queries is
FE80::02FF:FFFF:FE00:0001.
This command takes effect only if MLD snooping is enabled for the VLAN.
Related commands:
mld-snooping enable
.
Examples
# In VLAN 2, enable MLD snooping and specify FE80:0:0:1::1 as the source IPv6 address of MLD
multicast-address-specific queries.
<Sysname> system-view
[Sysname] mld-snooping