38-8
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 38 Configuring IPv6 MLD Snooping
Configuring IPv6 MLD Snooping
Switch(config)# end
Configuring a Multicast Router Port
Although MLD snooping learns about router ports through MLD queries and PIMv6 queries, you can
also use the command-line interface (CLI) to add a multicast router port to a VLAN. To add a multicast
router port (add a static connection to a multicast router), use the ipv6 mld snooping vlan mrouter
global configuration command on the switch.
Note Static connections to multicast routers are supported only on switch ports.
Beginning in privileged EXEC mode, follow these steps to add a multicast router port to a VLAN:
To remove a multicast router port from the VLAN, use the no ipv6 mld snooping vlan vlan-id mrouter
interface interface-id global configuration command.
This example shows how to add a multicast router port to VLAN 200:
Switch# configure terminal
Switch(config)# ipv6 mld snooping vlan 200 mrouter interface gigabitethernet0/2
Switch(config)# exit
Enabling MLD Immediate Leave
When you enable MLDv1 Immediate Leave, the switch immediately removes a port from a multicast
group when it detects an MLD Done message on that port. You should only use the Immediate-Leave
feature when there is a single receiver present on every port in the VLAN. When there are multiple
clients for a multicast group on the same port, you should not enable Immediate-Leave in a VLAN.
Beginning in privileged EXEC mode, follow these steps to enable MLDv1 Immediate Leave:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 ipv6 mld snooping vlan vlan-id mrouter
interface interface-id
Specify the multicast router VLAN ID, and specify the interface
to the multicast router.
The VLAN ID range is 1 to 1001 and 1006 to 4094.
The interface can be a physical interface or a port channel.
The port-channel range is 1 to 48.
Step 3 end Return to privileged EXEC mode.
Step 4 show ipv6 mld snooping mrouter [vlan vlan-id]Verify that IPv6 MLD snooping is enabled on the VLAN
interface.
Step 5 copy running-config startup-config (Optional) Save your entries in the configuration file.