xref: /dragonfly/usr.sbin/mtest/mtest.8 (revision 86d7f5d3)
1.\"
2.\" $FreeBSD: src/usr.sbin/mtest/mtest.8,v 1.5.2.2 2003/03/11 22:31:29 trhodes Exp $
3.\"
4.Dd December 15, 1996
5.Dt MTEST 8
6.Os
7.Sh NAME
8.Nm mtest
9.Nd test multicast membership socket operations and ioctls
10.Sh SYNOPSIS
11.Nm
12.Sh DESCRIPTION
13The
14.Nm
15utility
16is a small program for testing the multicast membership socket operations
17and ioctls.  It accepts the following commands, interactively:
18.Bl -tag -width "a ifname e.e.e.e.e.e" -compact -offset indent
19.It Ic j Ar g.g.g.g Ar i.i.i.i
20Join the IP group address
21.Ar g.g.g.g
22on the interface with address
23.Ar i.i.i.i .
24.Ar i.i.i.i
25may be specified as 0.0.0.0 to use the default interface.
26.It Ic l Ar g.g.g.g Ar i.i.i.i
27Leave the IP group address
28.Ar g.g.g.g
29on the interface with address
30.Ar i.i.i.i .
31.It Ic a Ar ifname Ar e.e.e.e.e.e
32Join the Ethernet group address
33.Ar e.e.e.e.e.e
34on interface
35.Ar ifname .
36.It Ic d Ar ifname Ar e.e.e.e.e.e
37Leave the Ethernet group address
38.Ar e.e.e.e.e.e
39on interface
40.Ar ifname .
41.It Ic m Ar ifname Ar 1/0
42Set or reset ALLMULTI mode on interface
43.Ar ifname .
44.It Ic p Ar ifname Ar 1/0
45Set or reset promiscuous mode on interface
46.Ar ifname .
47.It Ic ?\&
48List legal commands.
49.It Ic q
50Quit the program.
51.El
52.\" .Sh SEE ALSO
53.Sh AUTHORS
54.An Steve Deering
55.Sh BUGS
56The command parser is not very flexible.
57