
236
vlan
vlan-id
: Specifies a VLAN that comprises the port or ports, where
vlan-id
is in the range of 1 to
4094.
Description
Use
mld-snooping host-join
to enable simulated joining on a port. Namely, you configure a port as a
simulated member host for the specified IPv6 multicast group or source and group.
Use
undo mld-snooping host-join
to remove the simulated member host from the specified IPv6 multicast
group or source and group.
By default, this function is disabled.
This command works in both MLD snooping–enabled VLANs and VLANs with MLD enabled on their
VLAN interfaces. The version of MLD on the simulated member host is consistent with the version of MLD
snooping that runs in the VLAN or the version of MLD that runs on the VLAN interface.
The
source-ip
ipv6-source-address
option in the command is meaningful only for MLDv2 snooping. If
MLDv1 snooping is running, the
source-ip
ipv6-source-address
option does not take effect although you
can include
source-ip
ipv6-source-address
in the command.
In Layer 2 Ethernet interface view or Layer 2 aggregate interface view, this command takes effect only if
the interface belongs to the specified VLAN.
Examples
# Configure GigabitEthernet 1/0/1 in VLAN 2 to join (2002::22, FF3E::101) as a simulated host.
<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
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mld-snooping host-join ff3e::101 source-ip 2002::22 vlan
2
mld-snooping host-tracking
Syntax
mld-snooping host-tracking
undo mld-snooping host-tracking
View
VLAN view
Default level
2: System level
Parameters
None
Description
Use
mld-snooping host-tracking
to enable the MLD snooping host tracking function in a VLAN.