313
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan
vlan-id
N/A
3.
Set the aging timer for the
dynamic router ports.
mld-snooping
router-aging-time
interval
260 seconds by default.
4.
Set the aging timer for the
dynamic member ports.
mld-snooping host-aging-time
interval
260 seconds by default.
Configuring static ports
You can configure a port as a static port for the following purposes:
•
To make all the hosts attached to the port receive IPv6 multicast data for an IPv6 multicast
group, configure the port as a static member port for the group.
•
To make the Layer 2 device attached to the port forward all received IPv6 multicast traffic on the
port, configure the port as a static router port.
Configuration guidelines
•
A static member port does not respond to queries from the MLD querier. When you configure a
port as a static member port or cancel this configuration on the 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, use the
corresponding
undo
command.
Configuration procedure
To configure static ports:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view or
enter port group view.
•
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view:
interface
interface-type
interface-number
•
Enter port group view:
port-group
manual
port-group-name
Use either approach.
3.
Configure the port as a static
member port.
mld-snooping static-group
ipv6-group-address
[
source-ip
ipv6-source-address
]
vlan
vlan-id
No static member ports by default.
4.
Configure the port as a static
router port.
mld-snooping static-router-port
vlan
vlan-id
No static router ports by default.
Configuring a port as a simulated member host
Generally, a host that runs MLD can respond to MLD queries. If a host fails to respond, the multicast
router might deem that the IPv6 multicast group has no members on the subnet, and removes the
corresponding forwarding path.