Page 316 / 757 Scroll up to view Page 311 - 315
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
312
config igmp_snooping
Syntax
config igmp_snooping [vlan_name <vlan_name 32> | all] {host_timeout <sec 1-
16711450> | router_timeout <sec 1-16711450> | leave_timer <sec 1-16711450> | state
[enable | disable] | fast_leave [enable | disable] | report_suppression [enable |
disable]}(1)
Description
The config igmp_snooping command configures IGMP snooping on the switch.
Note:
A fast leave enabled switch can not be attached to another report suppression enabled
switch's downstream interface. That is, if switch A is attached to switch B's downstream
interface, you can not enable the fast leave feature on switch A and enable report
suppression on switch B simultaneously.
Parameters
vlan_name
- Specify the name of the VLAN for which IGMP snooping is to be configured. All
indicates all VLANs.
host_timeout
– Specify the host time-out value here.
router_timeout
– Specify the rouer time-out value here.
leave_timer
– Specify the leave timer value here.
state
- Enable or disable IGMP snooping for the chosen VLAN.
fast_leave
- Enable or disable the IGMP snooping fast leave function.
If enabled, the membership is immediately removed when the system receives the IGMP
leave message.
report_suppression
- When IGMP report suppression is enabled (the default), the switch
sends the first IGMP report from all hosts for a group to all the multicast routers. The switch
does not send the remaining IGMP reports for the group to the multicast routers.
If the multicast router query includes requests only for IGMPv1 and IGMPv2 reports, the
switch forwards only the first IGMPv1 or IGMPv2 report from all hosts for a group to all the
multicast routers.
If the multicast router query also includes requests for IGMPv3 reports, the switch forwards
all IGMPv3 reports for a group to the multicast devices.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure IGMP snooping:
DGS-3627:admin# config igmp_snooping vlan default state enable
Command: config igmp_snooping vlan default state enable
Success.
DGS-3627:admin#
config igmp_snooping querier
Purpose
Used to configure the time in seconds between general query transmissions, the maximum
time in seconds to wait for reports from members, and the permitted packet loss that
guarantees IGMP snooping.
Syntax
config igmp_snooping querier [vlan_name <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]| version <value 1-3> }
Description
This command configures the IGMP snooping querier.
Parameters
vlan_name
- Specify the name of the VLAN for which IGMP snooping querier is to be
configured.
query_interval
- Specify the amount of time in seconds between general query transmissions.
The default setting is 125 seconds.
max_reponse_time
- Specify the maximum time in seconds to wait for reports from members.
Page 317 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
313
config igmp_snooping querier
The default setting is 10 seconds.
robustness_variable
- Provides fine-tuning to allow for expected packet loss on a subnet. The
value of the robustness variable is used in calculating the following IGMP message intervals:
Group member interval
- Amount of time that must pass before a multicast router decides
there are no more members of a group on a network. This interval is calculated as follows:
(robustness variable x query interval) + (1 x query response interval).
Other querier present interval
- Amount of time that must pass before a multicast router
decides that there is no longer another multicast router that is the querier. This interval is
calculated as follows: (robustness variable x query interval) + (0.5 x query response interval).
Last member query count
- Number of group-specific queries sent before the router
assumes there are no local members of a group. The default number is the value of the
robustness variable.
By
default
, the robustness variable is set to 2. You might want to increase this value if you
expect a subnet to be loosely.
last_member_query_interval
- Specify the maximum amount of time between group-specific
query messages, including those sent in response to leave-group messages. You might
lower this interval to reduce the amount of time it takes a router to detect the loss of the last
member of a group.
On receiving a leave message, the router will assume there are no local members on the
interface if there are no reports received after the response time (which is last member query
interval * robustness variable)
state
- If the state is enabled, it allows the switch to be selected as an IGMP Querier (sends
IGMP query packets). It the state is disabled, then the switch cannot play the role as a
querier.
Note:
If the l3 router connected to the switch provide only the IGMP proxy function but does
not provide the multicast routing function, then this state must be configured as disabled.
Otherwise, if the l3 router is not selected as the querier, it will not send the IGMP query
packet. Since it will not send the multicast-routing protocol packet, the port will be timed out
as a router port.
version
- Specify the version of IGMP packet that will be sent by this port. If an IGMP packet
received by the interface has a version higher than the specified version, this packet will be
dropped.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the IGMP snooping querier:
DGS-3627:admin# config igmp_snooping querier vlan default query_interval 125 state enable
Command: config igmp_snooping querier vlan default query_interval 125 state enable
Success.
DGS-3627:admin#
config router_ports
Purpose
Used to configure ports as router ports.
Syntax
config router_ports <vlan_name 32> [add | delete] <portlist>
Description
This command allows you to designate a range of ports as being connected to multicast-
enabled routers. This will ensure that all packets with such a router as its destination will
reach the multicast-enabled router, regardless of protocol, etc.
Page 318 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
314
config router_ports
Parameters
vlan
- Specify the name of the VLAN on which the router port resides.
add
|
delete
- Specify to add or delete the router ports.
portlist
- Specify a range of ports to be configured. (UnitID:port number)
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To set up static router ports:
DGS-3627:admin# config router_ports default add 2:1-2:10
Command: config router_ports default add 2:1-2:10
Success.
DGS-3627:admin#
config router_ports_forbidden
Purpose
Used to configure ports as forbidden router ports.
Syntax
config router_ports_forbidden <vlan_name 32> [add | delete] <portlist>
Description
This command allows you to designate a range of ports as being not connected to multicast-
enabled routers. This ensures that the forbidden router port will not propagate routing
packets out.
Parameters
vlan
- Specify the name of the VLAN on which the router port resides.
add
|
delete
- Specify to add or delete the router ports.
portlist
- Specify a range of ports to be configured. (UnitID:port number)
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To set up port range 1-10 to forbidden router ports of default VLAN:
DGS-3627:admin# config router_ports_forbidden default add 1-10
Command: config router_ports_forbidden default add 1-10
Success.
DGS-3627:admin#
enable igmp_snooping
Purpose
Used to enable IGMP snooping on the switch.
Syntax
enable igmp_snooping {forward_mcrouter_only}
Description
This command allows you to enable IGMP snooping on the switch. The
forward_mcrouter_only function is disabled by default. The enable igmp_snooping
forward_mcrouter_only command will enable the IGMP snooping function and the forward
multicast router only function.
If 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
Page 319 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
315
enable igmp_snooping
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-3627:admin# enable igmp_snooping
Command: enable igmp_snooping
Success.
DGS-3627: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 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.
Example usage:
To disable IGMP snooping on the switch:
Page 320 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
316
DGS-3627:admin# disable igmp_snooping
Command: disable igmp_snooping
Success.
DGS-3627:admin#
create igmp_snooping static_group
Purpose
Used to configure an IGMP snooping multicast static group.
Syntax
create igmp_snooping static_group [vlan<vlan_name 32> | vlanid <vlanid_list> ] <
ipaddr >
Description
This command allows you to create an IGMP snooping static group. Member ports can be
added to the static group. The static member and the dynamic member port form the member
ports of a group.
The static group will only take effect when IGMP snooping is enabled on the VLAN. For those
static member ports, the device needs to emulate the IGMP protocol operation to the querier,
and forward the traffic destined to the multicast group to the member ports.
For a layer 3 device, the device is also responsible to route the packet destined for this
specific group to static member ports.
The static member port will only affect V2 IGMP operation.
The Reserved IP multicast address 224.0.0.X must be excluded from the configured group.
The VLAN must be created first before a static group can be created.
Parameters
vlan_name
- Specify the name of the VLAN on which the router port resides.
ipaddr
- Specify the multicast group IP address (for Layer 3 switch).
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create an IGMP snooping static group for VLAN 1, group 239.1.1.1:
DGS-3627:admin# create igmp_snooping static_group vlan vlan1 239.1.1.1
Command: create igmp_snooping static_group vlan vlan1 239.1.1.1
Success.
DGS-3627:admin#
delete igmp_snooping static_group
Purpose
Used to delete a IGMP snooping multicast static group.
Syntax
delete igmp_snooping static_group [vlan<vlan_name 32> | vlanid <vlanid_list> ]
<ipaddr>
Description
The deletion of an IGMP snooping static group will not affect the IGMP snooping dynamic
member ports for a group.
Parameters
vlan
- Specify the name of the VLAN on which the router port resides.
vlanid
- Specify the ID of the VLAN on which the router port resides.
ipaddr
- Specify the multicast group IP address (for Layer 3 switch).
Restrictions
Only Administrator and Operator-level users can issue this command.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top