Example 3a: HP ProCurve 2626 (H.08.53) snooping IGMP v2 with one receiver, fast leave set, igmp delayed-flush 100

Unlike with HP's v3 support, v2 fast leave mostly works correctly. As with v3, IGMP queries about groups that have no switch ports joined to them to get leaked out to all ports on the switch, along with the group's accompanying data packets, since in v2 the control messages and data are sent to the same multicast group address.

The switch

The switch under test is an HP 2626 ProCurve running version H.08.53 with IGMP snooping enabled:
; J4900A Configuration Editor; Created on release #H.08.53

hostname "HP ProCurve Switch 2626" 
cdp run 
ip default-gateway 128.59.7.1 
snmp-server community "public" Unrestricted 
vlan 1 
   name "DEFAULT_VLAN" 
   untagged 1-26 
   ip address 128.59.7.254 255.255.255.0 
   ip igmp fastleave 1-26 
   exit 
igmp delayed-flush 100
password manager

The traces

Raw tcpdump traces are here:

host 10
host 11
host 12
host 13
switch console log
router console log

Following are summaries of the traces and switch and router IGMP CLI output merged in chronological order:
Initial state
switch
HP ProCurve Switch 2626# sho ip igmp group 224.5.6.7

 IGMP ports for group 224.5.6.7

  No records found.
router
wat-edge-1#sho ip igmp group fa7/37
IGMP Connected Group Membership
Group Address    Interface                Uptime    Expires   Last Reporter
Host 10 joins group. Membership report is sent up to switch and passed through unmodified to router, but is supressed out other switch ports (so hosts 11 and 12 don't hear it).
host 10
No.     Time        Source                Destination           Protocol Info
      3 81.822325   128.59.7.10           224.5.6.7             IGMP     V2 Membership Report

Frame 3 (46 bytes on wire, 46 bytes captured)
Ethernet II, Src: 00:00:86:51:bd:b2, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.7.10 (128.59.7.10), Dst Addr: 224.5.6.7 (224.5.6.7)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Report (0x16)
    Max Response Time: 0.0 sec (0x00)
    Header checksum: 0x03f3 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)
host 13
No.     Time        Source                Destination           Protocol Info
      3 81.912569   128.59.7.10           224.5.6.7             IGMP     V2 Membership Report

Frame 3 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:00:86:51:bd:b2, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.7.10 (128.59.7.10), Dst Addr: 224.5.6.7 (224.5.6.7)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Report (0x16)
    Max Response Time: 0.0 sec (0x00)
    Header checksum: 0x03f3 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)
host 11 nothing
host 12 nothing
Data starts to flow. Host 13 sees it come down from router which passes through to host 10 only, as it should.
host 13
No.     Time        Source                Destination           Protocol Info
      4 82.214468   128.59.39.150         224.5.6.7             UDP      Source port: 34689  Destination port: 8910

Frame 4 (1512 bytes on wire, 1500 bytes captured)
Ethernet II, Src: 00:08:7c:d0:08:40, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.39.150 (128.59.39.150), Dst Addr: 224.5.6.7 (224.5.6.7)
User Datagram Protocol, Src Port: 34689 (34689), Dst Port: 8910 (8910)
Data (1458 bytes)
host 10
No.     Time        Source                Destination           Protocol Info
      4 82.129190   128.59.39.150         224.5.6.7             UDP      Source port: 34689  Destination port: 8910

Frame 4 (1512 bytes on wire, 1500 bytes captured)
Ethernet II, Src: 00:08:7c:d0:08:40, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.39.150 (128.59.39.150), Dst Addr: 224.5.6.7 (224.5.6.7)
User Datagram Protocol, Src Port: 34689 (34689), Dst Port: 8910 (8910)
Data (1458 bytes)
host 11 nothing
host 12 nothing
switch
HP ProCurve Switch 2626# sho ip igmp group 224.5.6.7

 IGMP ports for group 224.5.6.7

  Port Type      Access      Age Timer Leave Timer
  ---- --------- ----------- --------- -----------
  1              router      0         0          
  3              host        0         0          
