1-9
Follow these steps to configure static ports:
To do...
Use the command...
Remarks
Enter system view
system-view
—
interface interface-type
interface-number
Enter Ethernet port/Layer 2
aggregate port view or port
group view
port-group
manual
port-group-name
Required
Use either approach
Configure the port(s) as static
member port(s)
mld-snooping static-group
ipv6-group-address
[
source-ip
ipv6-source-address
]
vlan
vlan-id
Required
No static member ports by
default
Configure the port(s) as static
router port(s)
mld-snooping
static-router-port
vlan
vlan-id
Required
No static router ports by default
z
An IPv6 static (S, G) join takes effect only if a valid IPv6 multicast source address is specified and
MLD Snooping version 2 is currently running.
z
A static member port does not respond to queries from the MLD querier; when static (*, G) or (S, G)
joining is enabled or disabled on a port, the port does not send an unsolicited MLD report or an
MLD done message.
z
Static member ports and static router ports never age out. To remove such a port, you need to use
the corresponding
undo
command.
Configuring Simulated Joining
Generally, a host running MLD responds to MLD queries from the MLD querier. If a host fails to respond
due to some reasons, the multicast router will deem that no member of this IPv6 multicast group exists
on the network segment, and therefore will remove the corresponding forwarding path.
To avoid this situation from happening, you can enable simulated joining on a port of the switch, namely
configure the port as a simulated member host for an IPv6 multicast group. When an MLD query is
received, simulated host gives a response. Thus, the switch can continue receiving IPv6 multicast data.
A simulated host acts like a real host, as follows:
z
When a port is configured as a simulated member host, the switch sends an unsolicited MLD report
through that port.
z
After a port is configured as a simulated member host, the switch responds to MLD general queries
by sending MLD reports through that port.
z
When the simulated joining function is disabled on a port, the switch sends an MLD done message
through that port.