RUGGEDCOM ROS
User Guide
Chapter 5
Setup and Configuration
GMRP Concepts
225
•
Section 5.8.2.7, “Deleting a Static Multicast Group”
Section 5.8.2.1
GMRP Concepts
The following describes some of the concepts important to the implementation of multicast filtering using GMRP:
Joining a Multicast Group
In order to join a multicast group, an end station transmits a GMRP
join
message. The switch that receives the
join
message adds the port through which the message was received to the multicast group specified in the message.
It then propagates the
join
message to all other hosts in the VLAN, one of which is expected to be the multicast
source.
When a switch transmits GMRP updates (from GMRP-enabled ports), all of the multicast groups known to the
switch, whether configured manually or learned dynamically through GMRP, are advertised to the rest of network.
As long as one host on the Layer 2 network has registered for a given multicast group, traffic from the
corresponding multicast source will be carried on the network. Traffic multicast by the source is only forwarded by
each switch in the network to those ports from which it has received join messages for the multicast group.
Leaving a Multicast Group
Periodically, the switch sends GMRP queries in the form of a
leave all
message. If a host (either a switch or an
end station) wishes to remain in a multicast group, it reasserts its group membership by responding with an
appropriate
join
request. Otherwise, it can either respond with a
leave
message or simply not respond at all. If the
switch receives a
leave
message or receives no response from the host for a timeout period, the switch removes
the host from the multicast group.
Notes About GMRP
Since GMRP is an application of GARP, transactions take place using the GARP protocol. GMRP defines the
following two Attribute Types:
• The Group Attribute Type, used to identify the values of group MAC addresses
• The Service Requirement Attribute Type, used to identify service requirements for the group
Service Requirement Attributes are used to change the receiving port's multicast filtering behavior to one of the
following:
• Forward All Multicast group traffic in the VLAN, or
• Forward All Unknown Traffic (Multicast Groups) for which there are no members registered in the device in a
VLAN
If GMRP is disabled on the RS900, GMRP packets received will be forwarded like any other traffic. Otherwise, GMRP
packets will be processed by the RS900, and not forwarded.
Establishing Membership with GMRP
The following example illustrates how a network of hosts and switches can dynamically join two multicast groups
using GMRP.