xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
279
enable igmp_snooping
function.
If the forward multicast router only is enabled, the switch will forward all multicast traffic to the
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 IGMP 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 IGMP control packet.
When the switch receives an IGMP 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 IGMP control packet.
When the switch receives the IGMP report packet from the client member, it will forward the
packet to the router port. If the switch receives the IGMP 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 IGMP snooping on the switch:
DGS-3450:admin# enable igmp_snooping
Command: enable igmp_snooping
Success.
DGS-3450:admin#
disable igmp_snooping
Purpose
Used to disable IGMP snooping on the switch.
Syntax
disable igmp_snooping {forward_mcrouter_only}
Description
This command disables IGMP snooping on the switch. Disabling the IGMP snooping allows
all IGMP and IP multicast traffic to flood within a given IP interface. Note that disabling IGMP
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 IGMP 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 IGMP control packet.
When the switch receives an IGMP 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 IGMP control packet.
When the switch receives the IGMP report packet from the client member, it will forward the
packet to the router port. If the switch receives the IGMP 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.