29-8
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 29 Configuring IPv6 Multicast Listener Discovery Snooping
Configuring IPv6 MLD Snooping
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:
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
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.