This document describes the OpenROUTE Networks implementation of the Internet Group Management Protocol (IGMP). It includes the following sections:
Introducing IGMP
Displaying the IGMP Prompts
Configuring IGMP
IGMP Commands
Introducing IGMP
IP multicast lets an IP host send a single datagram that is then delivered to multiple destinations. IP multicast datagrams all have Class D IP addresses as their destination address. Each Class D address defines a multicast group.
IP supports multicast through multicast extensions to OSPF (Open Shortest Path First) and DVMRP (Distance Vector Multicast Routing Protocol).
The Internet Group Management Protocol (IGMP) is the MOSPF (Multicast Extension to OSPF) or DVMRP extension that lets an IP host participate in IP multicasting. IGMP lets a router keep track of IP group membership on its local LANs by sending IGMP Host Membership Queries and receiving IGMP Host Membership Reports.
An MOSPF or DVMRP router then distributes information on the location of groups throughout its routing domain. This enables routers to efficiently send a multicast datagram to its multiple destinations.
Displaying the IGMP Prompts
Since you use IGMP with the MOSPF or DVMRP multicast protocols, you access IGMP from either the OSPF or DVMRP prompts.
Displaying the IGMP Prompts from DVMRP
To display the IGMP configuration prompt from the DVMRP prompt,
To display the IGMP monitoring prompt from the DVMRP prompt,Config>protocol dvmrp
DVMRP Config>igmp
Internet Group Management Protocol Configuration
IGMP Config>
+>protocol dvmrp
DVMRP>igmp
Internet Group Management Protocol ConsoleIGMP>
To display the IGMP monitoring prompt from the OSPF monitoring prompt,Config>protocol ospf
Open SPF-Based Routing Protocol configuration console
OSPF Config>igmp
Internet Group Management Protocol Configuration
IGMP Config>
OSPF>igmp
Internet Group Management Protocol Console
IGMP>
Clear-Config [C]
Resets the IGMP configuration to default values.
Example: clear-config
Delete IGMP config entries(Yes or [No]): y
IGMP config memory deleted. IGMP standard default values will be used.
Restarting the router, or doing IGMP>restore, then IGMP>save
will recreate the config records with the default values.
clear-counters
disableSyntax: disable
Interface number [0]?
enable
Interface number [0]?
The effect on group membership is immediate. You do not need to restart the router.
The effect on group membership is temporary. Unless you explicitly save changes you make at the IGMP> prompt, the router does not save them when you restart the router.
The command keeps track of the number of times the router joins a particular group.
join
Group address [0.0.0.0]? 128.185.0.0
The effect on group membership is immediate. You do not need to restart the router.
The effect on group membership is temporary. Unless you explicitly save changes you make at the IGMP> prompt, the router does not save them when you restart the router.
The command does not delete group membership until the number of Leaves executed equals the number of Joins previously executed.
leave
Enter the address to be deleted [0.0.0.0]? 128.185.0.0
list all
General General Leave
Leave Query Query Query
Ifc Enabled Version Processing Interval Attempts Attempts
0 Y 2 Compatible 125 2 2
Group memberships for the router itself:
234.5.5.6
interfaces
Shows the configuration of each IGMP interface. For a description of this display, see list all.
General General Leave
Leave Query Query Query
Ifc Enabled Version Processing Interval Attempts Attempts
0 Y 2 Compatible 125 2 2
Group memberships for the router itself:
234.5.5.6
list all
General General Leave
Leave Query Query Query
Interface Enabled Version Processing Interval Attempts Attempts
1(Eth/0) Y 2 Compatible 125 2 2
Interface Active Querier Querier Entries:
IP Address Interface Up Users IP Address Age In-Use Freed
128.185.36.1 2(Eth/1) Y M 128.185.36.1 0 5 32
Active User Flags: M=MOSPF D=DVMRP
Interface Interface Queries Queries --Queries Rcvd-- Reports
IP Address Name Sent Rcvd Unexp DiffVer Rcvd
128.185.36.1 2(Eth/1) 12775 26611 26611 26611 53112
The remainder of the display shows the actual status of each IGMP interface that is running in the router. The following is a description of these fields.
config
Shows the current IGMP configuration that is saved in the router's configuration memory.
Example: list config
General General Leave
Leave Query Query Query
Interface Enabled Version Processing Interval Attempts Attempts
0(Eth/0) Y 2 Compatible 125 2 2
Interface Active Querier Querier Entries:
IP Address Interface Up Users IP Address Age In-Use Freed
192.168.6.6 0(Eth/0) N M 192.168.6.6 0 2 3
Active User Flags: M=MOSPF D=DVMRP
Interface Interface Queries Queries --Queries Rcvd-- Reports
IP Address Name Sent Rcvd Unexp DiffVer Rcvd
192.168.6.6 0(Eth/0) 12775 26611 26611 26611 53114
mgroups
Local multicast group entries: in-use: 1 freed: 3
Multicast Reported Expire v1 Leave
Group Interface UpTime Last By Time Age Age
224.185.0.0 Internal 565 128.185.3.108 109 109 0
Restore [M]
If you make configuration changes at the IGMP> prompt, this command restores the saved configuration from permanent memory.Note:
This command does not affect the join configuration.
restore
This will overwrite your existing runtime configuration.
Continue? (Yes or [No]): yes
Restore complete
save
This will overwrite your existing saved configuration.
Continue? (Yes or [No]): yes
Save complete
The group membership ageout time is the General Query Interval multiplied by the General Query Attempts, plus 10 extra seconds to ensure enough time to receive a response to the last query.
These default settings cause IGMP to send a General Query every 125 seconds. After sending the second query, if IGMP does not receive a response within 10 seconds, it ages out the multicast group. Example:(125 seconds * 2 attempts) + 10 = 260 seconds
set general-query-attempts
Interface number [0]?
General Query attempts before expiration (2-20) [2]?
Example:
set leave-processing always
Interface number [0]?
set leave-query-attempts
Interface number [0]?
Specific Query attempts before LEAVE expiration (2-20) [2]?
These default settings cause IGMP to send a General Query every 125 seconds. After sending the second query, if IGMP does not receive a response within 10 seconds, it ages out the multicast group. Example:(125 seconds * 2 attempts) + 10 = 260 seconds
set query-interval-general
Interface number [0]?
Query Interval (3-3600) [125]?
set version
Interface number [0]?
Version (1-2) [2]?