David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							acddc0ed3c 
							
						 
					 
					
						
						
							
							*: auto-convert to SPDX License IDs  
						
						 
						
						... 
						
						
						
						Done with a combination of regex'ing and banging my head against a wall.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> 
						
					 
					
						2023-02-09 14:09:11 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							3e5d8665f6 
							
						 
					 
					
						
						
							
							pimd: Add additional IGMP stats (peak number of groups)  
						
						 
						
						... 
						
						
						
						```
exit1-debian-11# sh ip igmp statistics interface eth2
IGMP statistics
Interface            : eth2
V1 query             : 0
V2 query             : 0
V3 query             : 25
V2 leave             : 0
V1 report            : 0
V2 report            : 0
V3 report            : 34
mtrace response      : 0
mtrace request       : 0
unsupported          : 0
joins failed         : 0
joins sent           : 13
general queries sent : 2
group queries sent   : 24
peak groups          : 9
total groups         : 4
total source groups  : 1
exit1-debian-11# sh ip igmp statistics interface eth2 json
{
  "eth2":{
    "name":"eth2",
    "queryV1":0,
    "queryV2":0,
    "queryV3":25,
    "leaveV2":0,
    "reportV1":0,
    "reportV2":0,
    "reportV3":34,
    "mtraceResponse":0,
    "mtraceRequest":0,
    "unsupported":0,
    "peakGroups":9,
    "totalGroups":4,
    "totalSourceGroups":1,
    "joinsFailed":0,
    "joinsSent":13,
    "generalQueriesSent":2,
    "groupQueriesSent":24
  }
}
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> 
						
					 
					
						2022-03-15 14:08:35 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							ca3e7807f6 
							
						 
					 
					
						
						
							
							pimd: Show total received messages IGMP stats  
						
						 
						
						... 
						
						
						
						```
exit1-debian-11# do sh ip igmp statistics
IGMP statistics
Interface               : global
V1 query                : 0
V2 query                : 0
V3 query                : 3
V2 leave                : 0
V1 report               : 0
V2 report               : 0
V3 report               : 18
mtrace response         : 0
mtrace request          : 0
unsupported             : 0
total received messages : 21
joins failed            : 0
joins sent              : 16
general queries sent    : 6
group queries sent      : 3
total groups            : 4
total source groups     : 1
exit1-debian-11# do sh ip igmp statistics json
{
  "global":{
    "name":"global",
    "queryV1":0,
    "queryV2":0,
    "queryV3":4,
    "leaveV2":0,
    "reportV1":0,
    "reportV2":0,
    "reportV3":18,
    "mtraceResponse":0,
    "mtraceRequest":0,
    "unsupported":0,
    "totalReceivedMessage":22,
    "totalGroups":3,
    "totalSourceGroups":1,
    "joinsFailed":0,
    "joinsSent":16,
    "generalQueriesSent":6,
    "groupQueriesSent":4
  }
}
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> 
						
					 
					
						2022-03-14 22:49:23 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							278912eabf 
							
						 
					 
					
						
						
							
							pimd: Add additional IGMP stats (generic/group specific queries sent)  
						
						 
						
						... 
						
						
						
						```
exit1-debian-11# sh ip igmp statistics
IGMP statistics
Interface            : global
V1 query             : 0
V2 query             : 0
V3 query             : 6
V2 leave             : 0
V1 report            : 0
V2 report            : 0
V3 report            : 14
mtrace response      : 0
mtrace request       : 0
unsupported          : 0
joins failed         : 0
joins sent           : 16
general queries sent : 6
group queries sent   : 4
total groups         : 5
total source groups  : 1
exit1-debian-11# sh ip igmp statistics json
{
  "global":{
    "name":"global",
    "queryV1":0,
    "queryV2":0,
    "queryV3":6,
    "leaveV2":0,
    "reportV1":0,
    "reportV2":0,
    "reportV3":18,
    "mtraceResponse":0,
    "mtraceRequest":0,
    "unsupported":0,
    "totalGroups":5,
    "totalSourceGroups":1,
    "joinsFailed":0,
    "joinsSent":16,
    "generalQueriesSent":6,
    "groupQueriesSent":4
  }
}
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> 
						
					 
					
						2022-03-14 10:50:28 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							f2058cb425 
							
						 
					 
					
						
						
							
							pimd: Add IGMP join sent/failed statistics  
						
						 
						
						... 
						
						
						
						```
exit1-debian-11# sh ip igmp statistics
IGMP statistics
Interface           : global
V1 query            : 0
V2 query            : 0
V3 query            : 0
V2 leave            : 0
V1 report           : 0
V2 report           : 0
V3 report           : 16
mtrace response     : 0
mtrace request      : 0
unsupported         : 0
joins failed        : 0
joins sent          : 11
total groups        : 4
total source groups : 0
exit1-debian-11# sh ip igmp statistics json
{
  "global":{
    "name":"global",
    "queryV1":0,
    "queryV2":0,
    "queryV3":0,
    "leaveV3":0,
    "reportV1":0,
    "reportV2":0,
    "reportV3":16,
    "mtraceResponse":0,
    "mtraceRequest":0,
    "unsupported":0,
    "totalGroups":4,
    "totalSourceGroups":0,
    "joinsFailed":0,
    "joinsSent":11
  }
}
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> 
						
					 
					
						2022-03-13 19:31:34 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							1e02f2f9ab 
							
						 
					 
					
						
						
							
							pimd: Add IGMP total groups and total source groups to statistics  
						
						 
						
						... 
						
						
						
						Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> 
						
					 
					
						2022-03-08 19:07:57 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							b45ac5f5c6 
							
						 
					 
					
						
						
							
							*: fix config.h/zebra.h include order  
						
						 
						
						... 
						
						
						
						config.h (or, transitively, zebra.h) must be the first include file
listed for autoconf things like _GNU_SOURCE and _POSIX_C_SOURCE to work
correctly.
Signed-off-by: David Lamparter <equinox@diac24.net> 
						
					 
					
						2018-09-08 21:30:42 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mladen Sablic 
							
						 
					 
					
						
						
						
						
							
						
						
							21313cbfda 
							
						 
					 
					
						
						
							
							pimd: show ip igmp statistics command  
						
						 
						
						... 
						
						
						
						Command showing IGMP Rx statistics, useful for analyzing IGMP
activity on interfaces.
Signed-off-by: Mladen Sablic <mladen.sablic@gmail.com> 
						
					 
					
						2018-05-04 17:05:19 +02:00