393
•
Clears all MLD snooping forwarding entries that are dynamically created.
•
Keeps static MLDv2 snooping forwarding entries (*, G).
•
Clears static MLDv2 snooping forwarding entries (S, G), which will be restored when MLD
snooping is switched back to MLDv2 snooping.
For more information about static MLD snooping forwarding entries, see "
."
To specify the version of MLD snooping:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan
vlan-id
N/A
3.
Specify the version of MLD
snooping.
mld-snooping version
version-number
Version 1 by default.
Configuring MLD snooping port functions
This section describes how to configure MLD snooping port functions.
Configuration prerequisites
Before you configure MLD snooping port functions, complete the following tasks:
•
Enable MLD snooping for the VLAN.
•
Configure the corresponding port groups.
•
Determine the aging timer for dynamic router ports.
•
Determine the aging timer for dynamic member ports.
•
Determine the IPv6 multicast group and IPv6 multicast source addresses.
Configuring aging timers for dynamic ports
If a switch receives no MLD general queries or IPv6 PIM hello messages on a dynamic router port when
the aging timer of the port expires, the switch removes the port from the router port list.
If the switch receives no MLD reports for an IPv6 multicast group on a dynamic member port when the
aging timer of the port expires, the switch removes the port from the forwarding entry for the IPv6
multicast group.
If the memberships of IPv6 multicast groups change frequently, you can set a relatively small value for the
aging timer of the dynamic member ports. If the memberships of IPv6 multicast groups change rarely, you
can set a relatively large value.
Setting the global aging timers for dynamic ports
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MLD-snooping view.
mld-snooping
N/A
3.
Set the global aging timer for
dynamic router ports.
router-aging-time
interval
260 seconds by default.