router
wat-edge-1#sho ip igmp group fa7/37
IGMP Connected Group Membership
Group Address    Interface                Uptime    Expires   Last Reporter
224.5.6.7        FastEthernet7/37         00:02:01  00:02:40  128.59.7.10
Data keeps flowing and the router sends out a routine general membership query every 60 seconds which is flooded out all switch ports. Host 10 also sends periodic unsolicited membership reports, which are suppressed and are not sent up to the router; Only responses to general membership queries are sent through to the router.
host 13
No.     Time        Source                Destination           Protocol Info
     43 120.851905  128.59.7.1            224.0.0.1             IGMP     V2 Membership Query

Frame 43 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:00:00:01
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.0.0.1 (224.0.0.1)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 10.0 sec (0x64)
    Header checksum: 0xee9b (correct)
    Multicast Address: 0.0.0.0 (0.0.0.0)
host 10
No.     Time        Source                Destination           Protocol Info
     11 88.573246   128.59.7.10           224.5.6.7             IGMP     V2 Membership Report

Frame 11 (46 bytes on wire, 46 bytes captured)
Ethernet II, Src: 00:00:86:51:bd:b2, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.7.10 (128.59.7.10), Dst Addr: 224.5.6.7 (224.5.6.7)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Report (0x16)
    Max Response Time: 0.0 sec (0x00)
    Header checksum: 0x03f3 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)

No.     Time        Source                Destination           Protocol Info
     16 92.503673   128.59.7.10           224.5.6.7             IGMP     V2 Membership Report

Frame 16 (46 bytes on wire, 46 bytes captured)
Ethernet II, Src: 00:00:86:51:bd:b2, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.7.10 (128.59.7.10), Dst Addr: 224.5.6.7 (224.5.6.7)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Report (0x16)
    Max Response Time: 0.0 sec (0x00)
    Header checksum: 0x03f3 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)

No.     Time        Source                Destination           Protocol Info
     45 120.766945  128.59.7.1            224.0.0.1             IGMP     V2 Membership Query

Frame 45 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:00:00:01
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.0.0.1 (224.0.0.1)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 10.0 sec (0x64)
    Header checksum: 0xee9b (correct)
    Multicast Address: 0.0.0.0 (0.0.0.0)

No.     Time        Source                Destination           Protocol Info
     46 120.986359  128.59.7.10           224.5.6.7             IGMP     V2 Membership Report

Frame 46 (46 bytes on wire, 46 bytes captured)
Ethernet II, Src: 00:00:86:51:bd:b2, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.7.10 (128.59.7.10), Dst Addr: 224.5.6.7 (224.5.6.7)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Report (0x16)
    Max Response Time: 0.0 sec (0x00)
    Header checksum: 0x03f3 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)

host 11
No.     Time        Source                Destination           Protocol Info
      3 120.840664  128.59.7.1            224.0.0.1             IGMP     V2 Membership Query

Frame 3 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:00:00:01
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.0.0.1 (224.0.0.1)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 10.0 sec (0x64)
    Header checksum: 0xee9b (correct)
    Multicast Address: 0.0.0.0 (0.0.0.0)

No.     Time        Source                Destination           Protocol Info
      4 181.238070  128.59.7.1            224.0.0.1             IGMP     V2 Membership Query

Frame 4 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:00:00:01
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.0.0.1 (224.0.0.1)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 10.0 sec (0x64)
    Header checksum: 0xee9b (correct)
    Multicast Address: 0.0.0.0 (0.0.0.0)
host 12
No.     Time        Source                Destination           Protocol Info
      3 120.858489  128.59.7.1            224.0.0.1             IGMP     V2 Membership Query

Frame 3 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:00:00:01
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.0.0.1 (224.0.0.1)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 10.0 sec (0x64)
    Header checksum: 0xee9b (correct)
    Multicast Address: 0.0.0.0 (0.0.0.0)

No.     Time        Source                Destination           Protocol Info
      4 181.258122  128.59.7.1            224.0.0.1             IGMP     V2 Membership Query

Frame 4 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:00:00:01
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.0.0.1 (224.0.0.1)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 10.0 sec (0x64)
    Header checksum: 0xee9b (correct)
    Multicast Address: 0.0.0.0 (0.0.0.0)
