11048e675SBruce M Simpson.\" $KAME: ifmcstat.8,v 1.6 2002/10/31 04:23:43 suz Exp $ 233841545SHajimu UMEMOTO.\" 333841545SHajimu UMEMOTO.\" Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project. 433841545SHajimu UMEMOTO.\" All rights reserved. 57d56d374SYoshinobu Inoue.\" 67d56d374SYoshinobu Inoue.\" Redistribution and use in source and binary forms, with or without 733841545SHajimu UMEMOTO.\" modification, are permitted provided that the following conditions 833841545SHajimu UMEMOTO.\" are met: 933841545SHajimu UMEMOTO.\" 1. Redistributions of source code must retain the above copyright 1033841545SHajimu UMEMOTO.\" notice, this list of conditions and the following disclaimer. 1133841545SHajimu UMEMOTO.\" 2. Redistributions in binary form must reproduce the above copyright 1233841545SHajimu UMEMOTO.\" notice, this list of conditions and the following disclaimer in the 1333841545SHajimu UMEMOTO.\" documentation and/or other materials provided with the distribution. 1433841545SHajimu UMEMOTO.\" 3. Neither the name of the project nor the names of its contributors 1533841545SHajimu UMEMOTO.\" may be used to endorse or promote products derived from this software 1633841545SHajimu UMEMOTO.\" without specific prior written permission. 1733841545SHajimu UMEMOTO.\" 1833841545SHajimu UMEMOTO.\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND 1933841545SHajimu UMEMOTO.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2033841545SHajimu UMEMOTO.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2133841545SHajimu UMEMOTO.\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE 2233841545SHajimu UMEMOTO.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2333841545SHajimu UMEMOTO.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2433841545SHajimu UMEMOTO.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2533841545SHajimu UMEMOTO.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2633841545SHajimu UMEMOTO.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2733841545SHajimu UMEMOTO.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2833841545SHajimu UMEMOTO.\" SUCH DAMAGE. 297d56d374SYoshinobu Inoue.\" 307d56d374SYoshinobu Inoue.\" $FreeBSD$ 317d56d374SYoshinobu Inoue.\" 3260dd8da7SBruce M Simpson.Dd April 10, 2007 337d56d374SYoshinobu Inoue.Dt IFMCSTAT 8 341a484a79SRuslan Ermilov.Os 357d56d374SYoshinobu Inoue.Sh NAME 367d56d374SYoshinobu Inoue.Nm ifmcstat 377d56d374SYoshinobu Inoue.Nd dump multicast group management statistics per interface 387d56d374SYoshinobu Inoue.Sh SYNOPSIS 397d56d374SYoshinobu Inoue.Nm 401048e675SBruce M Simpson.Op Fl i Ar interface 411048e675SBruce M Simpson.Op Fl f Ar address-family 42aa727a55SBruce M Simpson.Op Fl M Ar core 43aa727a55SBruce M Simpson.Op Fl N Ar system 441048e675SBruce M Simpson.Nm 451048e675SBruce M Simpson.Op Ar kernel 461048e675SBruce M Simpson.\" 477d56d374SYoshinobu Inoue.Sh DESCRIPTION 487d56d374SYoshinobu InoueThe 4929f225a7SAlexey Zelkin.Nm 501048e675SBruce M Simpsoncommand dumps multicast group information from the kernel. 517d56d374SYoshinobu Inoue.Pp 521048e675SBruce M SimpsonThe following options are supported: 531048e675SBruce M Simpson.Bl -tag -width Fl 541048e675SBruce M Simpson.It Fl i Ar interface 551048e675SBruce M Simpsonspecifies the interface to be displayed. 561a484a79SRuslan Ermilov.Pp 571048e675SBruce M Simpson.It Fl f Ar address-family 581048e675SBruce M Simpsonspecifies the address-family to be displayed; currently only 591048e675SBruce M Simpson.Ar inet 601048e675SBruce M Simpsonand 611048e675SBruce M Simpson.Ar inet6 621048e675SBruce M Simpsonare supported. 6360dd8da7SBruce M Simpson.El 6460dd8da7SBruce M Simpson.Pp 6560dd8da7SBruce M SimpsonThe following options are only available if 6660dd8da7SBruce M Simpson.Nm 6760dd8da7SBruce M Simpsonhas been built with support for 6860dd8da7SBruce M Simpson.Xr kvm 3 . 6960dd8da7SBruce M Simpson.Bl -tag -width Fl 70aa727a55SBruce M Simpson.It Fl M Ar core 71aa727a55SBruce M Simpsonextracts values associated with the name list from the specified core, 72aa727a55SBruce M Simpsoninstead of the default 73aa727a55SBruce M Simpson.Pa /dev/kmem . 74aa727a55SBruce M Simpson.It Fl N Ar system 751048e675SBruce M Simpsonextracts the name list from the specified kernel instead of the 761048e675SBruce M Simpsondefault, which is the kernel image the system has booted from. 77aa727a55SBruce M Simpson.It Nm Ar system 781048e675SBruce M SimpsonThis is the same as specifying 791048e675SBruce M Simpson.Nm 80aa727a55SBruce M Simpson.Fl N Ar system . 811048e675SBruce M SimpsonThis usage is deprecated; it is supported only for backwards compatibility. 8260dd8da7SBruce M Simpson.Sh IMPLEMENTATION NOTES 8360dd8da7SBruce M SimpsonWhen built without 8460dd8da7SBruce M Simpson.Xr kvm 3 8560dd8da7SBruce M Simpsonsupport, the information displayed by 8660dd8da7SBruce M Simpson.Nm 8760dd8da7SBruce M Simpsonis more limited. 8860dd8da7SBruce M SimpsonThis support is recommended for debugging purposes. 8960dd8da7SBruce M SimpsonIt requires superuser privilege if used to inspect a running kernel. 9060dd8da7SBruce M Simpson.Pp 9160dd8da7SBruce M SimpsonWhen run without using 9260dd8da7SBruce M Simpson.Xr kvm 3 9360dd8da7SBruce M Simpsonsupport, 9460dd8da7SBruce M Simpson.Nm 9560dd8da7SBruce M Simpsonmay print multicast MAC addresses twice if they are 9660dd8da7SBruce M Simpsonreferenced by a layer 3 protocol. 9760dd8da7SBruce M Simpson.Pp 9860dd8da7SBruce M SimpsonWhen run with 9960dd8da7SBruce M Simpson.Xr kvm 3 10060dd8da7SBruce M Simpsonsupport, 10160dd8da7SBruce M Simpsonthe names of all interfaces configured in the system will be 10260dd8da7SBruce M Simpsonprinted in the first column of output, even if no multicast 10360dd8da7SBruce M Simpsonaddresses are configured on those interfaces. 10460dd8da7SBruce M Simpson.Sh SEE ALSO 10560dd8da7SBruce M Simpson.Xr getifaddrs 3 , 10660dd8da7SBruce M Simpson.Xr getifmaddrs 3 , 10760dd8da7SBruce M Simpson.Xr kvm 3 , 10860dd8da7SBruce M Simpson.Xr netstat 8 1091048e675SBruce M Simpson.Sh BUGS 1101048e675SBruce M Simpson.Nm 11160dd8da7SBruce M Simpsondoes not support the 11260dd8da7SBruce M Simpson.Ar link 11360dd8da7SBruce M Simpsonargument to the 11460dd8da7SBruce M Simpson.Ar address-family 11560dd8da7SBruce M Simpsonoption. 116