IGMP Protocol: Teldat-Dm 762-I
IGMP Protocol: Teldat-Dm 762-I
IGMP Protocol: Teldat-Dm 762-I
IGMP Protocol
Teldat-Dm 762-I
IGMP Protocol 1
Manual Teldat SA
Legal Notice
Warranty
Teldat is not liable for any direct, indirect, collateral, consequential or any other damage connected to the delivery,
supply or use of this manual.
2 IGMP Protocol
Teldat SA Table of Contents
Table of Contents
I Related Documents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Chapter 2 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Chapter 3 Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
IGMP Protocol i
Table of Contents Teldat SA
3.2.1 CLEAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.2.2 LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.2.3 EXIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Chapter 4 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
ii IGMP Protocol
Teldat SA Related Documents
I Related Documents
Teldat-Dm 752-I Access Control
IGMP Protocol 1
1 Introduction Teldat SA
Chapter 1 Introduction
1.1 Introduction
Traditional IP communication allows a host to send packets to a single host (unicast transmission) or to all hosts
(broadcast transmission). IP multicast provides a third possibility: allowing a host to send packets to a subset of all
hosts as a group transmission. This section introduces the mechanisms of IP multicast and specifically those imple-
mented in our routers.
IP multicast delivers application source traffic to multiple receivers without burdening the source or the receivers
while using a minimum of network bandwidth. Multicast packets are replicated in the network at the point where
paths diverge by routers enabled with Protocol Independent Multicast (PIM) and other supporting multicast protocols,
resulting in the most efficient delivery of data to multiple receivers.
Many alternatives to IP multicast require the source to send more than one copy of the data. Some, such as applica-
tion-level multicast, require the source to send an individual copy to each receiver. Even low-bandwidth applications
can benefit from using IP multicast when there are thousands of receivers. High-bandwidth applications, such as
MPEG video, may require a large portion of the available network bandwidth for a single stream. In these applica-
tions, IP multicast is the only way to send to more than one receiver simultaneously. Figure 1 shows how IP multicast
is used to deliver data from one source to many interested recipients.
In the example shown in Figure 1, the receivers (the designated multicast group) are interested in receiving the video
data stream from the source. The receivers indicate their interest by sending an Internet Group Management Pro-
tocol (IGMP) host report to the routers in the network. The routers are then responsible for delivering the data from
the source to the receivers. The routers use Protocol Independent Multicast (PIM) to dynamically create a multicast
distribution tree. The video data stream will then be delivered only to the network segments that are in the path
between the source and the receivers.
2 IGMP Protocol
Teldat SA 1 Introduction
Note
The Class D address range is used only for the group address or destination address of IP multicast
traffic. The source address for multicast datagrams is always the unicast source address.
Table 1 gives a summary of the multicast address ranges discussed in this document.
The IANA has reserved addresses in the range 224.0.0.0/24 to be used by network protocols on a local network seg-
ment. Packets with these addresses should never be forwarded by a router. Packets with link local destination ad-
dresses are typically sent with a time-to-live (TTL) value of 1 and are not forwarded by a router.
Network protocols use these addresses for automatic router discovery and to communicate important routing inform-
ation. For example, Open Shortest Path First (OSPF) uses the IP addresses 224.0.0.5 and 224.0.0.6 to exchange
link-state information. Table 2 lists some well-known link local IP addresses.
Addresses in the range from 224.0.1.0 through 238.255.255.255 are called globally scoped addresses. These ad-
dresses are used to multicast data between organizations and across the Internet.
Some of these addresses have been reserved for use by multicast applications through IANA. For example, IP ad-
dress 224.0.1.1 has been reserved for Network Time Protocol (NTP).
IP addresses reserved for IP multicast are defined in RFC 1112, Host Extensions for IP Multicasting. More informa-
tion about reserved IP multicast addresses can be found at the following location: ht-
tp://www.iana.org/assignments/multicast-addresses .
Note
You can find all RFCs and Internet Engineering Task Force (IETF) drafts on the IETF website ( ht-
tp://www.ietf.org ).
IGMP Protocol 3
1 Introduction Teldat SA
Addresses in the 232.0.0.0/8 range are reserved for Source Specific Multicast (SSM). SSM is an extension of the
PIM protocol that allows for an efficient data delivery mechanism in one-to-many communications. Some of the RFCs
that describe SSM are: RFC 3569 (general perspective), RFC 4607 (SSM for IP), RFC 4604 (IGMPv3 / MLDv2 and
SSM) and RFC 4608 (PIM-SSM).
RFC 3180, “GLOP Addressing in 233/8”, describes the use of the 233.0.0.0/8 range, reserved for statically defined
addresses for organizations with an assigned AS number (Autonomous System). This practice is known as GLOP
addressing. The AS domain address is encoded in the second and third octets of the 233.0.0.0/8 address range. For
example, AS 5662 is written in hexadecimal format as 161E. Separating the two octets, 16 and 1E, results in 22 and
30 decimal values. These values are translated in subnet 233.22.30.0/24 which is globally reserved for using AS
5662.
Addresses in the 239.0.0.0/8 range are called limited scope addresses or administratively scoped addresses. These
addresses are described in RFC 2365, Administratively Scoped IP Multicast, to be constrained to a local group or or-
ganization.
Companies, universities, or other organizations can use limited scope addresses to have local multicast applications
that will not be forwarded outside their domain. Routers typically are configured with filters to prevent multicast traffic
in this address range from flowing outside of an autonomous system (AS) or any user-defined domain.
Within an autonomous system or domain, the limited scope address range can be further subdivided so that local
multicast boundaries can be defined. This subdivision is called address scoping and allows for address reuse
between these smaller domains.
One method to accomplish this is to map IP multicast Class D addresses directly to a MAC address. Today, using
this method, NICs can receive packets destined to many different MAC addresses – their own unicast, broadcast,
and a range of multicast addresses.
The IEEE LAN specifications made provisions for the transmission of broadcast and multicast packets. In the 802.3
standard, bit 0 of the first octet is used to indicate a broadcast or multicast frame. Figure 2 shows the location of the
broadcast or multicast bit in an Ethernet frame.
This bit indicates that the frame is destined for a group of hosts or all hosts on the network (in the case of the broad-
cast address, 0xFFFF.FFFF.FFFF).
IP multicast makes use of this capability to send IP packets to a group of hosts on a LAN segment.
The IANA owns a block of Ethernet MAC addresses that start with 01:00:5E in hexadecimal format. Half of this block
is allocated for multicast addresses. The range from 0100.5e00.0000 through 0100.5e7f.ffff is the available range of
Ethernet MAC addresses for IP multicast.
4 IGMP Protocol
Teldat SA 1 Introduction
This allocation allows for 23 bits in the Ethernet address to correspond to the IP multicast group address. The map-
ping places the lower 23 bits of the IP multicast group address into these available 23 bits in the Ethernet address
(see Figure 3).
Because five bits of the IP multicast address are dropped in this mapping, the resulting address is not unique. In fact,
32 different multicast group IDs map to the same Ethernet address (see Figure 4).
Network administrators should consider this fact when assigning IP multicast addresses. For example, 224.1.1.1 and
225.1.1.1 map to the same multicast MAC address on a Layer 2 switch. If one user subscribed to Group A (as desig-
nated by 224.1.1.1) and the other users subscribed to Group B (as designated by 225.1.1.1), they would both receive
both A and B streams. This situation limits the effectiveness of this multicast deployment.
IGMP Protocol 5
1 Introduction Teldat SA
• Membership query
• Membership report
Hosts send out IGMP membership reports corresponding to a particular multicast group to indicate that they are in-
terested in joining that group. The TCP/IP stack running on a host automatically sends the IGMP Membership report
when an application opens a multicast socket. The router periodically sends out an IGMP membership query to verify
that at least one host on the subnet is still interested in receiving traffic directed to that group. When there is no reply
to three consecutive IGMP membership queries, the router times out the group and stops forwarding traffic directed
toward that group.
• Membership query
• Version 1 membership report
• Version 2 membership report
• Leave group
IGMP Version 2 works basically the same way as Version 1. The main difference is that there is a leave group mes-
sage. With this message, the hosts can actively communicate to the local multicast router that they intend to leave
the group. The router then sends out a group-specific query and determines if any remaining hosts are interested in
receiving the traffic. If there are no replies, the router times out the group and stops forwarding the traffic. The addi-
tion of the leave group message in IGMP Version 2 greatly reduces the leave latency compared to IGMP be stopped
much sooner. Unwanted and unnecessary traffic can be stopped far sooner.
IGMPv3 adds support for “source filtering,” which enables a multicast receiver host to signal to a router the groups
from which it wants to receive multicast traffic, and from which sources this traffic is expected or from which sources
it doesn’t want traffic from. This membership information enables routers to forward traffic from only those sources
from which receivers requested the traffic.
A diagram of the query packet format for an IGMPv3 message is shown in Figure 7.
6 IGMP Protocol
Teldat SA 1 Introduction
A diagram of the report packet format for an IGMPv3 message is shown in Figure 8.
IGMP Protocol 7
1 Introduction Teldat SA
IGMPv3 supports applications that explicitly signal sources from which they want to receive traffic. With IGMPv3, re-
ceivers signal membership to a multicast host group in the following two modes:
• INCLUDE mode – In this mode, the receiver announces membership to a host group and provides a list of source
addresses (the INCLUDE list) from which it wants to receive traffic.
• EXCLUDE mode – In this mode, the receiver announces membership to a multicast group and provides a list of
source addresses (the EXCLUDE list) from which it does not want to receive traffic. The host will receive traffic
only from sources whose IP addresses are not listed in the EXCLUDE list. To receive traffic from all sources, which
is the behavior of IGMPv2, a host uses EXCLUDE mode membership with an empty EXCLUDE list.
One of the major applications for IGMPv3 is Source Specific Multicast (SSM), standardized by the IETF. This mech-
anism uses the range of SSM multicast addresses (232.0.0.0/8), which are exclusively destined for the broadcasting
of multicast traffic from specific sources. If a host wants to receive traffic destined to one of these multicast groups, it
needs to know a priori the source address that it expects to receive traffic from. These groups can only operate in IN-
CLUDE mode, which specifies the sources that it wishes to received traffic from; this does not accept EXCLUDE re-
quests, which reject a set of sources or do not specify the origins. Give that prior IGMP versions did not have the
mechanism to specify origins; one of the SSM needs is to use IGMPv3.
Before entering into more detail on each one of these modes, a set of basic definitions are given:
1.6.1 Definitions
A router's interface that behaves as an IGMP host, so it is also called the "Host interface". This sends membership
reports to interested multicast group in the VRF associated to the interface. This only is logical in IGMP proxy.
A router’s interface that behaves as an IGMP router so it is also called “router interface”. This receives the reports
from the hosts in the network that the interface is connected to and, if this is the Querier, it sends IGMP query mes-
sages to the said network. Apart from the received reports, this maintains a list of members to multicast groups for
each downstream interface, including specific information on origins, in this case.
In a network connected to a downstream interface pertaining to the router, there can be other multicast routers ex-
ecuting IGMP protocol. However only one router can launch IGMP queries in the same segment: this router is the IG-
MP Querier. In order to select the querier, this chooses the IGMP router with the lowest IP address.
Each interface is configured with a version number: IGMPv1, IGMPv2 or IGMPv3. Although various devices in the
same network present different IGMP version, the versions are interoperable. Nevertheless, the RFC indicates that
all the potential Queriers must have the same version configured.
8 IGMP Protocol
Teldat SA 1 Introduction
The database maintained in each VRF with IGMP proxy, which the membership information of each of its down-
stream interfaces is merged. Apart from the said database, reports are generated which are sent by the proxy’s up-
stream interfaces.
Our routers implement the IGMP protocol in both operating modes, and can act as IGMP proxy, gathering and com-
municating the information on multicast groups and routing the multicast traffic based on this information.
Note
The use of IGMP proxy is limited to a tree topology, whose root it is assumed connects to a higher mul-
ticast infrastructure.
A VRF performing IGMP-based forwarding has a single upstream interface and one or more downstream interfaces.
These designations are explicitly configured; there is no protocol to determine what type each interface is. It performs
the router portion of the IGMP protocol on its downstream interfaces, and the host portion of IGMP on its upstream
interface.
Note
Despite the fact that this is the implementation defined in RFC 4605, the use of more than one up-
stream interface for scenarios where they are necessary is permitted.
For each VRF a database consisting of the merger of all subscriptions on any downstream interface is maintained,
the said membership database. The router sends IGMP membership reports on the upstream interface when quer-
ied, and sends unsolicited reports or leaves when the database changes.
When the router receives a packet destined for a multicast group, it forwards it over all those interfaces fulfilling any
of the following conditions:
• The VRF interface is upstream and is not the interface which received the packet.
• The VRF interface is downstream and is not the interface that received the packet, the router is the IGMP querier
on this interface and there is some subscription concurring with the packet (source unicast address and destination
multicast group).
Note
In the case of an IGMP proxy, a router interface must be a querier in order to route multicast traffic,
therefore the IP addressing is conditioned. The VRFs using IGMP proxy must have lower IP addresses
than another potential querier to insure that no other router is a querier preventing traffic routing.
The choice of which router will route multicast traffic is necessary for links considered as downstream for various
routers with IGMP proxy. This rule delegates the choice of the router when selecting the querier. In a link with a
single router with IGMP proxy, this rule can be disabled (i.e. permits the router to route traffic even if it is not the
querier). However, default behavior is that only the querier may route traffic through IGMP proxy. This behavior is
counterproductive with the election of the router carried out by the routers with the PIM protocol instead of IGMP
proxy, as explained in the following section.
Note that this does not protect against an "upstream loop". For example, as shown in Figure 9:
IGMP Protocol 9
1 Introduction Teldat SA
B will unconditionally forward packets from LAN 1 to LAN 2, and A will unconditionally forward packets from LAN 2 to
LAN 1. This will cause an upstream loop. A multicast routing protocol which employs a tree building algorithm is re-
quired to resolve loops like this.
• (S,G): saves the state associated to the pair made up of the G multicast group and the S source. I.e. makes a ref-
erence to the G traffic from S. The upstream neighbor is orientated towards the S source, towards the Shortest
Path Tree root.
• (S,G,rpt): Maintains the state of the G multicast group and S source pair, in the same way as the states (S,G), but
the upstream neighbor is towards the RP, forming part of the Shared Tree. E.g. this means the S-G pair traffic is
not transmitted by the Shared Tree, because it is already being directly received by the Shortest Path Tree.
• (*,G): This brings together everything related to G multicast group traffic, regardless of the source. If there is no
more specific entry (S,G), this state governs the traffic behavior. The upstream neighbor is located towards the RP
associated with the G group, the Shared Tree root.
• (*,*,RP): State associated to all the multicast traffic concentrated in the Rendezvous-Point RP, without worrying
about the multicast group or the source. The upstream neighbor is in the path towards the RP.
The (S,G), (S,G,rpt) and (*,G) states also receive membership information on the interfaces to multicast groups com-
ing from the IGMP protocol. Assigning an interface for the traffic that has been requested through IGMP to an MRT
entry is known as a leaf, includes an interface. I.e. within the traffic distribution tree constructed by PIM with its mul-
tiple branches, through the interface in question the end receptor can be accessed, which is a leaf of the tree.
Through this, the corresponding multicast traffic is routed through the interfaces that are considered leaves, provided
that they are not the interface through which this traffic is expected to reach the router. In cases where IGMP reports
that the traffic coming from an undesired source through an interface, this is to exclude the interface (exclude), for
the states (S,G,rpt); this case requires that the group’s global traffic handled by the (*,G) state, has previously in-
cluded this interface
So the memberships for IGMP groups affect a (*,G) state, traffic needs to have been requested from the G group: re-
ports IGMPv1, IGMPv2 or IGMPv3 EXCLUDE requests. On the other hand, in cases regarding (S,G) states, the in-
clusion of interfaces only occurs after receiving IGMPv3 INCLUDE reports with the G group where the S source has
been included. The exclusion of sources also requires that the reports are IGMPv3 EXCLUDE. These reports affect
the (*,G) state, while each one of the excluded sources are associated to the corresponding (S,G,rpt) state.
In this topology, only the IGMP router interface function (downstream) makes sense; this collects group member-
ships per interface. The IGMP host role (upstream) doesn’t make sense since it’s not nece4ssary to move this mem-
bership information to the higher IGMP routers as the PIM absorbs and acts accordingly. As there are no upstream
interfaces, the membership database isn’t formed.
Note
You shouldn’t configure IGMP upstream interfaces when PIM is enabled in the VRF, only IGMP down-
stream interfaces should be configured where the presence of IGMP hosts are expected.
So that the IGMP is operative in a VRF when PIM is enabled, at least one of the VRF interfaces must be configured
10 IGMP Protocol
Teldat SA 1 Introduction
as downstream. You cannot enable IGMP globally in the VRF as it has to be configured in an interface. So this oper-
ates correctly, you also need to configure the PIM-SM mode in the interface.
One very important aspect in a scenario with routers with PIM and IGMP is the designation of the multicast traffic
router for a determined physical link. PIM selects the Designated Router (DR), and by default selects the PIM router
present in the link with the highest IP address. The conflict arises if there are other devices in the same link with IG-
MP router features without PIM: e.g. an IGMP proxy. If one of the routers without PIM is the Querier IGMP as it has
the lowest IP address, it also proclaims itself as the router, and consequently the multicast traffic can be duplicated.
PIM has a mechanism to resolve this, the Assets, however it’s necessary that the two routers in conflict use PIM.
Consequently, this situation should be avoided at the administrative level.
For further information on the PIM protocol, please see manual Teldat-Dm804-I – PIM Protocol.
IGMP Protocol 11
2 Configuration Teldat SA
Chapter 2 Configuration
• The multicast network end hosts must always be connected to the “router interfaces” (downstream) so the hosts
can register in the multicast groups.
• In each multicast structure segment in tree, you must configure – in order to prevent loops – the interface at the
other end, which is connected in tree root direction, in “host interface” mode (upstream), and for “router interface”
mode (downstream) that interface at the end connected in the opposite direction from the tree root.
Within the configuration menu for each interface, the first step is to indicate that it is going to support IGMP. Sub-
sequently, depending on the type of interface (downstream / upstream), you can configure a series of specific para-
meters (query-interval, robustness-variable, etc), which have different meanings depending on the selected IGMP
version, as described in the previous sections.
The PIM-SM protocol must also be configured in the interfaces that act as IGMP router, both to send incoherencies
in the selection of the multicast traffic router for the link, as well as for the inclusion or exclusion of interfaces in the
PIM’s Multicast Routing Table (MRT) successfully occurs in cases where it is the DR.
*config
Config>protocol igmp
-- IGMP protocol user configuration --
IGMP cnfg>
Command Function
LIST Displays all the IGMP configuration for the VRF.
NO Disables an option.
12 IGMP Protocol
Teldat SA 2 Configuration
The vrf command requires a special mention as it is used to access the IGMP configuration menu itself for the selec-
ted VRF:
The commands available in the VRF’s own configuration are the same as those for the main VRF, except for the vrf
command that is no longer available.
Command Function
LIST Displays all the IGMP configuration for the VRF.
NO Disables an option.
SSM-AWARE Adapts the IGMP protocol so it supports RFC 4604.
EXIT Exits the IGMP configuration menu.
2.3.1 LIST
Displays all the IGMP configuration for the VRF.
Syntax:
IGMP cnfg>list
Example:
IGMP cnfg>list
IGMP cnfg>
IGMP Protocol 13
2 Configuration Teldat SA
By default, this option is enabled. IGMP is SSM-aware. If you wish to disable this behavior, you need to configure it
placing the word no in front of the command.
Syntax:
Example:
no ssm-aware
IGMP cnfg>ssm-aware
IGMP cnfg>show menu
; Showing Menu Configuration for access-level 15 ...
IGMP cnfg>
2.3.3 EXIT
This exits the IGMP own protocol configuration environment for the VRF and returns to the previous configuration
prompt.
Syntax:
IGMP cnfg>exit
Example:
IGMP cnfg>exit
Config>
Enter the following to access the IGMP Proxy configuration environment located in the IP protocol menu:
*config
Config>protocol ip
-- Internet protocol user configuration --
IP config>proxy-igmp
-- IGMP proxy user configuration --
IGMP proxy cnfg>
If the VRF where you want to configure the proxy is not the main VRF, you must first access the specific VRF menu
in the IP protocol menu:
*config
Config>protocol ip
-- Internet protocol user configuration --
IP config>vrf <vrf_name>
IP vrf config>proxy-igmp
-- IGMP proxy user configuration --
14 IGMP Protocol
Teldat SA 2 Configuration
The following commands are available in the IGMP Proxy configuration environment:
Command Function
DISABLE
Disables the IGMP Proxy.
ENABLE
Enables the IGMP Proxy.
LIST Displays the configuration .
EXIT Exits the IGMP Proxy configuration environment.
2.4.1 DISABLE
Disables the IGMP Proxy function.
Syntax:
Example:
2.4.2 ENABLE
Enables the IGMP Proxy functionality. This is not permitted if the PIM protocol is enabled in the same VRF.
Syntax:
Example:
No configured interfaces
IGMP proxy cnfg>
2.4.3 LIST
Displays the IGMP configuration.
Syntax:
Example:
The meaning of each of the fields is the same as that explained for the list command in the IGMP protocol configura-
tion menu.
IGMP Protocol 15
2 Configuration Teldat SA
2.4.4 EXIT
Exits the IGMP Proxy configuration environment and returns to the previous configuration prompt.
Syntax:
Example:
Firstly you need to enter in the interface’s own configuration menu. Given that each interface is associated to a VRF,
you don’t need to specify it. In the following example an ethernet0/0 interface is used:
*config
Config>network ethernet0/0
The IGMP configuration commands per interface always take the words ip igmp. As we have seen in the help (with
the ? question mark), the following options are available to configure IGMP:
Options Function
DOWNSTREAM Configures each of the “router interfaces”. In a proxy these are those which are
not in direction multicast tree root.
NO Configure the default value for a determined option.
UPSTREAM Configures the “host interface” In a proxy this is that in direction multicast tree
root.
2.5.1 Downstream
Configures the VRF interface as “router interface”. In the proxy IGMP, this is applied to each one of the interfaces in
the opposite direction to the multicast tree root. In a configuration with PIM, this is the only interface mode that
makes sense.
Syntax:
iface cnfg>
If you don’t specify any option on the console, the system will use the default option.
16 IGMP Protocol
Teldat SA 2 Configuration
Syntax:
Example:
IGMP cnfg>
Configures the multicast groups the hosts connected under this router interface can join. The multicast groups are
specified through an access list which only allows multicast addresses for required groups. For further information on
configuring this said access list, please see manual Teldat-Dm752-I Access Control.
Syntax:
Example:
In the default configuration, there is no access list with multicast groups associated to the router interface.
Sets the temporary interval in tenths of a second between specific IGMP query transmissions for a determ-
ined group or source+group within the subnet.
Syntax:
Example:
Establishes the temporary interval in seconds between general IGMP query transmissions for the subset.
Syntax:
Example:
IGMP Protocol 17
2 Configuration Teldat SA
Establishes the maximum query response time in tenths of seconds to general IGMP queries, from the hosts wishing
to connect to the multicast subset.
Syntax:
Example:
Establishes the maximum number of transmissions to carry out to compensate for possible packet loss in a link.
Syntax:
Example:
Designates the IGMP version to activate in the router interface. The available options are versions 1, 2 or 3.
Syntax:
Example:
2.5.2 NO
The command no undoes a command. Deletes the configured information establishing the default value for a para-
meter.
Syntax:
[option] The only available option is access-group in cases where you want to delete the configuration of
multicast groups available through the “router interface” (downstream).
Examples:
To change the downstream / upstream mode for an interface, you need to first deconfigure the previous mode using
this command with the word no in front of it before reconfiguring it.
18 IGMP Protocol
Teldat SA 2 Configuration
2.5.3 Upstream
Configures the VRF interface as “host interface”. In cases regarding a proxy IGMP, these will be the interfaces to-
wards the multicast tree root. Meanwhile, if PIM is enabled in the VRF, it doesn’t make sense for an interface to be
configured as upstream; the IGMP will not be active.
Syntax:
iface cnfg>
If you don’t specify any option on the console, the system will use the default option.
Syntax:
Example:
IGMP cnfg>
Designates the IGMP version to activate in the host interface. The options available are versions 1 or 2 (version 3 is
not currently supported).
Syntax:
Example:
IGMP Protocol 19
3 Monitoring Teldat SA
Chapter 3 Monitoring
This section summarizes and explains all the IGMP monitoring commands. These commands permit monitoring the
IGMP protocol behavior and consequently can reach the desired operating specifications.
To access the IGMP protocol monitoring menu, introduce the following commands:
*monitor
Console Operator
+protocol igmp
-- IGMP protocol monitor --
IGMP+
If you wish to access a VRF that is not the main one where IGMP is active, this must be specified with the vrf com-
mand following by the VRF name. If IGMP is not enabled in the VRF, then you cannot access the IGMP monitoring
menu for the VRF even if the said VRF exists.
You can also access the IGMP protocol monitoring from the IGMP proxy menu located within the IP monitoring menu
(both the one for the main VRF as well as for other VRFs). The differences in the monitoring menu for IGMP are min-
imal; therefore no difference has been made when explaining the commands from one menu or another. For the
main VRF, this is the commands sequence:
+protocol ip
-- IP protocol monitor --
IP+proxy-igmp
-- IGMP proxy monitor --
IGMP proxy+
IGMP +?
clear Delete statistics
list Show protocol information
vrf IGMP monitoring in a VPN Routing/Forwarding instance
exit
IGMP +
Command Function
CLEAR Deletes the statistics from the interfaces with IGMP functions enabled.
LIST Lists the distinct information referring to the current status of the IGMP, as well as
its groups, including statistics for the latter.
VRF Selects another VRF instance where the IGMP protocol functionality is monitored,
EXIT Exits the IGMP monitoring.
20 IGMP Protocol
Teldat SA 3 Monitoring
3.2.1 CLEAR
Through the clear command, statistics relative to IGMP for interfaces with this protocol activated are initialized.
Syntax:
IGMP +clear ?
interface Delimitate to an enabled interface
statistics Protocol statistics
IGMP +
Deletes the statistics from the specified “router interface” relative to the number of times a host or various hosts has
joined a multicast group, whose source is connected to the host interface of the router itself.
Syntax:
Example:
Deletes the IGMP statistics (number of ‘joins’ to multicast groups) of ALL the configured “router interfaces”.
Syntax:
Example:
IGMP Protocol 21
3 Monitoring Teldat SA
3.2.2 LIST
Use the list command to view the various IGMP protocol dynamic parameters, such as the statistics, both global and
own for each specific multicast group.
Syntax:
IGMP +list ?
all All the information
detailed Detailed information
groups Information about one or all multicast groups
interface Delimitate to an enabled interface
mode IGMP operating mode
status Interface configuration and activity
IGMP +
Displays ALL the generic information on the current status of the IGMP protocol.
Syntax:
Example:
22 IGMP Protocol
Teldat SA 3 Monitoring
IGMP +
Group address IP address for the multicast groups accessible through the IGMP.
Interface Interface identifier where the IGMP is enabled.
Uptime Time the multicast transmission through IGMP has been active.
Expires Time remaining to the hosts connected to the “router interface” to manifest their in-
terest in joining or continuing to be joined to the multicast group announced in the
IGMP query, before this expires.
Last Reporter IP address of the last host who remitted information ( IGMP report) to the “router
interface” with the devices interested in joining the multicast group referred to in
the first field.
Displays detailed information relative to the active multicast groups, interfaces with enabled IGMP and the status of
the IGMP.
Syntax:
Displays ALL the detailed information regarding the configuration of interfaces with IGMP enabled, the active multic-
ast groups through IGMP and the status of this.
Syntax:
Example:
IGMP Protocol 23
3 Monitoring Teldat SA
Interface: ethernet0/0
Mode: downstream
Status: up
Version: igmpv3
Groups: 1
Joins: 1
Inbound access-group: 1
Robustness: 2
Query interval: 125 secs
Querier timeout: 255 secs
Query max resp time: 10.0 secs
Last member qry intvl: 1.0 secs
Querier: 172.24.73.22 (this system)
Querier uptime: 1h1m
Querier expiry time: 00:00:00
Interface: serial0/0
Mode: upstream
Status: up
Version: igmpv2
Groups: 1
Querier: 192.168.1.1
Query max resp time: 10.0 secs
Querier uptime: 1h1m
Interface: serial0/0
Group: 224.165.15.167
Uptime: 1h1m
IGMP +
24 IGMP Protocol
Teldat SA 3 Monitoring
Displays detailed information on the active multicast groups enabled through the IGMP protocol.
Syntax:
<multicast ip> the IP address of the multicast group for which you wish to list the information. If this is omit-
ted, information on all the active multicast groups is shown.
Example:
IGMP Protocol 25
3 Monitoring Teldat SA
Interface: serial0/0
Group: 224.165.15.167
Uptime: 1h1m
IGMP +
When this command includes the term groups, detailed information is displayed on one or all of the multicast groups
enabled in the specified interface (this includes all the groups if < multicast ip> is omitted). When status is used, in-
formation is displayed on the configuration status and the activity of the said interface, in this case < multicast ip> has
not been used. If you select the all option, both the information on the status as well as on the groups associate to
the selected interface is displayed; in this case <multicast ip> is not used either.
Syntax:
IGMP +list detailed interface [all | groups | status] <interface> [<multicast ip>]
Example:
26 IGMP Protocol
Teldat SA 3 Monitoring
Version: igmpv2
Groups: 5
Querier: 192.168.1.1
Query max resp time: 10.0 secs
Querier uptime: 1h14m
IGMP +
• Groups option
• Status option
Displays detailed information on the IGMP protocol status (configuration of interfaces and activity).
Syntax:
Example:
Interface: serial0/0
Mode: upstream
Status: up
Version: igmpv2
Groups: 5
Querier: 192.168.1.1
Query max resp time: 10.0 secs
IGMP Protocol 27
3 Monitoring Teldat SA
IGMP +
Displays general information on one or all the multicast groups enabled in the IGMP.
Syntax:
If you omit <multicast ip>, information on all the active multicast groups is displayed.
Example:
IGMP +
Group address IP address for the multicast groups accessible through the IGMP.
28 IGMP Protocol
Teldat SA 3 Monitoring
Syntax:
The <multicast ip> option is available for cases where you have previously selected the groups option and
this permits you to specify a specific multicast group. If you omit the former option, then information on all
the groups is displayed.
Example:
• Groups option
• Status option
IGMP Protocol 29
3 Monitoring Teldat SA
Querier uptime The time the Querier IGMP has been active in the multicast segment to which the
said interface is connected.
Displays the information on the IGMP protocol operating mode. This also indicates if IGMP is SSM-aware or not.
Syntax:
IGMP+list mode
IGMP+list mode
IGMP proxy is ENABLED
IGMP is non-SSM-aware
IGMP+
IGMP+list mode
IGMP interacting with PIM
IGMP proxy is DISABLED
IGMP is SSM-aware: range 232.0.0.0/8
IGMP+
Syntax:
Example:
3.2.3 EXIT
Use the exit command to return to the prompt level where you were previously located. In this example, this returns
you to the general monitoring prompt.
Syntax:
IGMP +exit
Example:
IGMP +exit
+
30 IGMP Protocol
Teldat SA 3 Monitoring
For further in-depth information on all events, please see the events document els.rtf which is attached in the soft-
ware distribution.
IGMP Protocol 31
4 Examples Teldat SA
Chapter 4 Examples
We want to configure the router as the IGMP Proxy so the local host can join multicast group 224.165.15.167.
The local area network (LAN) is connected through the ethernet0/0 interface to the router behaving as IGMP Proxy.
In turn, the router is connected to a PIM architecture network (multicast structure in tree format) through interface
serial0/0.
The steps to take to configure the IGMP Proxy and resolve this situation are described below:
*config
Config>protocol ip
-- Internet protocol user configuration --
IP config>proxy-igmp
*config
Config>feature access-lists
-- Access Lists user configuration --
Access Lists config>access-list 1
entry 1 default
entry 1 permit
entry 1 source address 224.165.15.167 255.255.255.255
;
Standard Access List 1>exit
Access Lists config>exit
32 IGMP Protocol
Teldat SA 4 Examples
Config>
Subsequently, you need to access the configuration menus for the membership interfaces to the IGMP Proxy to en-
able IGMP in them and associate the filter for multicast group 224.165.15.167 to the pertinent interface.
In the ethernet0/0 interface, the device behaves as a router ( IGMP querier), executing periodic polls in the LAN
(membership query) to find out which hosts are interested in joining or remaining joined to a multicast group. Con-
sequently, we need to configure the interface as downstream or router interface:
Config>network ethernet0/0
Additionally we want to limit the multicast traffic to group 224.165.15.167. Therefore we associate the previously cre-
ated filter to the interface:
Finally connect the device to the rest of the multicast network through the serial0/0 interface. This interface will be-
have as host towards the PIM architecture network; consequently we must configure this interface as upstream or
host interface:
Config>network serial0/0
In this way, the device, acting as host, will remit information to the multicast network indicating “its” attachment (that
from host under the subnet connected to the downstream interface) to the multicast group (through IGMP member-
ship report messages).
no configuration
set data-link frame-relay serial0/0
feature access-lists
; -- Access Lists user configuration --
access-list 1
entry 1 default
entry 1 permit
entry 1 source address 224.165.15.167 255.255.255.255
exit
exit
;
network ethernet0/0
; -- Ethernet Interface User Configuration --
ip address 10.1.1.2 255.255.255.252
;
ip igmp downstream default
ip igmp downstream access-group 1
;
exit
IGMP Protocol 33
4 Examples Teldat SA
;
network serial0/0
; -- Frame Relay user configuration --
ip address 192.168.1.1 255.255.255.0
;
pvc 20 default
;
ip igmp upstream default
;
point-to-point-line 20
no lmi
exit
;
protocol ip
; -- Internet protocol user configuration --
route 0.0.0.0 0.0.0.0 192.168.1.2
;
proxy-igmp
; -- IGMP proxy user configuration --
enable
exit
;
exit
The way the router communicates with the PIM architecture isn’t through the IGMP as the serial0/0 interfaces has
the PIM protocol enabled. Therefore, the router doesn’t implement the IGMP host feature. The rest of the require-
ments are the same as in the previous example.
The steps to carry out to configure the router for this scenario are shown below:
*config
Config>protocol pim
-- PIM protocol user configuration --
PIM Config>enable
PIM Config>
*config
34 IGMP Protocol
Teldat SA 4 Examples
Config>feature access-lists
-- Access Lists user configuration --
Access Lists config>access-list 1
Once again, the ethernet0/0 interface will act as the router (IGMP querier), executing periodic polls in the LAN (mem-
bership query) to discover those hosts who are interesting in joining or continuing to be joined to the multicast group.
The interface is configured as downstream and the access list is associated to limit the multicast traffic to the
224.165.15.167 group:
Config>network ethernet0/0
IGMP cnfg>list
IGMP cnfg>
ethernet0/0 config>exit
Config>network serial0/0
serial0/0 FR config>
no configuration
set data-link frame-relay serial0/0
feature access-lists
; -- Access Lists user configuration --
access-list 1
entry 1 default
entry 1 permit
entry 1 source address 224.165.15.167 255.255.255.255
exit
IGMP Protocol 35
4 Examples Teldat SA
exit
;
network ethernet0/0
; -- Ethernet Interface User Configuration --
ip address 10.1.1.2 255.255.255.252
;
ip igmp downstream default
ip igmp downstream access-group 1
;
ip pim sparse-mode
;
exit
;
network serial0/0
; -- Frame Relay user configuration --
ip address 192.168.1.1 255.255.255.0
;
pvc 20 default
;
ip pim sparse-mode
;
point-to-point-line 20
no lmi
exit
;
protocol pim
; -- PIM protocol user configuration --
enable
;
exit
;
protocol ip
; -- Internet protocol user configuration --
route 0.0.0.0 0.0.0.0 192.168.1.2
;
exit
36 IGMP Protocol