Configuring IPv6 MLD Snooping
Configuring a Static Multicast Group
Hosts or Layer 2 ports normally join multicast groups dynamically, but you can also statically configure
an IPv6 multicast address and member ports for a VLAN.
Beginning in privileged EXEC mode, follow these steps to add a Layer 2 port as a member of a multicast
group:
Command
Step 1
configure terminal
Step 2
ipv6 mld snooping vlan vlan-id static
ipv6_multicast_address interface interface-id
Step 3
end
Step 4
show ipv6 mld snooping address user
or
show ipv6 mld snooping address vlan vlan-id
user
Step 5
copy running-config startup-config
To remove a Layer 2 port from the multicast group, use the no ipv6 mld snooping vlan vlan-id static
mac-address interface interface-id global configuration command. If all member ports are removed
from a group, the group is deleted.
This example shows how to statically configure an IPv6 multicast group:
Switch# configure terminal
Switch(config)# ipv6 mld snooping vlan 2 static FF12::3 interface gigabitethernet0/1
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.
Static connections to multicast routers are supported only on switch ports.
Note
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
1-8
Purpose
Enter global configuration mode
Statically configure a multicast group with a Layer 2 port as a
member of a multicast group:
vlan-id is the multicast group VLAN ID. The VLAN ID
•
range is 1 to 1001 and 1006 to 4094.
ipv6_multicast_address is the 128-bit group IPv6 address.
•
The address must be in the form specified in RFC 2373.
interface-id is the member port. It can be a physical
•
interface or a port channel (1 to 48).
Return to privileged EXEC mode.
Verify the static member port and the IPv6 address.
(Optional) Save your entries in the configuration file.
Chapter 1
Configuring IPv6 MLD Snooping
OL-25303-03