xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
287
enable mld_snooping
multicast router, only. Otherwise, the switch forwards all multicast traffic to any IP router.
Parameters
forward_mcrouter_only
- If specified, the switch will learn the router port based on
identification of the multicast routing protocol packet and MLD control packet.
If not specified, the switch will learn the router port based on identification of the unicast
routing protocol packet, the multicast routing protocol packet, and the MLD control packet.
When the switch receives an MLD report packet from a port, this port will be learned as a
member port of the multicast group that the port is reported, and the router will be a default
member of this multicast group. The multicast packet destined for this multicast group will be
forwarded to all the members of this multicast group.
The identification of a router port will also affect the forwarding of the MLD control packet.
When the switch receives the MLD report packet from the client member, it will forward the
packet to the router port. If the switch receives the MLD query packet from the router port, it
will forward the packet to the client member port. (If the switch itself is the querier, then it will
issue the query packet to the client member port.)
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable MLD snooping on the switch:
DGS-3450:admin# enable mld_snooping
Command: enable mld_snooping
Success.
DGS-3450:admin#
disable mld_snooping
Purpose
Used to disable MLD snooping on the switch.
Syntax
disable mld_snooping {forward_mcrouter_only}
Description
This command disables MLD snooping on the switch. Disabling MLD snooping allows all
MLD and IP multicast traffic to flood within a given IP interface. Note that disabling MLD
snooping will also disable the forward multicast router only function.
The disable mld_snooping forward_mcrouter_only command will only disable the forward
multicast router only function.
Parameters
forward_mcrouter_only
- If specified, the switch will learn the router port based on
identification of the multicast routing protocol packet and MLD control packet.
If not specified, the switch will learn the router port based on identification of the unicast
routing protocol packet, the multicast routing protocol packet, and the MLD control packet.
When the switch receives an MLD report packet from a port, this port will be learned as a
member port of the multicast group that the port is reported, and the router will be a default
member of this multicast group. The multicast packet destined for this multicast group will be
forwarded to all the members of this multicast group.
The identification of a router port will also affect the forwarding of the MLD control packet.
When the switch receives the MLD report packet from the client member, it will forward the
packet to the router port. If the switch receives the MLD query packet from the router port, it
will forward the packet to the client member port. (If the switch itself is the querier, then it will
issue the query packet to the client member port.)
Restrictions
Only Administrator and Operator-level users can issue this command.