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