232
This command works in both MLD snooping–enabled VLANs and VLANs with MLD enabled on their
VLAN interfaces.
If you do not specify any VLAN when using this command in Layer 2 Ethernet interface view or Layer 2
aggregate interface view, the command takes effect for all VLANs that the interface belongs to. If you
specify one or multiple VLANs, the command takes effect for the specified VLANs that the interface
belongs to.
Related commands:
fast-leave
.
Examples
# Enable fast-leave processing on GigabitEthernet 1/0/1 in VLAN 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mld-snooping fast-leave vlan 2
mld-snooping general-query source-ip
Syntax
mld-snooping general-query source-ip
{
ipv6-address
|
current-interface
}
undo mld-snooping general-query source-ip
View
VLAN view
Default level
2: System level
Parameters
ipv6-address
: Specifies the source IPv6 address of MLD general queries, which can be any legal IPv6
link-local address.
current-interface
: Sets the source IPv6 link-local address of MLD general queries to the IPv6 address of
the current VLAN interface. 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 general queries.
Description
Use
mld-snooping general-query source-ip
to configure the source IPv6 address of MLD general queries.
Use
undo mld-snooping general-query source-ip
to restore the default.
By default, the source IPv6 address of MLD general 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
general queries.
<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] mld-snooping enable