Host 10 leaves group, sends a leave, which is passed along to the router.
host 10
No.     Time        Source                Destination           Protocol Info
    138 209.607023  128.59.7.10           224.0.0.2             IGMP     V2 Leave Group

Frame 138 (46 bytes on wire, 46 bytes captured)
Ethernet II, Src: 00:00:86:51:bd:b2, Dst: 01:00:5e:00:00:02
Internet Protocol, Src Addr: 128.59.7.10 (128.59.7.10), Dst Addr: 224.0.0.2 (224.0.0.2)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Leave Group (0x17)
    Max Response Time: 0.0 sec (0x00)
    Header checksum: 0x02f3 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)
host 11 nothing
host 12 nothing
host 13
No.     Time        Source                Destination           Protocol Info
    136 209.693266  128.59.7.10           224.0.0.2             IGMP     V2 Leave Group

Frame 136 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:00:86:51:bd:b2, Dst: 01:00:5e:00:00:02
Internet Protocol, Src Addr: 128.59.7.10 (128.59.7.10), Dst Addr: 224.0.0.2 (224.0.0.2)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Leave Group (0x17)
    Max Response Time: 0.0 sec (0x00)
    Header checksum: 0x02f3 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)
In response to the host leave, the router sends two closely-spaced group-specifc queries which the switch forwards to all ports, along with a few data packets since once the switch starts bridging traffic for a given multicast Ethernet address, it doesn't distinguish between IGMP protocol messages and data. After the second group-specific query gets no response within the specified one-second interval, traffic to the group is pruned.
host 13
No.     Time        Source                Destination           Protocol Info
    137 209.693757  128.59.7.1            224.5.6.7             IGMP     V2 Membership Query

Frame 137 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.5.6.7 (224.5.6.7)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 1.0 sec (0x0a)
    Header checksum: 0x08e9 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)

No.     Time        Source                Destination           Protocol Info
    138 210.214753  128.59.39.150         224.5.6.7             UDP      Source port: 34689  Destination port: 8910

Frame 138 (1512 bytes on wire, 1500 bytes captured)
Ethernet II, Src: 00:08:7c:d0:08:40, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.39.150 (128.59.39.150), Dst Addr: 224.5.6.7 (224.5.6.7)
User Datagram Protocol, Src Port: 34689 (34689), Dst Port: 8910 (8910)
Data (1458 bytes)
No.     Time        Source                Destination           Protocol Info
    140 211.259886  128.59.7.1            224.5.6.7             IGMP     V2 Membership Query

Frame 140 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.5.6.7 (224.5.6.7)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 1.0 sec (0x0a)
    Header checksum: 0x08e9 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)

No.     Time        Source                Destination           Protocol Info
    141 212.214356  128.59.39.150         224.5.6.7             UDP      Source port: 34689  Destination port: 8910

Frame 141 (1512 bytes on wire, 1500 bytes captured)
Ethernet II, Src: 00:08:7c:d0:08:40, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.39.150 (128.59.39.150), Dst Addr: 224.5.6.7 (224.5.6.7)
User Datagram Protocol, Src Port: 34689 (34689), Dst Port: 8910 (8910)
Data (1458 bytes)
host 10
No.     Time        Source                Destination           Protocol Info
    139 209.608678  128.59.7.1            224.5.6.7             IGMP     V2 Membership Query

Frame 139 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.5.6.7 (224.5.6.7)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 1.0 sec (0x0a)
    Header checksum: 0x08e9 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)

No.     Time        Source                Destination           Protocol Info
    140 210.129487  128.59.39.150         224.5.6.7             UDP      Source port: 34689  Destination port: 8910

Frame 140 (1512 bytes on wire, 1500 bytes captured)
Ethernet II, Src: 00:08:7c:d0:08:40, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.39.150 (128.59.39.150), Dst Addr: 224.5.6.7 (224.5.6.7)
User Datagram Protocol, Src Port: 34689 (34689), Dst Port: 8910 (8910)
Data (1458 bytes)

No.     Time        Source                Destination           Protocol Info
    141 211.129131  128.59.39.150         224.5.6.7             UDP      Source port: 34689  Destination port: 8910

