[Sysname-mld-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] mld-snooping enable
[Sysname-vlan2] mld-snooping special-query source-ip fe80:0:0:1::1
Related commands
• enable (MLD-snooping view)
• mld-snooping enable
mld-snooping static-group
Use mld-snooping static-group to configure a port as a static member port of an IPv6 multicast group.
Use undo mld-snooping static-group to remove the static member port.
Syntax
mld-snooping static-group ipv6-group-address [ source-ip ipv6-source-address ] vlan vlan-id
undo mld-snooping static-group { ipv6-group-address [ source-ip ipv6-source-address ] vlan vlan-id |
all }
Default
A port is not a static member port of IPv6 multicast groups.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
ipv6-group-address: Specifies an IPv6 multicast group by its IPv6 address. The value can be 0::0 or in the
range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where "x" and "y"
represent any hexadecimal numbers from 0 to F.
source-ip ipv6-source-address: Specifies an IPv6 multicast source by its IPv6 address. If you specify an
IPv6 multicast source, the command configures the port as a static member port of an IPv6 multicast
source and group. If you do not specify an IPv6 multicast source, the command configures the port as a
static member port of an IPv6 multicast group. This option takes effect on MLDv2 snooping devices.
vlan vlan-id: Specifies a VLAN by its VLAN ID in the range of 1 to 4094.
all: Specifies all VLANs.
Examples
# Configure Ten-GigabitEthernet 1/0/1 as a static member port for the IPv6 multicast source and group
(2002::22, FF3E::101) in VLAN 2.
<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] mld-snooping enable
[Sysname-vlan2] mld-snooping version 2
[Sysname-vlan2] quit
230