![D-Link DGS-3024 Command Line Interface Reference Manual Download Page 103](http://html1.mh-extra.com/html/d-link/dgs-3024/dgs-3024_command-line-interface-reference-manual_3492728103.webp)
DGS-3024 Layer 2 Switch CLI Reference Manual
18
IGMP S
NOOPING
C
OMMANDS
The IGMP Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
config igmp_snooping
[<vlan_name 32> | all] {host_timeout <sec 1-16711450> |
router_timeout <sec 1-16711450> | leave_timer <sec 0-
16711450> | state [enable | disable]}
config igmp_snooping
querier
[<vlan_name 32> | all] { query_interval <sec 1-65535>|
max_response_time <sec 1-25> robustness_variable <value 1-
255> | last_member_query_interval <sec 1-25> | state [enable |
disable]
config router_ports
<vlan_name 32> [add | delete] <portlist>
enable igmp snooping
{forward_mcrouter_only}
show igmp snooping
{vlan <vlan_name 32>}
show igmp snooping group
{vlan <vlan_name 32>}
show igmp_snooping
forwarding
{vlan <vlan_name 32>}
show router_ports
{vlan <vlan_name 32>} {static | dynamic}
Each command is listed, in detail, in the following sections.
config igmp_snooping
Purpose
Used to configure IGMP snooping on the Switch.
Syntax
config igmp_snooping [<vlan_name 32> | all] {host_timeout <sec 1-
16711450> | router_timeout <sec 1-16711450> | leave_timer <sec 0-
16711450> | state [enable | disable]}
Description
This command allows the user to configure IGMP snooping on the Switch.
Parameters
<vlan_name 32>
−
The name of the VLAN for which IGMP snooping is to
be configured.
all
– Selecting this parameter will configure IGMP for all VLANs on the
Switch.
host_timeout <sec 1-16711450>
−
Specifies the maximum amount of time a
host can be a member of a multicast group without the Switch receiving a
host membership report. The default is 260 seconds.
router_timeout <sec 0-16711450>
−
Specifies the maximum amount of time
a route can be a member of a multicast group without the Switch receiving
a host membership report. The default is 260 seconds.
leave_timer <sec 0-16711450>
−
Leave timer. The default is 2 seconds.
state [enable | disable]
−
Allows the user to enable or disable IGMP
snooping for the specified VLAN.
Restrictions Only
administrator-level users can issue this command.
101