![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/6/30/63096e50-8ee1-4c84-b87d-32eeabc07e61/63096e50-8ee1-4c84-b87d-32eeabc07e61-bg24a.png)
24-8
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 24 Configuring IPv6 MLD Snooping
Configuring IPv6 MLD Snooping
Note Static connections to multicast routers are supported only on switch ports.
To add a multicast router port to a VLAN, follow these steps:
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 gigabitethernet1/
0/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 multiple clients exist
for a multicast group on the same port, do not enable Immediate-Leave in a VLAN.
To enable MLDv1 Immediate Leave, perform this task:
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# ipv6 mld snooping vlan
vlan-id mrouter interface interface-id
Specifies 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 64.
Step 3
Switch(config)# end
Returns to privileged EXEC mode.
Step 4
Switch# show ipv6 mld snooping mrouter
[vlan vlan-id]
Verifies that IPv6 MLD snooping is enabled on the VLAN
interface.
Step 5
Switch# copy running-config startup-config
(Optional) Saves your entries in the configuration file.
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# ipv6 mld snooping
vlan vlan-id immediate-leave
Enables MLD Immediate Leave on the VLAN interface.
Step 3
Switch(config)# end
Returns to privileged EXEC mode.
Step 4
Switch# show ipv6 mld snooping vlan
vlan-id
Verifies that Immediate Leave is enabled on the VLAN interface.
Step 5
Switch# copy running-config
startup-config
(Optional) Saves your entries in the configuration file.