How igmp snooping works, When receiving a general query, When receiving a membership report – H3C Technologies H3C S3100V2 Series Switches User Manual
Page 22
![background image](https://www.manualsdir.com/files/812884/content/doc022.png)
14
Aging timers for dynamic ports in IGMP snooping and related messages and actions
Table 6 Aging timers for dynamic ports in IGMP snooping and related messages and actions
Timer
Description
Message before expiry Action after expiry
Dynamic router port
aging timer
For each dynamic router
port, the switch sets a
timer initialized to the
dynamic router port
aging time.
IGMP general query of
which the source address
is not 0.0.0.0 or PIM
hello
The switch removes this
port from its router port
list.
Dynamic member port
aging timer
When a port dynamically
joins a multicast group,
the switch sets a timer for
the port, which is
initialized to the dynamic
member port aging time.
IGMP membership report
The switch removes this
port from the IGMP
snooping forwarding
table.
NOTE:
The port aging mechanism of IGMP snooping works only for dynamic ports; a static port will never age
out.
How IGMP snooping works
A switch that is running IGMP snooping performs different actions when it receives different IGMP
messages.
CAUTION:
The description about adding or deleting a port in this section is only for a dynamic port. Static ports can
be added or deleted only through the specific configurations described in “
When receiving a general query
The IGMP querier periodically sends IGMP general queries to all hosts and routers—224.0.0.1—on the
local subnet to determine whether active multicast group members exist on the subnet.
Upon receiving an IGMP general query, the switch forwards it through all ports in the VLAN except the
receiving port and performs the following on the receiving port:
•
If the receiving port is a dynamic router port that exists in its router port list, the switch resets the
aging timer for this dynamic router port.
•
If the receiving port is not a dynamic router port that exists in its router port list, the switch adds it into
its router port list and sets an aging timer for this dynamic router port.
When receiving a membership report
A host sends an IGMP report to the IGMP querier in the following circumstances:
•
If the host is already a member of a multicast group, the host responds with an IGMP report after
receiving an IGMP query.
•
If the host wants to join a multicast group, the host sends an IGMP report to the IGMP querier to
announce that it is interested in the multicast information addressed to that group.
After receiving an IGMP report, the switch forwards it through all the router ports in the VLAN, resolves
the address of the reported multicast group, and performs the following operation: