
59
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan
vlan-id
—
Configure dynamic router port
aging time
mld-snooping
router-aging-time
interval
Optional
260 seconds by default
Configure dynamic member port
aging time
mld-snooping host-aging-time
interval
Optional
260 seconds by default
Configuring static ports
If all the hosts attached to a port is interested in the IPv6 multicast data addressed to a particular
IPv6 multicast group, configure that port as a static member port for that IPv6 multicast group.
You can configure a port of a switch to be a static router port, through which the switch can forward all
IPv6 multicast data it received.
Follow these steps to configure static ports:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Ethernet interface/Layer 2
aggregate interface view or port
group view
interface
interface-type
interface-number
Required
Use either approach
port-group
manual
port-group-name
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
NOTE:
•
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.
•
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.
•
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 that is running MLD responds to MLD queries from the MLD querier. If a host fails to
respond, the multicast router will deem that no member of this IPv6 multicast group exists on the
network segment, and will remove the corresponding forwarding path.
To avoid this situation, enable simulated joining on a port of the switch. Namely, you can configure
the port as a simulated member host for an IPv6 multicast group. When an MLD query is received,
the simulated host gives a response. Thus, the switch can continue receiving IPv6 multicast data.