Frame 141 (1512 bytes on wire, 1500 bytes captured)
Ethernet II, Src: 00:08:7c:d0:08:40, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.39.150 (128.59.39.150), Dst Addr: 224.5.6.7 (224.5.6.7)
User Datagram Protocol, Src Port: 34689 (34689), Dst Port: 8910 (8910)
Data (1458 bytes)

No.     Time        Source                Destination           Protocol Info
    142 211.175124  128.59.7.1            224.5.6.7             IGMP     V2 Membership Query

Frame 142 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.5.6.7 (224.5.6.7)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 1.0 sec (0x0a)
    Header checksum: 0x08e9 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)

No.     Time        Source                Destination           Protocol Info
    143 212.129135  128.59.39.150         224.5.6.7             UDP      Source port: 34689  Destination port: 8910

Frame 143 (1512 bytes on wire, 1500 bytes captured)
Ethernet II, Src: 00:08:7c:d0:08:40, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.39.150 (128.59.39.150), Dst Addr: 224.5.6.7 (224.5.6.7)
User Datagram Protocol, Src Port: 34689 (34689), Dst Port: 8910 (8910)
Data (1458 bytes)
host 11
No.     Time        Source                Destination           Protocol Info
      5 209.683730  128.59.7.1            224.5.6.7             IGMP     V2 Membership Query

Frame 5 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.5.6.7 (224.5.6.7)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 1.0 sec (0x0a)
    Header checksum: 0x08e9 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)

No.     Time        Source                Destination           Protocol Info
      6 210.204488  128.59.39.150         224.5.6.7             UDP      Source port: 34689  Destination port: 8910

Frame 6 (1512 bytes on wire, 1500 bytes captured)
Ethernet II, Src: 00:08:7c:d0:08:40, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.39.150 (128.59.39.150), Dst Addr: 224.5.6.7 (224.5.6.7)
User Datagram Protocol, Src Port: 34689 (34689), Dst Port: 8910 (8910)
Data (1458 bytes)

No.     Time        Source                Destination           Protocol Info
      7 211.204146  128.59.39.150         224.5.6.7             UDP      Source port: 34689  Destination port: 8910

Frame 7 (1512 bytes on wire, 1500 bytes captured)
Ethernet II, Src: 00:08:7c:d0:08:40, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.39.150 (128.59.39.150), Dst Addr: 224.5.6.7 (224.5.6.7)
User Datagram Protocol, Src Port: 34689 (34689), Dst Port: 8910 (8910)
Data (1458 bytes)

No.     Time        Source                Destination           Protocol Info
      8 211.250134  128.59.7.1            224.5.6.7             IGMP     V2 Membership Query

Frame 8 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:d0:03:66:80:0a, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.7.1 (128.59.7.1), Dst Addr: 224.5.6.7 (224.5.6.7)
Internet Group Management Protocol
    IGMP Version: 2
    Type: Membership Query (0x11)
    Max Response Time: 1.0 sec (0x0a)
    Header checksum: 0x08e9 (correct)
    Multicast Address: 224.5.6.7 (224.5.6.7)

No.     Time        Source                Destination           Protocol Info
      9 212.204125  128.59.39.150         224.5.6.7             UDP      Source port: 34689  Destination port: 8910

Frame 9 (1512 bytes on wire, 1500 bytes captured)
Ethernet II, Src: 00:08:7c:d0:08:40, Dst: 01:00:5e:05:06:07
Internet Protocol, Src Addr: 128.59.39.150 (128.59.39.150), Dst Addr: 224.5.6.7 (224.5.6.7)
User Datagram Protocol, Src Port: 34689 (34689), Dst Port: 8910 (8910)
Data (1458 bytes)

host 12 Same as host 11.
switch
HP ProCurve Switch 2626# # leave
Invalid input: #
HP ProCurve Switch 2626# sho ip igmp group 224.5.6.7

 IGMP ports for group 224.5.6.7

  No records found.
router
wat-edge-1## leave
wat-edge-1#sho ip igmp group fa7/37
IGMP Connected Group Membership
Group Address    Interface                Uptime    Expires   Last Reporter