36-9
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 36 Configuring IPv6 MLD Snooping
Configuring IPv6 MLD Snooping
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:
To disable MLD Immediate Leave on a VLAN, use the no ipv6 mld snooping vlan vlan-id
immediate-leave global configuration command.
This example shows how to enable MLD Immediate Leave on VLAN 130:
Switch# configure terminal
Switch(config)# ipv6 mld snooping vlan 130 immediate-leave
Switch(config)# exit
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.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
ipv6 mld snooping vlan vlan-id
immediate-leave
Enable MLD Immediate Leave on the VLAN interface.
Step 3
end Return to privileged EXEC mode.
Step 4
show ipv6 mld snooping vlan vlan-id Verify that Immediate Leave is enabled on the VLAN interface.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.